Operating Systems and UNIX
Assignment – III
- Discuss exit command and Exit Status of a command.
- Explain the use of following operators with example.
(i) && (ii) ||
- Write UNIX commands for the followings:
(i) To display current date in dd-mm-yy format
(ii) To display total number of files in current directory
(iii) To display list of all files in current directory in descending order of their name
(iv) To convert all lowercase letters to uppercase in the file data1
(v) To remove all files whose name start with “a” or “A”, with confirmation from the user
(vi) To search the pattern “sachin” in the file cricket
- Explain the use of set and shift command.
No comments:
Post a Comment