LinuxMint14ってllコマンド無いんだ・・・。
lsは普通に問題無し。まぁ、無いわけないだろうけどw
$ls Desktop Downloads Pictures Templates perl5 Documents Music Public Videos src
llはコマンド無し
$ll ll: command not found
llコマンドっていうのは、ls -lと同義
$ls -l total 40 drwxr-xr-x 2 tom tom 4096 1月 7 18:32 Desktop drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Documents drwxr-xr-x 2 tom tom 4096 1月 6 15:09 Downloads drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Music drwxr-xr-x 2 tom tom 4096 12月 24 14:42 Pictures drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Public drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Templates drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Videos drwxr-xr-x 4 tom tom 4096 1月 6 15:36 perl5 drwxr-xr-x 4 tom tom 4096 1月 6 15:09 src
llコマンドは、ls -lの置き換えつまりaliasなんだね。aliasコマンドで設定されているaliasを見ることが出来る。
$alias alias grep='grep --colour=auto' alias ls='ls --color=auto'
以下のようにコマンドを打てばaliasを設定出来る。
$alias ll='ls -l'
一応動作確認
$ll total 40 drwxr-xr-x 2 tom tom 4096 1月 7 18:32 Desktop drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Documents drwxr-xr-x 2 tom tom 4096 1月 6 15:09 Downloads drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Music drwxr-xr-x 2 tom tom 4096 12月 24 14:42 Pictures drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Public drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Templates drwxr-xr-x 2 tom tom 4096 12月 22 00:36 Videos drwxr-xr-x 4 tom tom 4096 1月 6 15:36 perl5 drwxr-xr-x 4 tom tom 4096 1月 6 15:09 src $alias alias grep='grep --colour=auto' alias ll='ls -l' alias ls='ls --color=auto'
コメント