View previous topic :: View next topic |
Author |
Message |
Royal Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/18668740674176273fb4279.gif)
Joined: 15 Jun 2004 Posts: 78 Location: Hamburg, Germany
|
Posted: Thu Oct 21, 2004 9:57 am Post subject: Alias in .bashrc (solved) |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Anarcho Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1030393113423afb9086043.jpg)
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Thu Oct 21, 2004 10:06 am Post subject: |
|
|
Versuch mal ein source ~/.bash_profile _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Moorenkopf Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Apr 2004 Posts: 189 Location: NRW
|
Posted: Thu Oct 21, 2004 10:07 am Post subject: |
|
|
Ist die .bashrc in ~?
Wenn ja versuch mal .
SOllte das klappen liegt's an .bash_profile.
greetz Moorenkopf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anarcho Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1030393113423afb9086043.jpg)
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Thu Oct 21, 2004 10:11 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Royal Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/18668740674176273fb4279.gif)
Joined: 15 Jun 2004 Posts: 78 Location: Hamburg, Germany
|
Posted: Thu Oct 21, 2004 12:41 pm Post subject: |
|
|
Danke fuer die Hilfe. Habs jetzt in /etc/profile geschrieben... _________________ A preposition is a bad word to end a sentence with. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|