command to check the os in terminal code example Example: find operating system linux #Get details about linux distro cat /etc/os-release