LilyYucarp
Exercises
Logging in and logging out
- Try to log in and log out from your account.
- Try to log in as the root user if the root user is available.
- Try to enter a wrong password into the password section. What happens?
- Try to log in as a non-existant user. What happens?
- Try to boot from a different kernel. What happens?
Introduction to the terminal
- Try to go to the parent directory.
- Try to go to the downloads folder from the documents folder.
- If there is any file, check its type. What happens?
- Try to go to the downloads folder from the documents folder with only one command.
- Try to show the current directory.
- Try to run the cd command without any arguments. What happens?
- Give the cd command more than one argument. What happens?
- Give the cd command a non-existant folder. What happens?
- Give the cd command a file. What happens?
- Give the ls command a directory name. What happens?
- Give the ls command the l option. What happens?
- Try to combine the l option and the directory name argument for the ls command.
- Check what user you are logged in as.
- Try to echo a long message.
- Write a long thing in the terminal and try to go to the beginning without using arrow keys.
- Show the previous command.
- Clear the terminal.
- Try to execute a command without using the Enter key.
Package managers
- Try to update your system.
- Try to a desired package.
- Install a package that you will use.
- Switch to the root user without logging off and run the whoami command.
- Switch to the current user.
Getting help
- Try to show a manual page of your choice.
- Search random keywords with apropos to see what happens.
- Try to show a manual page from a different section.
- Search for some arguments for the ls command and try to use them.