POSIX

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) | !license

See also (shells) | :bash :fish
See also (distributions) | :gnu :debian :ubuntu
See also (desktops) | :desktop :ubuntu:unity

Notes

Easier man pages with TLDR

https://github.com/tldr-pages
Python-based interface to the above: https://pypi.python.org/pypi/tldr/0.1.1

Generic commands for command line instructions

When giving command line instructions, use generic commands than rather specific applications:

editor
Invokes preferred command line editor (like nano, vi or vim - the default on Ubuntu/Debian is nano).

pager
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

References:

Daemons

"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:

Reference: https://stackoverflow.com/questions/23744127

Further reading

https://www.gnu.org/distros/free-non-gnu-distros.html



Backlinks: fish ubuntu debian gnu microsoft:windows

CC0 / Public domain dedication To the extent possible under law, d3vid seaward has waived all copyright and related or neighboring rights to "POSIX in Grasmere notebook, including code snippets" (why? how?)