System Information
This has been a weird one, finding version information on the operating systems.
On Ubuntu, the following gets the version information
cat /etc/issue
cat /etc/lsb-release
On Linux, finding the kernel version
uname -a
cat /proc/version
On Windows, from Start-> Run -> cmd.exe
winver
OR
systeminfo
This is very simple but still there are a few times when memory fails and we’re not able to do the obvious.
To see the information about the hardware mapping :
lshal
Finding your CPU Information
cat /proc/cpuinfo
Finding memory information
cat /proc/meminfo
Maximum number of SYN requests that the host will remember which did not receive an ACK from clients:
cat /proc/sys/net/ipv4/tcp_max_syn_backlog
Finding data bus-size or bit-size i.e., whether my CPU is 32-bit or 64-bit:
sudo lshw -C cpu | grep width