Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started