Skip to content

Instantly share code, notes, and snippets.

@SomajitDey
Last active April 1, 2023 14:10
Show Gist options
  • Save SomajitDey/8caec35da58ef02abfae2a8d7d67196a to your computer and use it in GitHub Desktop.
Save SomajitDey/8caec35da58ef02abfae2a8d7d67196a to your computer and use it in GitHub Desktop.
Linux tools I never wanna forget about
  • chroot #### Jail :> Confine a command's access within given root directory
  • runuser #### Run command as another user. Compare su
  • stdbuf [-oL] command #### Line buffering in output
  • rlwrap [-cr -aPassword: -p -S -P -o] command #### GNU Readline + History + TAB-Autocompletion + Colored prompt + Password hiding
  • fold #### Pretty line wrapping
  • wrap #### Pretty line wrapping
  • pr ### Paginate text file - prettify
  • more
  • less
  • tty ### Print the file name of the terminal connected to standard input
  • hostname ### Various info relating to current host. E.g. all IP : hostname -I
  • progress ### Feed input to a command displaying a progress bar
  • pv ### Versatile progress bar for measuring data transfer through pipe. Can be combined with dialog --keep-tite --gauge
  • dialog ### TUI - A versatile Terminal Based UI usable by shell-scripts
  • xargs ### For elegant shell scripts
  • cut ### Similar functionality provided by awk and sed too
  • sort -u ### Concatenate multiple text files removing duplicates
  • uniq ### Remove or report duplicate lines in a text file
  • ncat [-c, --sh-exec hook | -m, --max-conns n | -C, --crlf] #### Simple server with multiple client on same port
  • socat
  • nc or netcat
  • jq #### json parser
  • base64 #### Whenever you cannot handle binary
  • base32
  • base58 ### Python - not available with GNU-coreutils
  • argon2 ### Password-based key derivation; password hashing
  • wc [-c | -l]
  • timeout [-s, --signal=SIGNAL | -k, --kill-after=DURATION] #### May be used as alarm
  • arecord and aplay #### Audio in and out - pipe with nc/ncat/socat to make audio call
  • sox #### Audio recording
  • mplayer #### Audio player
  • tee
  • http and httpie #### From httpie which is an alternative to cURL
  • mosquitto_sub and mosquitto_pub #### MQTT client
  • tcpserver
  • tunnel ### p2p port forwarder with NAT/Firewall traversal
  • mindisafe ### Simple but strong local file encryption
  • linstall ### Install anything locally without sudo
  • mc ### Midnight Commander - awesome file and directory manager with TUI
  • sponge ### Soak up all input from stdin and write it to
  • task-spooler ts ### Unix batch system - task scheduler - job queues
  • at ### Unix batch system - job scheduler
  • cron and crontab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment