Aug 2, 2004 #1 MaxEd Technical User Jul 3, 2002 407 US I'm trying to set my .bashrc file to have the following line. I might be doing it wrong. alias rm "rm -i" -Laughter works miracles.
I'm trying to set my .bashrc file to have the following line. I might be doing it wrong. alias rm "rm -i" -Laughter works miracles.
Aug 3, 2004 #2 stefanwagner Programmer Oct 19, 2003 2,373 DE which will work, but only inside your script, as long as you don't source it with: Code: source myScript.sh #or more compact . myScript.sh seeking a job as java-programmer in Berlin: http://home.arcor.de/hirnstrom/bewerbung Upvote 0 Downvote
which will work, but only inside your script, as long as you don't source it with: Code: source myScript.sh #or more compact . myScript.sh seeking a job as java-programmer in Berlin: http://home.arcor.de/hirnstrom/bewerbung
Aug 3, 2004 #3 chipperMDW Programmer Mar 24, 2002 1,268 US Try: Code: alias rm="rm -i" Upvote 0 Downvote
Aug 4, 2004 #4 stefanwagner Programmer Oct 19, 2003 2,373 DE of course... seeking a job as java-programmer in Berlin: http://home.arcor.de/hirnstrom/bewerbung Upvote 0 Downvote
Aug 4, 2004 Thread starter #5 MaxEd Technical User Jul 3, 2002 407 US I've gotten it to work by adding it to the bashrc file. Thanks everyone. Upvote 0 Downvote