Foreword
Like I stated in the excerpt - working with the command line is fun. But there is no fun without basics. For better readability, I organized commands into logical areas. I will try to add new commands - so please came back from time to time.
I will try to describe commands in such an order that you will be able to execute them one after the other. Command explanations and additional info will be in the comments.
This tutorial is mostly dedicated to beginners. It is why I must explain few things:
- Comments are from
#
till the end of a line; Please do not execute them. - Directory and folder mean the same. A folder is a language construct forced by Microsoft.
Some of the commands are quite risky! Please double-check typing before execution. You have been warned - I don't take responsibility for any damages!
OK - let's start typing commands :)
File system operations
Warning: NEVER DO THIS: rm- rf /
System-related
Package manager
Like usually for Debian only ;). sudo
allows to call a command with elevated permissions - usually root users permissions.
Files and directories permissions
Before we start some preparations are needed:
Now you are ready to play:
Type safely and logout
!