Skip to content

Commit

Permalink
add cut
Browse files Browse the repository at this point in the history
  • Loading branch information
crhuber committed Aug 31, 2020
1 parent 12d4088 commit 935eb62
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions readme.md
Expand Up @@ -1207,6 +1207,13 @@ If all we’re interested in are regular user accounts, we can include a pattern
awk -F: '$3 >= 1000 {print $1,$6}' /etc/passwd
```

* cut

Get the second field delimited by a dot
```
cut -f2 -d "."
```

* Sed

```
Expand Down

0 comments on commit 935eb62

Please sign in to comment.