1. What will be the effect of the following commands?Explain. who | grep 'test' who | grep...
Fantastic news! We've Found the answer you've been seeking!
Question:
1. What will be the effect of the following commands?Explain.
- who | grep 'test'
- who | grep 'test$'
- grep '[Aa]um' doc?/*
- ls -l | sort -k5n
- date | cut -c13-17
2. Write a command to find all users on UNIX server whose userIDs are greater than 149, and the number of users on your UNIXserver whose user IDs are greater than 149. Justify yoursolution.
3. Write a script pathcomparision that compares the directoriesspecified in TESTPATH
and PATH, reporting on any that don'tappear in both.
4. Write script commands that we can use to control the flow ofexecution in the program. Explain two of the these command and givean example for one of them. (10 points)
Related Book For
Operating Systems Internals And Design Principles
ISBN: 9781292214290
9th Global Edition
Authors: Stallings William
Posted Date: