The only problem I have with using ls is that I tend to try and use it when I happen to be on a Windows machine ;-)
Jim Peterson Technology Coordinator Goodnight Memorial Library 203 S. Main St. Franklin, KY 42134 (270) 586-8397 Manoj Srivastava wrote: > 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 > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
