Question
(1) Use find to locate from your home directory tree all (i) files with the extension .html or .HTML, (ii) files having a specific inode
(1) Use find to locate from your home directory tree all (i) files with the extension .html or .HTML, (ii) files having a specific inode number, (iii) directories having permission 666, (iv) files modified yesterday.
(2)Under the current directory,use find(i.e. one command only) to (i) move all files modified within the last 24 hours to the yesterday directory under the parent directory, (ii) locate all files named a.out or core and remove them interactively, (iii) locate a file addressbook that you pre-created in one of the sub-folders ~/ch4/ in your home directory and copy it to your home directory, (iv) Under the current directory, change all sub-directory permissions to 777 and all file permissions to 666. Hint: -o could be used to connect two conditions with their own respective actions.
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