Linux commands

Whether I’m working in the terminal on a mac or on a Linux web server, here are my most used Linux commands:

ls -la

ls is used to list files and directories. The options I use most often with this command are -la.

-l
is used to show further information about the files / directories. It is the long listing format and shows file permissions, owner information, file size and time of last modification.

-a
hidden files and folders are not included by default. -a makes sure they are also shown.

 

pwd

Stands for “print working directory”. This command outputs your current location in the file system.

 

cd

Useful key combinations:

shift + a
shift + e

Leave a Reply

Your email address will not be published. Required fields are marked *