1
0
mirror of https://github.com/jlevy/the-art-of-command-line.git synced 2025-03-05 15:05:54 +02:00

128K limit on commandline

This commit is contained in:
Lakshmipathi.G 2016-02-15 02:11:02 +05:30
parent e64c2f3c09
commit f8fc819af2

View File

@ -315,6 +315,8 @@ Also use `rsync` instead of `scp`, so that after network interruption you resume
- If you delete a file and it doesn't free up expected disk space as reported by `du`, check whether the file is in use by a process:
`lsof | grep deleted | grep "filename-of-my-big-file"`
- Know about the [128K limit](https://wiki.debian.org/CommonErrorMessages/ArgumentListTooLong) on command lines. This "Argument list too long" error is common when wildcard matching large numbers of files. (When this happens alternatives like `find` and `xargs` may help.)
## One-liners
A few examples of piecing together commands: