Learn about Linux :)

Tux penguin

Linus Torvalds quotes

In real open source, you have the right to control your own destiny.

Commands

Basic commands

  1. pwd — When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the “pwd” command. It gives us the absolute path, which means the path that starts from the root.

  2. ls — Use the "Is" command to know what files are in the directory you are in. You can see all the hidden files by using the command “ls -a”.

  3. cd — Use the "cd" command to go to a directory. For example, if you are in the home folder, and you want to go to the downloads folder, then you can type in “cd Downloads”.

  4. mkdir & rmdir — Use the mkdir command when you need to create a folder or a directory. For example, if you want to make a directory called “DIY”, then you can type “mkdir DIY”.

  5. rm — Use the rm command to delete files and directories. But rm cannot simply delete a directory. Use “rm -r” to delete a directory.

  6. touch — The touch command is used to create a file.

  7. man & --help — To know more about a command and how to use it, use the man command. It shows the manual pages of the command.