Difference between revisions of "Argument list too long"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
* <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | * <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | ||
+ | |||
+ | === Alternatives === | ||
+ | [[find]] . -exec ls | [[sort]] -rnk7 | more | ||
+ | |||
+ | |||
== Related terms == | == Related terms == | ||
* <code>[[for]]</code> | * <code>[[for]]</code> | ||
− | * <code>execve</code> and <code>ARG_MAX</code> constant | + | * <code>[[execve]]</code> and <code>[[ARG_MAX]]</code> constant |
+ | * [[No space left on device]] | ||
+ | * [[argv]] | ||
== See also == | == See also == | ||
* {{linux commands}} | * {{linux commands}} | ||
* {{Bash}} | * {{Bash}} | ||
+ | |||
+ | [[Category:Linux]] |
Latest revision as of 07:43, 27 April 2022
https://stackoverflow.com/questions/11289551/argument-list-too-long-error-for-rm-cp-mv-commands
find find . -maxdepth 1 -name '*.pdf' -delete
ls -ld $(find ./) | sort -rnk5 | more
Alternatives[edit]
find . -exec ls | sort -rnk7 | more
Related terms[edit]
for
execve
andARG_MAX
constant- No space left on device
- argv
See also[edit]
- Linux commands,
-h
,-r
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: