Get Linux distribution information

pull/214/head
danasmera 2015-07-17 01:46:56 -04:00
parent 895c255fe1
commit c8c84d0db6
1 changed files with 3 additions and 0 deletions

View File

@ -302,6 +302,9 @@ A few examples of piecing together commands:
} }
``` ```
- Find out the name,version and codename of your Linux OS distribution with Python
`python -c 'from platform import dist; print dist()'`
## Obscure but useful ## Obscure but useful