Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions