os-release - Operating system identification
The /etc/os-release and /usr/lib/os-release files contain operating system identification data. The basic file format of os-release is a newline-separated list of environment-like shell-compatible variable assignments. It is possible to source the configuration from shell scripts, however, beyond mere variable assignments, no shell features are supported (this means variable expansion is explicitly not supported), allowing applications to read the file without implementing a shell compatible execution engine. Variable assignment values must be enclosed in double or single quotes if they include spaces, semicolons or other special characters outside of A--Z, a--z, 0--9. Shell special characters ("$", quotes, backslash, backtick) must be escaped with backslashes, following shell style. All strings should be in UTF-8 format, and non-printable characters should not be used. It is not supported to concatenate multiple individually quoted strings. Lines beginning with "#" shall be ignored as comments. The file /etc/os-release takes precedence over /usr/lib/os-release. Applications should check for the former, and exclusively use its data if it exists, and only fall back to /usr/lib/os-release if it is missing. Applications should not read data from both files at the same time. /usr/lib/os-release is the recommended place to store OS release information as part of vendor trees. /etc/os-release should be a relative symlink to /usr/lib/os-release, to provide compatibility with applications only looking at /etc. A relative symlink instead of an absolute symlink is necessary to avoid breaking the link in a chroot or initrd environment such as dracut. os-release contains data that is defined by the operating system vendor and should generally not be changed by the administrator. As this file only encodes names and identifiers it should not be localized. The /etc/os-release and /usr/lib/os-release files might be symlinks to other files, but it is important that the file is available from earliest boot on, and hence must be located on the root file system. For a longer rationale for os-release please refer to the Announcement of /etc/os-release.
NAME=Fedora VERSION="17 (Beefy Miracle)" ID=fedora VERSION_ID=17 PRETTY_NAME="Fedora 17 (Beefy Miracle)" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fedoraproject:fedora:17" HOME_URL="https://fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/"
systemd(1), lsb_release(1), hostname(5), machine-id(5), machine-info(5)
1. Announcement of /etc/os-release http://0pointer.de/blog/projects/os-release 2. Common Platform Enumeration Specification http://scap.nist.gov/specifications/cpe/ 3. RFC3986 format https://tools.ietf.org/html/rfc3986
More Linux Commands
audit_detect_machine(3) - Detects the current machine type
audit_detect_machine queries uname and converts the kernel machine string to an enum value defined in machine_t. The machine type is needed for any use of the a
cursor(3menu) - position a menu's cursor - Linux man page...
cursor.3menu - The function pos_menu_cursor restores the cursor to the current position associated with the menus selected item. This is useful after curses rou
tputs_sp(3ncurses) - curses screen-pointer extension........
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th
XReadBitmapFile(3) - manipulate bitmaps - Linux manual page
The XReadBitmapFile function reads in a file containing a bitmap. The file is parsed in the encoding of the current locale. The ability to read other than the s
espdiff(1) - apply the appropriate transformation to a set o
espdiff applies the appropriate transformation to a patch or set of patches, depending on what you intend to accomplish. The input patches must be clean: in oth
gvfs-less(1) Execute less on the output of gvfscat..........
gvfs-less executes less on the output of gvfs-cat. gvfs-less works just like the traditional less utility, but using gvfs locations instead of local files: for
xdr_pointer(3) - library routines for external data represen
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using
htons(3) - convert values between host and network byte orde
The htonl() function converts the unsigned integer hostlong from host byte order to network byte order. The htons() function converts the unsigned short integer
sane-hpljm1005(5) - SANE backend for Hewlett-Packard LaserJe
The sane-hpljm1005 library implements a SANE (Scanner Access Now Easy) backend that provides access to the following Hewlett-Packard scanner: LaserJet M1005 If
Tcl_DStringEndSublist(3) - manipulate dynamic strings.......
Dynamic strings provide a mechanism for building up arbitrarily long strings by gradually appending information. If the dynamic string is short then there will
podofouncompress(1) Uncompress PDF files - Linux man page...
podofouncompress is one of the command line tools from the PoDoFo library that provide several useful operations to work with PDF files. It can remove compressi
refresh(3ncurses) - refresh curses windows and lines........
The refresh and wrefresh routines (or wnoutrefresh and doupdate) must be called to get actual output to the terminal, as other routines merely manipulate data s