bash: ll:command not found

08-07-2003, 10:44 PM  #1
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Rep:
bash: ll: command not found

[ Log in to get rid of this advertisement]
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
   
08-07-2003, 11:23 PM  #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep:
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
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.

你可能感兴趣的:(bash: ll:command not found)