mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-29 15:46:35 +00:00
Xargs
- Prompt commands before running commands
This commit is contained in:
parent
328bd53614
commit
4b6247a712
@ -685,6 +685,11 @@ awk '{$6 = $4 - prev5; prev5 = $5; print;}'
|
|||||||
xargs -d\t
|
xargs -d\t
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Prompt commands before running commands
|
||||||
|
```bash
|
||||||
|
ls|xargs -L1 -p head
|
||||||
|
```
|
||||||
|
|
||||||
##### Display 3 items per line
|
##### Display 3 items per line
|
||||||
```bash
|
```bash
|
||||||
echo 1 2 3 4 5 6| xargs -n 3
|
echo 1 2 3 4 5 6| xargs -n 3
|
||||||
|
Loading…
Reference in New Issue
Block a user