How to Use Tools in Linux

  • Merge multiple PDFs into one
# Install pdftk
$ sudo snap install pdftk

# Merge files
$ pdftk file1.pdf file2.pdf cat output result.pdf
  • Create gif animation using “imagemagick”
$ convert -delay 120 -loop 0 *.png animated.gif
  • Screenshot and screencast
$ sudo apt install kazam
  • Get statistics of a code base
$ sudo apt install cloc
$ cd <code-folder>
$ cloc --exclude-dir=cmake,third_party .