10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI frinds
I have file have content like:
"MSISDN: 4247242"
But it may be in different field/column in every line. i want command to search content MSISDN and print its next numeric value "4247242" from each row. (7 Replies)
Discussion started by: dodasajan
7 Replies
2. Shell Programming and Scripting
Hi,I have 2 files master.txt & reference.txt as shown below & i require o/p as mentioned in file 3 using awk but content is not replacing properlymaster.txt:... (15 Replies)
Discussion started by: siramitsharma
15 Replies
3. Shell Programming and Scripting
Hi I have multiple files in a folder and one file which contains a list of files (one on each line). I was to search for a string only within these files and not the whole folder. I need the output to be in the form
File1<tab>string instance 2<tab> string instance 2<tab>string instance 3... (6 Replies)
Discussion started by: pkabali
6 Replies
4. Shell Programming and Scripting
Have to read one file say sourcefile containing several words and having another folder containing several files.
Now read the first word of Sourcefile & search it into the folder consisting sevral files, and create another file with result. We hhave to pick the filename of the file in which... (3 Replies)
Discussion started by: mukesh.baranwal
3 Replies
5. SuSE
Hello Linux Masters,
I am not a linux expert therefore i need help from linux gurus.
Well i have a requirement where i need to search all files based on first patterns and after seraching all files then serach second pattern in all files which i have extracted based on first pattern.... (1 Reply)
Discussion started by: Black-Linux
1 Replies
6. Shell Programming and Scripting
Hello,
How to search in directory by comparing some string with the content of
directory.
Ex:
I want to compare abhi string with the content of backup directory.
i.e want to check that is there any file in backup directory having name
... (3 Replies)
Discussion started by: AbhijitIT
3 Replies
7. Shell Programming and Scripting
Hi All,sorry for inconvience....please find the attachement for my question i am unable to paste the question here....please help me in slving thisthanksk.k (4 Replies)
Discussion started by: G.K.K
4 Replies
8. Linux
Hi folks,
What will be an easy and effective way searching file content? E.G I need to find a WORD or a PHRASE on a file? TIA
B.R.
satimis (4 Replies)
Discussion started by: satimis
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a problem when searching a file, the file containt with the following:
95671660:Jones:Sarah:45:sales manager
93272658:Smith:John:43:technical manager
98781987:Williams:Nick:35:computer officer
99893878:Brown:Sarah:12:electrician
95673456:Couch:David:26:chef... (3 Replies)
Discussion started by: elenatec
3 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
Lets say I have 3 files a.txt and b.txt and c.txt.
a.txt has the following text
====================
apple is good for health
b.txt has the following text
====================
apple is pomme in french
c.txt has the following text
====================
orange has citric acid... (1 Reply)
Discussion started by: amjath78
1 Replies