Question: 1. Write a bash command that will list all processes owned by your UID. Make sure to use your UID, not your userid. ps -U

1. Write a bash command that will list all processes owned by your UID. Make sure to use your UID, not your userid.

"ps -U 1000 | egrep -v "ssh|bash" | awk '{if(NR>1)print $1}' | xargs kill"

The answer is ERROR Use $UID instead of

Enter solution commands exactly as used in the terminal. the assignment requires an executable command.

please shows screen shot shows $UID an executable command.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!