mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2025-02-16 21:18:23 +00:00
add others
cut the last column
This commit is contained in:
parent
9ff923bd6c
commit
07f29055e9
1 changed files with 4 additions and 0 deletions
|
@ -1562,6 +1562,10 @@ Move up/down with the arrow keys (↑ and ↓).
|
|||
nl
|
||||
e.g. cat filename|cut -f2|nl
|
||||
```
|
||||
##### Cut the last column
|
||||
```bash
|
||||
cat filename|rev|cut -f1|rev
|
||||
```
|
||||
|
||||
|
||||
## System
|
||||
|
|
Loading…
Add table
Reference in a new issue