Write and execute the following UNIX commands:
(a) To change the password.
(b) To search files in the current directory/subdirectory for lines that match a particular string pattern given as input.
(c) To print the first 5 lines of a file.
(d) To print the number of processes run by a particular user.
(e) To kill a process that is running at the background.
(f) To display the count of no. of blank spaces in a given file.
(g) To sort alphabetically, a list of numbers stored in a data file in an ascending order.
(h) To convert the upper case letters to corresponding lower case letters in a text file.
(i) To count the number of users currently logged on.
(j) To display the calendar for a given month and year.
(a) To change the password.
(b) To search files in the current directory/subdirectory for lines that match a particular string pattern given as input.
(c) To print the first 5 lines of a file.
(d) To print the number of processes run by a particular user.
(e) To kill a process that is running at the background.
(f) To display the count of no. of blank spaces in a given file.
(g) To sort alphabetically, a list of numbers stored in a data file in an ascending order.
(h) To convert the upper case letters to corresponding lower case letters in a text file.
(i) To count the number of users currently logged on.
(j) To display the calendar for a given month and year.
brother plz upload solutions for mcs 4th sem 2017-18 assignments
ReplyDelete