When we want to execute any command recursively for a directory, we can use find command for that.
find . -name ‘blah*’ -exec rm -rf {} ;
But some times, it gives the error as Argument list too long. In that kind of situations, we better we go for this.
find . -name ‘blah*’ -print0 | xargs -0 […]
Entries Tagged as 'Shell'
Recursive execusion of commands in Linux command prompt
December 6th, 2006 · No Comments · Linux, Shell
Tags:
Disable wildcard epansion in Bash shell
October 6th, 2006 · No Comments · Shell
set -f
This disables the wildcard expansion in bash shell.
Example:
$ ksh
$ ls -c
Tom t tt ufaq
$ set -f
$ echo t*
will output
t*
Bookmark it!
These icons link to social bookmarking sites where readers can share […]
Tags:















