Linux Shell Scripting Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

Have a Good Command

In this chapter, we will cover the following recipes:

  • Concatenating with cat
  • Recording and playing back terminal sessions
  • Finding files and file listing
  • Playing with xargs
  • Translating with tr
  • Checksum and verification
  • Cryptographic tools and hashes
  • Sorting unique and duplicate lines
  • Temporary file naming and random numbers
  • Splitting files and data
  • Slicing filenames based on extensions  
  • Renaming and moving files in bulk
  • Spell–checking and dictionary manipulation   
  • Automating interactive input
  • Making commands quicker by running parallel processes
  • Examining a directory, files and subdirectories in it