mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 23:35:25 +02:00
adds commands to xargs and moves to pages/common
- xargs is also native to OS X
This commit is contained in:
parent
ba3b07cf0c
commit
b1d38625d5
1 changed files with 4 additions and 0 deletions
|
@ -13,3 +13,7 @@
|
|||
- Example: list unneeded packages with deborphan and remove them with apt-get:
|
||||
|
||||
`sudo deborphan | xargs sudo apt-get remove`
|
||||
|
||||
- creating variables: copy all files that start with 'M' to the Desktop
|
||||
|
||||
`ls M* | xargs -J % cp % ~/Desktop`
|
Loading…
Add table
Reference in a new issue