This is an old revision of the document!


Basic Commands for New Users

List the Contents of a Directory

To list the contents of a directory, open the terminal and type

ls

ls stands for list.

For more details, use

ls -l

-l stands for long.

To view all files, including hidden files use

ls -a

In Linux, hidden filenames start with a “.”

You can combine -l and -a, like this

ls -al
Print/export
QR Code
QR Code wiki:basic_commands (generated for current page)