get operating system linux code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: check the linux distribution
cat /etc/os-release
Example 3: linux version command
lsb_release -a
Example 4: how to find distro name
cat /etc/os-release
lsb_release -a
hostnamectl
Type the following command to find Linux kernel version:
uname -r
Example 5: linux operating system
sudo apt-get install wget?
Example 6: linux operating system
yum install wget