Hi,

ls -- List directory contents

Summary : 

List the current directory contents and informations.

Examples :

$ ls  -- Alphabetically list all files and Dir 

$ ls --color=always -- Output in color

$ ls -F -- Files are classified with /@|= symbols

$ ls -1 -- Output in single column

$ ls -a -- Display hidden entries starting with .

$ ls -R -- Recursive output

$ ls -Q -- Enclose entry names in double quotes

$ ls -lh -- List file is long format and show size in 
            human readable form like KB, MB, GB, ..

$ ls -m -- List file in comma separated entries.

$ ls -lt -- Sort and show by last modification time.

$ ls -lu -- Sort and show by last access time.

$ ls -rlu -- Show in reverse order.

Read : man ls

        These are my current alias setting:
if [ "X$TERM" = "Xdumb" ]; then
    alias l='ls -asCF'
    alias lt="ls -tasCF "
    alias lu="ls -uasCF "
    alias llx="ls -XasCF "
    alias ll="ls -als "
    alias llt="ls -tals "
    alias llc="ls -cals "
    alias llu="ls -uals "
    alias lls="ls -Sals "
    alias llx="ls -Xals "    
else
    alias l='ls --color=auto -asCF'
    alias lt="ls --color=auto -tasCF "
    alias lu="ls --color=auto -uasCF "
    alias llx="ls --color=auto -XasCF "
    alias ll="ls --color=auto -als "
    alias llt="ls --color=auto -tals "
    alias llc="ls -cals --color=auto "
    alias llu="ls -uals --color=auto "
    alias lls="ls -Sals --color=auto "
    alias llx="ls -Xals --color=auto "
fi

        manoj
-- 
"Why waste negative entropy on comments, when you could use the same
entropy to create bugs instead?"-- Steve Elias
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/~srivasta/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to