Question: Please use Linux system to sove the following question. 1. [5] What command will show you which groups you are a member of? 2. [51
Please use Linux system to sove the following question.
![Please use Linux system to sove the following question. 1. [5] What](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f51ed8aa4df_24866f51ed82178a.jpg)

![[51 What does the variable "$?" show? 3. [5] What command will](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f51eda63395_24966f51ed9c7515.jpg)
1. [5] What command will show you which groups you are a member of? 2. [51 What does the variable "$?" show? 3. [5] What command will find all files with suffix txt in the subtree /foo/bar? 4. [5] With what command (and arguments) can you find out your kernel version and the "nodename"? [The output should not include any other information] 5. [5] What is the difference between the paths and"? What does the path "" refer to when not preceded by anything? [5] Which command would you use to find the "pid" for a running process? [10] Write a single command that will return every username in the system in alphabetical order. [You may chain commands using piping and redirects [10] What is the difference between "sudo" and "su root"? [10] How would you make a program or script execute on a schedule or set interval? E.g. Run this program once every 30 minutes or every day at midnight. 6. 7. 8. 9. 10. [40] Write a shell script that only prints the odd numbered lines of each file in the current directory, except for the script itself. The output should be filename: line for each odd numbered line. You do not need to print line numbers. [10] Bonus: write the script in a way that it works no matter thefilename given to the script. For example, let's say I write a script in a file called test.sh. I then create 3 files, as shown in the screenshot below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
