VnTutor

Daily Tips, Tutorials on Ubuntu, Open Source, Programming

Linux commands for beginners: List information about files and directories

Posted by vntutor on June 17, 2007

Now that you know how to move from a working directory to another or to move around the filesystem of your Ubuntu Linux by using cd command. Today, we are going to learn how to list information about files and directories. To do this, we will learn a new command named ls which stands for list.

ls

This is the basic “ls” command, with no options. It provides a very basic listing of the files in your current working directory. Filenames beginning with a decimal are considered hidden files, and they are not shown.

ls -a

The -a option tells the ls command to report information about all files, including hidden files.

Read more!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>