1 List Files Current Directory Using Find Command 2 List Files Directories Etc Directory 3 Q37137382

1. How can I list all files in current directory byusing find command?

2. How can I list all files and directories in the/etc directory?

3. How can I find any files having the .txt extensionunder the /usr directory. Errors need to be suppressed by sendingthem yo /dev/null


Answer


1.find .2.ls -l /etc3.find /usr | grep .txt

;

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.