Beruflich Dokumente
Kultur Dokumente
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. The root is the base of
the Linux file system. It is denoted by a forward slash( / ). The
user directory is usually something like "/home/username".
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”.
Remember, as told before, if you want to create a directory
named “DIY Hacking”, then you can type “mkdir DIY\ Hacking”.
Use rmdir to delete a directory. But rmdir can only be used to
delete an empty directory. To delete a directory containing files,
use rm.
Intermediate Commands