For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bash Tips

Bash multiprocessing

Useful commands

cheat.sh

cheat.sh provides unified access to the best community driven cheat sheets repositories of the world.

aria2c

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line.

chmod

curl

curl a command line tool and library for transferring data with URL syntax.

Useful operation mode:

find

grep

ipython

ipython is a handy command shell for python, which supports:

  • Tab completion

  • Help by .method? + enter

  • Embedding in a script for debugging using the interactive shell:

ncdu

ncdu is a disk usage analyzer with an ncurses interface.

Useful hotkeys:

  • Navigation by arrows

  • s - sort by size

  • C - sort by quantity

  • c - show quantity

  • d - delete

pv

pv - monitor the progress of data through a pipe.

ssh

tar

tar saves many files together into a single tape or disk archive, and can restore individual files from the archive.

Useful operation mode:

  • -c - create a new archive

  • -f - use archive file or device ARCHIVE

  • -j, --bzip2 - compress/decompress the archive through bzip2

  • -z, --gzip - compress/decompress the archive through gzip

  • -t, --list - list the contents of an archive

  • -x - extract files from an archive

  • -C, --directory=DIR - change output directory to DIR

  • -v verbosely list files processed

youtube-dl

youtube-dl is a command-line program to download videos from youtube and other video sites.

Modern Unix

Last updated