LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bash: ll: command not found (https://www.linuxquestions.org/questions/linux-newbie-8/bash-ll-command-not-found-80034/)

x2000koh 08-07-2003 10:44 PM

bash: ll: command not found
 
Hi Linux user,
at my console, I can type ls -l to view the files and directories listing. But when I type ll it appear the following message :

bash: ll:command not found

appreciate anyone can help. By the way, I am using debian 3

regards,
x2000koh

DrOzz 08-07-2003 11:23 PM

if you were reading a tips and tricks page about alias' and you are figuring that when people use the ll command that it does the same as ls -l without doing anything well then thats where you got tricked :D
you have to make an alias for "ll" if you want to use it as a command as it doesn't pre-exist...
so you could edit your .bashrc file in your home directory and type:
alias ll='ls -l'
and then when you type ll you will see the same output as ls -l.

slakmagik 08-07-2003 11:42 PM

--Never mind. Forgot to refresh the page (as I often do) so missed DrOzz' reply.


Why would you type 'll'? I mean, it's saying command not found, because it's not a command (that I know of). Do you mean you have aliased 'ls -l' to 'll'? Then it could be saying that because bash isn't sourcing the file where you made the change in certain contexts. Otherwise, 'ls' is what you want.

Or am I completely missing something?

acid_kewpie 08-08-2003 05:11 AM

well it's a pretty common alias that many distros set as a default. run "alias"... maybe you're set for it already...


All times are GMT -5. The time now is 08:54 AM.