Lesson 2/13
FIND, GREP, TAR and PIPE on Ubuntu
Learn to master FIND, GREP, pipes, TAR and redirection on Ubuntu. Advanced searching, filtering, automation and archiving: the essential kit for administrators and beginners alike.
☰
Contents
26
▾
0:00 Introduction to the advanced commands 0:27 The FIND command: searching for files 1:08 Searching in /etc with sudo 1:45 The -iname option (case insensitive) 2:10 Searching by file type 2:40 Finding symbolic links 3:06 Searching by modification date 3:50 Searching by execute permission 5:05 Searching by owner 5:45 Combining find options 6:20 The -exec option to act on the results 7:29 Changing permissions with find 8:04 The GREP command: filtering text 8:40 The -i option for case insensitivity 9:30 The -r option for recursive search 10:20 The -n option for line numbers 10:50 The -v option to exclude a pattern 11:40 Combining grep options 12:20 Searching with regular expressions 13:20 Pipelines: chaining commands together 14:20 Output redirection 15:00 The TAR command: compressing and archiving 15:45 Extracting a tar archive 16:20 Listing the contents of an archive 16:40 Compressing with the -z option 17:15 Conclusion and call to action