Question: 1. Write a bash command that will display the value of all environment variables defined in your shell process that begin with vowel, sorted in
1. Write a bash command that will display the value of all environment variables defined in your shell process that begin with vowel, sorted in alphabetical order, and numbered. 2. Write a bash command that will perform an 'ls -ld' command on every directory listed in the PATH variable. 3. Write a 'find' command that will list the name and octal permission of every directory on the system. Redirect all errors to /dev/null, redirect stdout to the file "~/assignment 5 dirlist", and ensure the job runs in the background. 4. Write a bash command that will list all processes owned by your UID. Make sure to use your UID, not your userid. 5. Write a bash command that will kill all processes owned by your UID that are NOT executing either 'sshd' or 'bash'.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
