Command Reference
Search through all aliases, global aliases, and custom functions available in Nirmal's Shell environment.
ls
List directory contents with icons and colors
lsdll
Long listing with hidden files and grouped directories
lsd -lah --group-dirs=firstla
List all files including hidden ones
lsd -Alt
Tree view up to 3 levels deep with grouped directories
lsd --tree --depth=3 --group-dirs=first..
Go up one directory level
cd .....
Go up two directory levels
cd ../......
Go up three directory levels
cd ../../..-
Return to the previous directory
cd -mkdir
Create directories including parent paths automatically
mkdir -pcp
Copy files with interactive confirmation and verbose output
cp -ivmv
Move files with interactive confirmation and verbose output
mv -ivrm
Remove files with interactive confirmation and verbose output
rm -ivcat
Display file contents with syntax highlighting and line numbers
bat --style=numbers --paging=nevergrep
Search text with colorized output
grep --color=autodiff
Compare files with colorized output
diff --color=autoports
Show all listening ports and their processes
ss -tulnpmyip
Display your public IP address
curl -fsSL https://ifconfig.me/ip && printf "\n"weather
Display a weather forecast in the terminal
curl --http1.1 -fsSL https://wttr.inglog
Show a compact visual git commit graph
git log --oneline --graph --decorate -20gpr
Pull with rebase for a cleaner linear history
git pull --rebasegun
Undo the last commit while keeping changes staged
git reset HEAD~1 --softgcount
Show commit counts per author, sorted by frequency
git shortlog -sn --no-mergesG
Pipe to grep — use anywhere in a command
| grepL
Pipe to less — use anywhere in a command
| lessW
Count lines — use anywhere in a command
| wc -lH
Show first lines — use anywhere in a command
| headT
Show last lines — use anywhere in a command
| tailNE
Suppress stderr output
2>/dev/nullNUL
Suppress all output (stdout and stderr)
>/dev/null 2>&1extract
Extract any supported archive format automatically
extract <archive>mkcd
Create a directory and cd into it in one step
mkcd <dir>ff
Find files by name recursively — uses fd when available
ff <pattern> [path]ft
Find text in files — uses ripgrep when available, falls back to grep
ft <text> [path]fkill
Fuzzy-select and kill a running process
fkill [signal]headers
Follow redirects and print HTTP response headers
headers <url>peek
Preview a file quickly — uses bat when available
peek <file>dusage
Show disk usage summary for the largest items in a directory
dusage [path] [count]bigfiles
Find the largest files recursively in a directory tree
bigfiles [path] [count]croot
Jump to the root of the current git repository
crootpath
Print each PATH entry on its own line
pathfbr
Fuzzy-pick and checkout a git branch from local or remote refs
fbrnpkg
Nix package manager wrapper — add, remove, find, search, upgrade, and more
npkg <subcommand>