Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Everything is done through linux command(CMD). 6. Translate the entire content of shakespeare.txt from lowercase to uppercase 7. Replace every .A' character by #, 'S,
Everything is done through linux command(CMD).
6. Translate the entire content of shakespeare.txt from lowercase to uppercase 7. Replace every .A' character by #, 'S, by $ and X, by in shakespeare txt 8. Remove any new lines from shakespeare.txt 9, grep into shakespeare. txt to find #$ token 10. Explain the difference between these two commands. find /data -namepy" find /data -name *py. 11. Explain the difference between these two statements. find /data -name.odf"> data_odf.txt find /data.odf> data_odf.txt 12. Write a find command that finds all files created after January 30th 2019. 13. Write a find command that finds all odf files created in Feb 2019. 14. Count the number of * conf files in letc and all its subdirs 15. Create a file called loctest.txt. Can you find this file with locate? Why not? How do you make locate find this file? 16. Use find and -exec to rename all htm files to .html. 17. Here are two commands that do the same thing: copy *odf files to/backup/. What would be a reason to replace the first command with the second? cp -r/data/.odf /backup/ find Idata -name .odf" -exec cp /backup/l 18. Issue the date command. Now display the date in YYYY/MM/DD format. 19. Issue the cal command. Display a calendar of 1582 and 1752. Notice anything special ? 20. Locate the bashrc file. |
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