Heyyy guys i am new here and i need help with some terminal commands
I am completely new to the linux world and want to learn
This is what my sir in college told me to do
1. Find all files in a recursively in a directory whose name starts with the letter A or B and which were modified 3 days ago.
so in my current directory i wrote in terminal :
find . \(-name 'A*' -o -name 'B*' \) -print
So this gave me all the files starting with A or B. and the 3 days ago part i used
mtime 3
but it gives error
2. Find all directories in a file system which contain html or pdf files and create a list of such directories in a file
so same as previous :
find . \(-name '*.pdf' -o -name '*.html' \) -print
But i couldnt figure out how to save all the directories in a file
3. Find all image files in your file system with a size greater than 10kb and whose name contains any vowels
find . \-name '*.iso' -size +10k
So in this how should i go about with vowels?
4. And the directories which i find on the terminal i need to copy them in the same hierarchy to another location in the file system
How should i do that?
Please help me with these problems.
I am completely new to ubuntu
Thanks in advance
Bookmarks