1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-10-18 14:12:38 +00:00

Add tasks

This commit is contained in:
Mo 2022-08-22 04:24:14 +02:00
parent 30f3459847
commit 690c609c27
2 changed files with 61 additions and 0 deletions

View file

@ -6,6 +6,7 @@
- [Why learn Linux?](day_1/why_linux.md) - [Why learn Linux?](day_1/why_linux.md)
- [Terminal basics](day_1/terminal_basics.md) - [Terminal basics](day_1/terminal_basics.md)
- [Packages](day_1/packages.md) - [Packages](day_1/packages.md)
- [Tasks](day_1/tasks.md)
- [Day 2](day_2/README.md) - [Day 2](day_2/README.md)
- [Day 3](day_3/README.md) - [Day 3](day_3/README.md)
- [Day 4](day_4/README.md) - [Day 4](day_4/README.md)

60
src/day_1/tasks.md Normal file
View file

@ -0,0 +1,60 @@
# Tasks
## Task 1: Building houses
In this task, you will build a house with different rooms using (nested) directories.
Start with an empty directory as the house and add directories to it as rooms.
The house should have at least 5 rooms. Give the rooms meaningful names.
Place a box as a text file in one of the rooms. Put some content in the box as text lines.
Place some persons as text files in different rooms. You can add some information about the persons like hobbies in their files.
Visualise your house structure and content using `tree` and make a screenshot.
Now, clone your whole house and then rename the persons in the new house. Make another screenshot of `tree` afterwards.
In the new house, choose a non empty room and move everything with this room into another room. Why? Because zombies are back! They did get in through the window...
Make a screenshot of `tree`.
Put some zombies in this room after it is empty, make a screenshot of `tree` and then delete the room with the zombies in it. Make sure to not destroy the whole house!
Make a final `tree` screenshot of the rest of the house.
Take a screenshot of the content of some files. Tipp: 😺
- If you somehow get lost, use `pwd`.
- If you need are looking for an option but you can not remember it, use `--help`.
## Task 2: Reset your password
Use the command `passwd` to reset the password of your user. It is important to have a secure password!
## Task 3: Update your system
Find out how to update your system with `dnf` and run the updates.
Before you confirm, make sure that you read what packages are updated. Make a screenshot of the changes.
It is possible that you don't find any update. In this case, you can try it tomorrow again!
## Task 4: Package installation and usage
Install the package `cowsay` and find out how to use it!
Spoiler: You will have to deal with some cows 🐄
Find out how to give a fancy tongue and shinny eyes.
Make a screenshot of some cow wisdom 🐮
Now install the package `lolcat`.
Lets call the wisdom command you did take the last screenshot of `COMMAND`.
Now run `COMMAND | lolcat`. Describe what did change. Can you guess how this does internally work?
Now read the help of `lolcat` and find out how you add some randomness. Run the command above again with the option you found and take a screenshot after you are satisfied with the randomness you get.