pull/220/merge
Daniel t 2017-06-05 21:16:37 +00:00 committed by GitHub
commit 1614209872
1 changed files with 5 additions and 0 deletions

View File

@ -383,6 +383,10 @@ 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
@ -532,6 +536,7 @@ A few examples of piecing together commands:
- `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful" - `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful"
- `sysctl`: view and change kernel parameters at runtime.
## OS X only ## OS X only