Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alias in .bashrc (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Royal
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2004
Posts: 78
Location: Hamburg, Germany

PostPosted: Thu Oct 21, 2004 9:57 am    Post subject: Alias in .bashrc (solved) Reply with quote

Tach

Ich habe unter Redhat einen Alias in /root/.bashrc gehabt.
Code:

alias managecvsuser='bash /root/shellscripts/managecvsuser.tc'


Das hab ich jetzt auch getan. /etc/skel/.bashrc/.bash_profile in /root kopiert und source /etc/profile, env-update laufen lassen.
Ich kann jetzt leider immer noch nicht 'managecvsuser' in der bash nutzen...
Ist der Alias richtig gesetzt?

Thorsten
_________________
A preposition is a bad word to end a sentence with.


Last edited by Royal on Thu Oct 21, 2004 12:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Thu Oct 21, 2004 10:06 am    Post subject: Reply with quote

Versuch mal ein source ~/.bash_profile
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
Moorenkopf
Apprentice
Apprentice


Joined: 18 Apr 2004
Posts: 189
Location: NRW

PostPosted: Thu Oct 21, 2004 10:07 am    Post subject: Reply with quote

Ist die .bashrc in ~?
Wenn ja versuch mal
Code:
. .bashrc
.
SOllte das klappen liegt's an .bash_profile.
greetz Moorenkopf
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Thu Oct 21, 2004 10:11 am    Post subject: Reply with quote

In welche Datei hast du es denn nun eingetragen?

In die .bash_profile oder .bashrc ???

Jedenfalls solltest du diese dann mit source aufrufen. Wenn du es in die .bashrc eingetragen hast, dann sollte in der .bash_profile ein eintrag mit der .bashrc sourced drin stehen, meist mit test ob die datei vorhanden ist.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
Royal
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2004
Posts: 78
Location: Hamburg, Germany

PostPosted: Thu Oct 21, 2004 12:41 pm    Post subject: Reply with quote

Danke fuer die Hilfe. Habs jetzt in /etc/profile geschrieben...
_________________
A preposition is a bad word to end a sentence with.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum