Code Flashcards
1
Q
Command that locates all files in a given directory and copies them to folder in home directory
A
find /usr/-name ‘*.txt’ -exec cp {} ~ \;
2
Q
What command lets you determine the number of file transferred
A
ls | wc
3
Q
cat all the files
A
find /usr -name ‘*.txt” -exec cat {} > outputfile.txt \;