Question
Question #3 files? What utäties are available kr ediing on your Lanux system s 4+ e ) 2. Question 4 a) What command can you use to view the first 12 ines of a fke nuamed status.teport? b) What command can you use to view the ast 5 ines fie status.report? Question #5 a. What is the command that displays your UID and GIDs? $ id -u user name ank id- usey nort b. Since you can only have one GiD active at a time, what comrund is used to charge your actve GID? Question #6 Identify two ways you can specity a PID number in your bash shell script.
Explanation / Answer
answers:
Question 3.
a)$ apropos editor
b)vim,ex,ed,gedit.
Question 4.
a) $ head-12 status.report
b) $ tail-5 status.report
Question 5.
a)$ id -u username & $ id -g username
b)$ groupmod -g <NEW_GID> <groupname>
Question 6.
a) $ ps
b)$ echo $$