Monday, September 22, 2008

command to see Linux version


lsb_release -a

The Linux Standard Base, or LSB, is a joint project by several Linux distributions under the organizational structure of the Linux Foundation (merger of the Free Standards Group and the Open Source Development Labs) to standardize the internal structure of Linux-based operating systems.

Other commands having same effect
cat /etc/redhat-version
cat /etc/issue
cat /etc/lsb-release

No comments:

Print chess board in command line

The following bash one-liner will print a chess board in a terminal (the script works for the shells bash and ksh only) for (( i = 1; i ...