Introduction to UNIX commands part II
Contents: Learning basic Linux commands
Duration: 3 Hours
Important Commands:
Exercises
- Change permissions for a given file in 2 ways.
- Study ls -l in /sbin and /home write your observations.
- Count the number of files in the subdirectories in the root using ls -l and wc.
- Create a text file containing at least 10 words, one word per line, along with some repeated words.
- (i) Extract the unique words from the text file and save it as a separate file.
- (ii) Sort the file and write the output to a separate file.
- (iii) How do you extract from the file the unique words in a sorted order?
- Create a plain text file and an odt file with the same text contents. Apply ls -l and write your observations.