Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #ask1
- #prints the required columns from the system processes and sorts the output using #the cmd column
- ps a -o pid,cmd | sort -k 2
- #execute with ./ask1.sh in the folder cd /home/christina/Documents/scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement