This commit is contained in:
Antranig Vartanian
2023-03-14 16:34:51 +04:00
commit a2d0d3f216
7 changed files with 133 additions and 0 deletions

21
Unix.md Normal file
View File

@ -0,0 +1,21 @@
# Unix Workout
The exercises in this document is meant to improve your Unix knowledge, such as daily commands and manual pages.
## Single commands
1. Find all text files (`.txt`) in your home directory using the `find` command
2. Create an empty file named `empty`
3. List the `empty` file with its permissions.
4. Who are you in this system? what is your username? what is your user ID? which groups do you belong to?
5. What's the date and time right now?
## Piping commands together
1. Did you find all the `.txt` files? good! now put that output into `/tmp/txtfiles`
2. Without using a text editor, put `hello there!` into `empty`
3. Using your favorite editor, Vim, put more content into `empty`
4. Print the content.
5. Print the content and look if the string `lo` is in there!
1. Which line is it on?
6. Get the date, again, and *pipe* it into `vim` :)