*Nix

*nix notes: shells, ssh, packages, filesystem commands, and day-to-day system management.

Simple Icons contributors / Simple IconsCC0 1.0

*nix notes: shells, ssh, packages, filesystem commands, and day-to-day system management.

*nix notes: shells, ssh, packages, filesystem commands, and day-to-day system management.

Topics

  • atat schedules a one-shot command to run later.
  • cdcd changes the current working directory.
  • chmodchmod changes mode bits on one or more paths. The form is a permission set, optional switches, then the path list.
  • Common commands — Short notes on common *nix commands.
  • Cron
  • Custom
  • datedate prints the current date and time. An optional format string follows +.
  • Delete — Remove directories and files.
  • findfind walks a tree recursively.
  • FTP
  • gpg — Verify a digital signature. Pass the signature file.
  • grepgrep searches for a pattern in a file.
  • historyhistory lists commands from the shell history.
  • Hit a URL — Hit a URL without wget and curl.
  • hostnamehostname displays the current hostname.
  • hosts/etc/hosts maps names to addresses.
  • iptables — Packet filter rules with iptables.
  • lnln -s creates a symbolic link.
  • ls — https://en.wikipedia.org/wiki/Ls.
  • Management
  • Mint
  • Network
  • nohupnohup keeps a command running after logout.
  • Portsnetstat -lnptu lists active ports, including listening.
  • Processps -ef lists running processes.
  • ps — Rank processes by CPU usage with ps -eo pcpu,pid,user,args, sorted, in less.
  • Rescue
  • sar — Sample CPU usage with sar -u 2 5 to see users using max CPU.
  • scpsu is needed.
  • Sh
  • SSH
  • susu switches user: run as another user. The user changes.
  • sudosudo runs with superuser privileges. The user remains the same. The user should be in the sudo-able list.
  • tar — http://www.tecmint.com/18-tar-command-examples-in-linux.
  • tree-P filters by pattern.
  • Ubuntu
  • Utility
  • Version — Show the OS version from /etc/*-release and lsb_release -a.
  • wcwc -l is the number of lines.
  • xargs — http://offbytwo.com/2011/06/26/things-you-didnt-know-about-xargs.html.
  • Yum
  • zip — Example.
Updated: 2026 Aug 19