Tip Details Add a Related Tip

Rate as: Positive Negative

Open a list of files in vim from a grep command (linux)

This helpful command lets you open only files that match a certain condition - in a directory and all it's subdirectories. It's great way to open files that need editing that may be located all over a directory structure of a website.

vi `grep -rl 'example.js' *`

This command will open all files that contain the string "example.js" in the current directory and all its subdirectories!
Link: helpfulcoder.blogspot.com...Search for more tips related to this link
Rating: 100% positive, 1 Vote
Categories: web design linux
Added: on Jan 10, 2008 at 12:26 pm
Added By: an anonymous user

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

ssh and scp without passwords

Categories: shell Mac linux UNIX
100% positive, 1 comment - last added on Jun 20, 2008 at 9:19 am
– Tip added by an anonymous user on Dec 21, 2007 at 2:51 pm

Color coding the ls command in Fedora

100% positive, 0 comments
– Tip added by an anonymous user on Apr 25, 2008 at 8:27 am

Build your own cheap computer

Categories: Computers frugal linux kids
100% positive, 0 comments
– Tip added by an anonymous user on Jun 04, 2008 at 4:38 pm

Creating Cool Graphics

Categories: web design
100% positive, 0 comments
– Tip added by an anonymous user on May 25, 2008 at 12:46 pm

Use firebug to debug or just make sense of complex sites

100% positive, 0 comments
– Tip added by an anonymous user on May 23, 2008 at 8:41 am

Backing up a Linux machine

100% positive, 0 comments
– Tip added by an anonymous user on Mar 19, 2008 at 3:19 pm

Fedora update kills log rolling

Categories: Fedora linux repair bugs
100% positive, 1 comment - last added on Feb 29, 2008 at 7:39 am
– Tip added by an anonymous user on Feb 28, 2008 at 7:29 am

Resize text area inputs in Safari

50% positive, 0 comments
– Tip added by an anonymous user on Feb 25, 2008 at 7:44 am

How to Create a Custom RSS 2.0 Feed for Your Site with PHP

100% positive, 1 comment - last added on Feb 15, 2008 at 7:49 am
– Tip added by Walkere on Feb 15, 2008 at 7:39 am

How to Send E-Mail in PHP: A “Share This” Form

50% positive, 0 comments
– Tip added by Walkere on Feb 06, 2008 at 6:45 pm

How to Create a Random Password in PHP

100% positive, 0 comments
– Tip added by Walkere on Feb 03, 2008 at 9:14 am

Automatic Login on gOS

Categories: Linux gOS
100% positive, 0 comments
– Tip added by an anonymous user on Jan 08, 2008 at 5:19 pm

Upgrading OpenSEF to sh404SEF - and taking Mosets Tree with you

100% positive, 0 comments
– Tip added by an anonymous user on Dec 28, 2007 at 9:46 am

E-Commerce Web Site Development, London, UK

no ratings, 0 comments
– Tip added by obsgroup on Jun 12, 2008 at 5:15 am

Software Development Automation with Scripting Languages

Categories: linux unix scripting
no ratings, 0 comments
– Tip added by an anonymous user on Jun 05, 2008 at 2:40 pm

Find out if your website is optimized for SEO

no ratings, 0 comments
– Tip added by an anonymous user on Mar 18, 2008 at 11:16 am

Javascript: How to Create a Random Number

0% positive, 0 comments
– Tip added by Walkere on Feb 23, 2008 at 9:49 pm

Adding programs to the iBar in gOS

Categories: gOS linux customization
no ratings, 0 comments
– Tip added by an anonymous user on Feb 03, 2008 at 12:17 pm

Running X11 programs from the terminal

no ratings, 0 comments
– Tip added by an anonymous user on Jan 28, 2008 at 8:04 am

CSS drop shadow without images

Categories: CSS web design
no ratings, 0 comments
– Tip added by an anonymous user on Jan 02, 2008 at 8:16 am