bash: ll:command not found

来源:互联网 发布:最好的看书软件 编辑:程序博客网 时间:2024/06/05 11:11
Old08-07-2003, 10:44 PM #1
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Rep: Reputation: 15
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
  
Old08-07-2003, 11:23 PM #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
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.
原创粉丝点击