Summary: Need help to grep for a string in each and every files in multiple folders just like the find command works find ./ -name abc.txt -print Any help woul...
Summary: Hi! I want to know if there is any way to substitute the contextual grep (-C) function of Linux in UNIX. My problem is that I need the 10 lines prece...
Summary: hello, may i know how can i find and change string in multiple file...i had refer some of the post here .. but found that all is about find and change...
Summary: i need to search for *.txt in the current directory(excluding sub-directories) and need to itirate through each *.txt i.e. my requirement is to pick e...
Summary: hi, this is my example name age number (not list in the file) acb 51 1234 hela 42 4567 my question is that now i know how to cut the column...
Summary: I am writing a phone list utility. I want to ask the user for a name and number that they will input from the command line. I will then take this data...
Summary: hi, can any body tell me how can i use awk command to search the data in multiple files and only display filenames containing searched data???? regard...
Summary: I am trying to search a line starts with user=username in multiple files and replace the username (the username is different in each file) with a new...
Summary: A one-liner solution would be: awk '/just testing/ {print;exit}' myfile And a script follows. If the passed grep string has embedded spaces, enclose ...
Summary: I am a beginner of shell scripts. I need help in writing a script for replacing duplicate of multiple lines in a list of files in a directory with so...
Summary: can this DOS command be done in unix: 'dir/s "wildcards+part/file name"' with the unix ls command? i.e. dir/s .login <-- searches all dirs for the .lo...
Summary: Hi, I intend to do a search and replace for specific words for files under a directory (inclusive of subdirectories). I know how to do that file by fi...
Summary: There are a number of ways to search for a pattern in a file. grep searches for a pattern. You can use the exit status, $?: Assuming you are searchi...
Summary: can I use OR in searching or multiple search in one go before substitute command...someting of following sort.. :g/kamal/ g/preet/ s/me/myself/g where...
Summary: Please help... I need to delete files in all sub-directories that are more than 10 days old or delete all sub-directoires (entire directory) that's 10...
Summary: Ok, first and foremost you are from APIIT hf01a2c and I know and next do no immitate my gf's nick.Next, if you find it so hard to do this assignment g...
Summary: thank you for the replies. i would like to be able to search for multiple records. could you please explain how to use the -x for debugging in the sc...
Summary: Hi, I need to pick up files older than 5 days and then do something (move them, actually). This works fine with the find command. However i do NOT wan...
Summary: Hey there..... You might want to choose a CUSTOM installation, or go here: http://www.caldera.com and do a search in the FAQ for SYSTEM ERROR 6: FS T...
Summary: Hi gurus , I need a help .....i have a file #CORBA TESTCASES ARE REMOVED FROM HERE. THEY ARE RUN IN WINDOWS NOW... #CORBA TESTCASES #xrun /AutoCtm/tes...
Summary: You are getting both lines because the string you are matching is found with a non-word character (the .) in the second instance. An example of how g...
Summary: I'm trying to calculate the date 14 days into the future with the date function. Searching in this site I found something in a past post that subtrac...
Summary: GREP SEARCHING FOR TABS USING THE TERMINAL Broken down there are 4 possibilities how tabs might occur on a line; 1. find tabs only ^([[:cntrl:]]...
Summary: hie there, i would like to know how do i compare files in a current directory? i don't want to compare just 2 files with the diff filename1 fil...
Summary: hi i have a question for using searching in /etc/shadow with wildcard.it just struct to my mind but i cudnt get hold of it.if any of the linux gurus c...