Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753835Ab0ATSEd (ORCPT ); Wed, 20 Jan 2010 13:04:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751418Ab0ATSE3 (ORCPT ); Wed, 20 Jan 2010 13:04:29 -0500 Received: from khc.piap.pl ([195.187.100.11]:44560 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268Ab0ATSE2 (ORCPT ); Wed, 20 Jan 2010 13:04:28 -0500 From: Krzysztof Halasa To: Ramagudi Naziir Cc: linux-kernel@vger.kernel.org Subject: Re: how do YOU hack the linux kernel ? References: Date: Wed, 20 Jan 2010 19:04:22 +0100 In-Reply-To: (Ramagudi Naziir's message of "Tue, 19 Jan 2010 14:52:57 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 31 Ramagudi Naziir writes: > do you use vim ? Sure, for small changes. And emacs. > If so, how do you open files you want to read/edit ? > Assuming you don't remember their exact name/location, you'd need to > use something like 'find . -iname '*pattern*'. which is slow. Not very slow, if the tree is already in cache. You need only ca. 1 GB of RAM for this. I never use ".", I use "*" instead as it ignores .git directory: $ time find * -iname \*pattern\* real 0m0.051s $ time grep "The pattern" * -r (results) real 0m0.330s (grep -i is much slower). Other tools? Git, gitk and WWW browser :-) -- Krzysztof Halasa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/