- Coreutils manual β’ GNU π
- bat β’ A
cat
clone with with syntax highlighting and Git integration π οΈ
- exa β’ A modern replacement for
ls
π οΈ
- fd β’ A simple, fast and user-friendly alternative to
find
π οΈ
- fzf β’ A command-line fuzzy finder π οΈ
- jq β’ A lightweight and flexible command-line JSON processor π οΈ
kill
- lsof β’ List open files π οΈ
- identify what process is running on port 5000:
lsof -i:5000
- ripgrep β’ ripgrep recursively searches directories for a regex pattern while respecting your gitignore π οΈ
- sed β’ A stream editor for filtering and transforming text π οΈ
top
- Linux Command Line playlist β’ The Frugal Computer Guy πΊ
- Manipulating Files in Your Current Working Directory β’ Red Hat Enterprise Linux Step By Step Guide π
Bash/Zsh Syntax
- Create and delete files and folders:
mkdir <folder-name>
- create directory
rm -rf <folder-name>
- delete directory and its contents
touch <file.ext>
- create file
rm <file.ext>
- delete file
- Moving and copying files:
mv <file1.ext> <file2.ext> <target-folder>
- move individual file(s)
mv * <target-folder>
- move all files in current folder
mv <file.ext> <renamed.ext>
- rename file
cp <file1.ext> <file2.ext> <target-folder>
- copy individual file(s)
cp * <target-folder>
- copy all files in current folder
cp <file.ext> <renamed.ext>
- copy and rename file
- Keyboard shortcuts:
βA
- jump to beginning of line
βE
- jump to end of line
βU
- clear from cursor position to beginning of line
βR
- search command history (hit ENTER
to run command)
βK
- clear console
- Package website shortcuts:
npm home <repo name>
- opens homepage
npm repo <repo name>
- opens github page
npm bugs <repo name>
- opens github issues
- The Bash String Operators | Kevin Sookocheff β’ Kevin Sookocheff π
- Single vs double quotes:
- Introduction to Bash Scripting β’ Bobby Iliev π
- Bash on Exercism β’ Get fluent in Bash by solving 89 exercises β’ Exercism π©βπ
Environment variables
- PATH β’ Julia Evans π
Configuring Zsh
Configuring kitty
Make a file executable
Generate any number of test files in a directory
Switch to bash on Mac to get access to shellcheck
?
Inbox
- explainshell.com β’ match command-line arguments to their help text
- Comics β’ Julia Evans π
- broot β’ A new way to see and navigate directory trees π οΈ