The world of Unix-like systems beyond the GNU, Debian and Ubuntu projects. Any generic or seemingly generic commands are stored here, even if they aren't strictly POSIX-compliant.
web | wikipedia (also unix-like) |
Easier man pages with TLDR
Generic commands for command line instructions
When giving command line instructions, use generic commands than rather specific applications:
Invokes preferred command line editor (like nano, vi or vim - the default on Ubuntu/Debian is nano).
Invokes preferred command line pager/scroller (like more or less - the default on Ubuntu/Debian is less).
TODO: how to change defaults? (not that I want to :) )
Which POSIX am I using?
How to tell which operating system you're using from the command line:
cat /etc/*-release #distro details lsb_release -a #distro details (alternative) uname -a #kernel version cat /etc/issue #short string
"Daemon" is the POSIX term for background processes (known as services on Windows systems).
To find out which daemons are listening on which ports, run:
netstat -tulpn | pager
Which package contains my prerequisites?
You attempt to compile, but you get an error because foobar.h is not found. Now you need to find out which package contains foobar.h
To find it, search the package contents:
- For Debian, use https://www.debian.org/distrib/packages#search_contents
- For Ubuntu, use http://packages.ubuntu.com (Search the contents of packages)