Files
workout/Unix.md
Antranig Vartanian a2d0d3f216 init
2023-03-14 16:34:51 +04:00

869 B

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 :)