ODOC: ls

Wednesday, November 09, 2005

ls -- List directory contents

Summary :

List the current directory contents and informations. This is one important command you would be using all the time. It is synonymous with the dir command in DOS.

Examples :
$ ls -- Alphabetically list all files and dir

$ ls -r -- Reverse order

$ 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
Read : man ls

comments links to this post Listen to this article Listen to this article


Post a Comment

Links to this post:

Create a Link

<< Home

Previous Posts

referer referrer referers referrers http_referer

  • Subscribe to Free Software Blog
  • Google
  • Subscribe in Yahoo
  • Subscribe
in Bloglines
  • Link to Podcast

(RSS feed) for this blog
    Computers Blog Top Sites
  • Computers Blogs by Indian Bloggers
  • BLogstreet Profile