lsb_release -i
may work for you.
More detail is available with lsb_release -a
Some discussion at http://etbe.coker.com.au/2007/08/30/identifying-the-distribution-of-a-linux-system/
More Related Contents:
- What happens if there is no exit system call in an assembly program?
- Maximum number of processes in linux [closed]
- How is the system call in Linux implemented?
- What is the overhead of a context-switch?
- Programmatically get parent pid of another process?
- “zero copy networking” vs “kernel bypass”?
- init function invocation of drivers compiled into kernel
- DNS caching in Linux [closed]
- Check the open FD limit for a given process in Linux
- Argument list too long error for rm, cp, mv commands
- How to kill a process running on particular port in Linux?
- What is RSS and VSZ in Linux memory management
- How to generate a core dump in Linux on a segmentation fault?
- Appending a line to a file only if it does not already exist
- Why do you need to put #!/bin/bash at the beginning of a script file?
- Virtual Serial Port for Linux
- docker.sock permission denied
- How to redirect stderr and stdout to different files in the same line in script?
- Handling multiple SIGCHLD
- Why can’t capture SIGSEGV using signalfd?
- Find files and tar them (with spaces)
- Redirecting command output in docker
- Comparing Unix/Linux IPC
- Difference between PID and TID
- Doesn’t sh support process substitution
- How can I use xargs to copy files that have spaces and quotes in their names?
- Where can I find the Java SDK in Linux after installing it?
- Linux: process into a service
- How to set process group of a shell script
- How to calculate CPU utilization of a process & all its child processes in Linux?