Vamsi Pavan’s Place

When curiousity outbursts …..

Entries Tagged as 'Shell'

Recursive execusion of commands in Linux command prompt

December 6th, 2006 · No Comments · Linux, Shell

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 […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

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 […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags: