# Getting your System Name and Information in Ubuntu

To check the version of Ubuntu you are running from the command line, you can use one of the following commands:

1\. **lsb\_release -a**: This command provides detailed information about the Ubuntu version.

```bash
lsb_release -a
```

2\. **cat /etc/os-release**: This command displays the content of the `os-release` file, which contains information about the operating system.

```bash
cat /etc/os-release
```

3\. **cat /etc/lsb-release**: This command shows information specific to the Linux Standard Base (LSB) of the operating system.

```bash
cat /etc/lsb-release
```

4\. **cat /etc/issue**: This command shows the Ubuntu version information.

```bash
cat /etc/issue
```

5\. **hostnamectl**: This command provides information about the system, including the Ubuntu version.

```bash
   hostnamectl
```

You can use any of these commands to find out which version of Ubuntu you are running.