bash: ll:command not found

Posted on 2013-09-06 15:12 H2O 阅读(4644) 评论(0)  编辑  收藏
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.

只有注册用户登录后才能发表评论。


网站导航:
 

posts - 0, comments - 21, trackbacks - 0, articles - 101

Copyright © H2O