OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

Listing The Contents Of A Directory

To list the files and directories in the current working directory, we use the ls command.


[me@linuxbox ~]$ ls

Desktop Documents Music Pictures Public Templates Videos

[me@linuxbox ~]$ ls

Desktop Documents Music Pictures Public Templates Videos

Listing The Contents Of A Directory


Actually, we can use the ls command to list the contents of any directory, not just the current working directory, and there are many other fun things it can do as well. We'll spend more time with ls in the next chapter.


Top OS Cloud Computing at OnWorks: