Question: This week you will have a chance to practice Linux commands. Please use uisacad5 to execute the commands in question 1. You can also use

 This week you will have a chance to practice Linux commands.

This week you will have a chance to practice Linux commands. Please use uisacad5 to execute the commands in question 1. You can also use it to test the answers that you write for the other questions. 1. What will be the effect of the following commands? a. who I grep 'root b. ps aux | sort c. date | cut-c12-16 2. Write commands to: a. Find all logged-in users with usernames of at least four characters b. Find all users on your system whose user ids are greater than8. c. Find the number of users on your system whose user ids are greater than 8 d. List al the files in your directory in decreasing order of file size. 3. a. What is the purpose of grep? b. Can grep be used to add, delete or change a line or character in a file? Why? c. Using grep, what is the command to find out if root is currently logged into the system 4. a. What is a command to print every line containing the word UNIX in a file named intro? b. What is a command to print every line containing a number in a file named intro? You can type all the answers in one file and submit in Blackboard. You don't have to create the program files for this assignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!