init
This commit is contained in:
21
Unix.md
Normal file
21
Unix.md
Normal 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` :)
|
||||
Reference in New Issue
Block a user