Question: Linux/Grep/sed/awk/ bash script 13. Redirect the output of date, ls and pwd to output.txt so that output.txt contains all 3 outputs 14. Suppose you're editing
13. Redirect the output of date, ls and pwd to output.txt so that output.txt contains all 3 outputs 14. Suppose you're editing a file named filel.cusing vi editor. How do I switch to another file named file2.c without exiting vi? 15. Display every line in test.c that does not contain the word 'int' 16. Display each line in the file poem. txt that starts with a capital letter. 17. Display the list of files in the current or subdirectories that have either c or .cpp as their extensions (Hint: use find). 18. Given the following shell scripts named scripts.sh #! /bin /sh echo $1 $3 write the output of the following command: s scripts.sh this is just a test. 19. Assuming Bash shell, write the output of the last echo. $ course=cs2750 s export s sh s echo scourse 20. Write an awk command that display each line in a file readne.txt that has more than 5 words n it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
