Look up a ready-made bash one-liner for text manipulation or file processing tasks
Learn terminal keyboard shortcuts and shell tricks to speed up everyday command-line work
Find bash patterns for bioinformatics data processing using tools like grep, sed, and awk
Discover network and system administration commands for Linux and macOS
This is a collection of short, practical bash commands and terminal tricks that the author gathered while working in bioinformatics and cloud computing. Bash is the command-line environment found on Linux and Mac systems, and these are the kinds of commands that let you do in one line what might otherwise take a small script. The collection covers a wide range of everyday tasks, organized into clear sections. The sections include terminal keyboard shortcuts, working with variables and string manipulation, doing arithmetic in the shell, searching through text with grep, editing text streams with sed and awk, processing lists of files with find and xargs, writing loops and conditions, downloading files, handling dates and time, working with random data, managing system resources, querying hardware information, network commands, and data processing tasks. Each entry shows the command and, in most cases, a short inline comment explaining what it does or what the output looks like. The author wrote the guide while primarily using Ubuntu, Amazon Linux, RedHat, CentOS, and Mac. Some commands may behave differently or not work on other systems. The guide is informal and honest about its origins: most examples came from web searches and Stack Overflow, and the author welcomes corrections and additions from anyone who has useful commands to contribute. This is purely a reference document, not software you install. You can read it directly on GitHub or on the linked website version which has slightly nicer formatting. It is well suited to anyone who uses a Linux or Mac terminal regularly and wants a handy reference, or to beginners who are just learning what the command line can do. The full README is longer than what was shown.
← onceupon on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.