Question: Bash Scripting (30 Points) 8. Write a command to find the total disk space used by a specific user on linux system? 9. What is
Bash Scripting (30 Points)
8. Write a command to find the total disk space used by a specific user on linux system? 9. What is "s" permission bit in a file? 10. What are the differences between grep and egrep? 11. List files where third letter is a or c, how you can achieve this in bash? 12. Write command to remove array element with id 5? 13. Write a shell script that adds an extension .deb to all the files in a directory. 14. Write a command sequence or a script to insert a line ABCDEF at every 10th line of a file? 15. Write a bash command or script to find all the files modified in less than 5 days and print the record count of each.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
