Sep 24, 2003 #1 farley99 MIS Feb 12, 2003 413 US In .bashrc I have.. alias ll='ls -alh' but when I type ll ny:~$ ll -sh: ll: command not found It doesnt work, got any tips?
In .bashrc I have.. alias ll='ls -alh' but when I type ll ny:~$ ll -sh: ll: command not found It doesnt work, got any tips?
Sep 24, 2003 #2 vgersh99 Programmer Jul 27, 2000 2,146 US did you 'source' your .bashrc PRIOR to executing a new alias? vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
did you 'source' your .bashrc PRIOR to executing a new alias? vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+
Sep 24, 2003 1 #3 Annihilannic MIS Jun 22, 2000 6,317 AU It sounds like you are running Bourne shell judging by the "-sh" in the error message. Bourne shell does not use .bashrc. You probably just need to have your default shell changed to /bin/bash. Annihilannic. Upvote 0 Downvote
It sounds like you are running Bourne shell judging by the "-sh" in the error message. Bourne shell does not use .bashrc. You probably just need to have your default shell changed to /bin/bash. Annihilannic.
Sep 24, 2003 Thread starter #4 farley99 MIS Feb 12, 2003 413 US Whats the easiest way to set /bin/bash as my shell in .profile? Upvote 0 Downvote
Sep 24, 2003 1 #5 PHV MIS Nov 8, 2002 53,708 FR Amend your /etc/passwd file. The last field is the login shell. Hope This Help PH. Upvote 0 Downvote
Sep 25, 2003 #6 Annihilannic MIS Jun 22, 2000 6,317 AU Or usermod -s /bin/bash userid. Annihilannic. Upvote 0 Downvote