Jul 18, 2003 #1 pirolgra Technical User Nov 11, 2002 25 IT what's the command to find a string in a file ( i must find it in all FS ) Thanks
Jul 18, 2003 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB find . -print | xargs grep 'string' Upvote 0 Downvote
Jul 18, 2003 Thread starter #3 pirolgra Technical User Nov 11, 2002 25 IT How can i do to display only the fist record of file ? Upvote 0 Downvote
Jul 18, 2003 #4 KenCunningham Technical User Mar 20, 2001 8,475 GB find . -print -name | xargs head -1 Upvote 0 Downvote