Understanding and Gaining File System Mastery

In this chapter, we will introduce the following:

  • Viewing files from various angles – head, tail, less, and more
  • Searching for files by name and/or extension
  • Creating a diff of two files and patching
  • Creating symbolic links and using them effectively
  • Crawling filesystem directories and printing a tree
  • Finding and deleting duplicate files or directories
  • Joining and splitting files at arbitrary positions
  • Generating datasets and random files of various size

Get Bash Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.