Skip to main content

Miscellaneous Utilities

Description Commands
Daily drivers man, echo, history, fc, sleep, clear, reset, yes
Math & sequences bc, dc, factor, units, seq
File / System utilities getent, xdg-open, dos2unix, dosfsck, dir, exec, rev, hexdump, iconv, import, install
Documentation / Help info, whatis, apropos
Terminal / Session script, scriptreplay, chvt, agetty
Audio amixer, aplay, aplaymidi
System utilities poweroff, acpi, acpid, accton, access, domainname, hostid
Miscellaneous banner, biff, bzcmp, case, cc/cpp, cupsd, ipcs, ipcrm, pinky, ranlib, gs, hash

Daily Drivers

man

Usage       : man ls
Example     : man tar
Description : Display manual pages for commands.
Takeaway    : Use to read detailed documentation and options for any command.

echo

Usage       : echo "Hello World"
Example     : echo $PATH
Description : Print text or variables to output.
Takeaway    : Use for simple output, debugging, and scripting.

history

Usage       : history
Example     : history | grep ssh
Description : Show command history.
Takeaway    : Use to recall past commands and improve productivity.

sleep

Usage       : sleep 5
Example     : sleep 10 && echo "Done"
Description : Pause execution for a set time.
Takeaway    : Use for delays in scripts or automation.

clear

Usage       : clear
Example     : Reset cluttered terminal.
Description : Clear terminal screen.
Takeaway    : Use for readability in terminal sessions.

reset

Usage       : reset
Example     : Fix broken terminal display.
Description : Reset terminal to default state.
Takeaway    : Use when terminal behaves unexpectedly.

File & System Utilities

dir

Usage       : dir
Example     : dir /home
Description : List directory contents.
Takeaway    : Use as alternative to ls.

exec

Usage       : exec command
Example     : exec bash
Description : Replace shell with a command.
Takeaway    : Use for executing commands without spawning new processes.

rev

Usage       : rev file.txt
Example     : Reverse each line in a file.
Description : Reverse text lines.
Takeaway    : Use for text manipulation tricks.

Documentation & Help

info

Usage       : info coreutils
Example     : info ls
Description : Display GNU info documentation.
Takeaway    : Use for extended documentation beyond man.

whatis

Usage       : whatis ls
Example     : whatis tar
Description : Show one-line description of a command.
Takeaway    : Use for quick command summaries.

Terminal & Session

script

Usage       : script output.log
Example     : Save session for documentation.
Description : Record terminal session.
Takeaway    : Use for logging terminal activity.

System Utilities

poweroff

Usage       : poweroff
Example     : Automate shutdown with cron.
Description : Shut down system safely.
Takeaway    : Use for system shutdown.

access

Usage       : access file.txt
Example     : Verify read/write permissions.
Description : Check file access permissions.
Takeaway    : Use for permission checks in scripts.

domainname

Usage       : domainname example.com
Example     : Configure network domain identity.
Description : Show or set system domain name.
Takeaway    : Use for managing system domain names.

hostid

Usage       : hostid
Example     : Output systemโ€™s numeric ID.
Description : Show unique host identifier.
Takeaway    : Use for licensing or system identification.

Tips, Tricks, Roadmaps, Resources, Networking, Motivation, Guidance, and Cool Stuff โ™ฅ

Updated on Dec 23, 2025