Get Linux distribution information

pull/220/head
danasmera 2015-07-17 01:46:56 -04:00
parent 4750ccc6eb
commit b9d9ac8ff6
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