How Do I Know If My Linux Is Ubuntu?
Contents Open Your Terminal Either by Using the Ctrl+Alt+T Keyboard Shortcut or by Clicking on the Terminal Icon. Use the Lsb_Release -a Command to Display the...
Contents
Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon. Use the lsb_release -a command to display the Ubuntu version. Your Ubuntu version will be shown in the Description line.
How do you know if my Linux is Ubuntu or Centos?
So, here are some approaches you can use:
- Use /etc/os-release awk -F= ‘/^NAME/{print $2}’ /etc/os-release.
- Use the lsb_release tools if available lsb_release -d | awk -F”t” ‘{print $2}’
How do I know if my Linux is Debian or Ubuntu?
lsb_release is a command can print certain LSB (Linux Standard Base) and Distribution information. You can use that command to get Ubuntu version or Debian version.