1. List commands
to create the directory hierarchy $HOME/a/b/c
in vi to replace all occurences of TMP with tmp in lines 1 through 10
in vi to replace first occurence of CPU_file with DISK_file at line 15
2. Explain with a very simple example, usage of "ls -a"
3. What do the following commands do
a. ls -ls / > /tmp/ls_list
b. more /etc/passwd > /tmp/opl
c. find $HOME -type f > $HOME/files_list
d. find /tmp > /tmp/abc
4. Evaluate
$ FILE=pwd
$ echo $FILE --> What will this print ?
$ FILE=$HOME
$ cd $HOME/project --> what does this do ?
5. chmod command has an option -R. What is its purpose,
Explain with an example. (create needed files etc. in your homedirectory
to explain this)
Help me