Merge pull request #710 from notpeter/raa-fix

w: add -i example, uniq: additions, seq: add page
waldyrious/alt-syntax
Ruben Vereecken 2016-01-23 19:05:14 +02:00
commit 00357ca6ee
3 changed files with 32 additions and 1 deletions

15
pages/common/seq.md Normal file
View File

@ -0,0 +1,15 @@
# seq
> Output a sequence of numbers to stdout.
- Sequence from 1 to 10:
`seq 10`
- Every 3rd number from 5 to 20:
`seq 5 3 20`
- Separate the output with a space instead of a newline:
`seq -s " " 5 3 20`

View File

@ -1,6 +1,6 @@
# uniq
> Report or omit repeated lines.
> Output the unique lines from the given input or file.
- Display each line once:

16
pages/osx/w.md Normal file
View File

@ -0,0 +1,16 @@
# w
> Show who is logged on and what they are doing.
> Print user login, TTY, remote host, login time, idle time, current process.
- Show logged-in users info:
`w`
- Show logged-in users info without a header:
`w -h`
- Show info about logged-in users, sorted by their idle time:
`w -i`