[Ilugc] .a-tip-a-day. xargs command

  • From: kapil@xxxxxxxxxxx (Kapil Hari Paranjape)
  • Date: Mon Sep 21 10:20:16 2009

Hello,

On Mon, 21 Sep 2009, Venkatraman S wrote:

On Sat, Sep 19, 2009 at 5:04 AM, Girish Venkatachalam <
girishvenkatachalam@xxxxxxxxx> wrote:

is a simple way to edit all files under /etc recursively including
directories. This is better.

$ find /etc -type f | xargs vi


Also, when i tried it with 5 files(txt), my cmd line got screwed up - as in,
the keymaps werent working - up, down arrows were not responding. (is this
only me or reproducible?)

I got the same results which leads me to suspect that the original
tip is faulty.

Kapil.
--

Other related posts: