10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
# cat test.txt
Test
Date: 20131008 1515
--------------------------------------------------------------------------------------------------------------
Saxx = Proc_m0_s13 : 1640
Saxx = Proc_m0_s15 : 1791
Saxx = Proc_m0_s17 ... (2 Replies)
Discussion started by: justbow
2 Replies
2. Shell Programming and Scripting
I can obtain information from itdt inventory command however it display as below, I'd like to print each entity on one line but seperated by :
the file is something like and each section ends with Volume Tag
Drive Address 256
Drive State ................... Normal
ASC/ASCQ... (3 Replies)
Discussion started by: gefa
3 Replies
3. Shell Programming and Scripting
i have a file like below
ABS 12234 A C 12G
CFY 23865 A C 34D
i want to grep "A C" then print
ABS 12G 12234
CFY 34D 23865
Thanks! (4 Replies)
Discussion started by: kingpeejay
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
To comply with a new naming convention on a mediawiki site we have to run a SED or other PERL command to change all instances of
] or ] or ]
to
]
Can someone please explain how to do this...
It has to be done on a mysql dump, so if there is a way to do this in mysql even... (2 Replies)
Discussion started by: lawstudent
2 Replies
5. UNIX for Dummies Questions & Answers
Hello
I have a silly question. I need to grep a match in text file
and then print 5 lines after it.
grep -A 5 .... do it.
OK
The next thing I can not handle is I need each output to be on 1 line
match line2 line3 line4 line5
match line2 line3 line4 line5
etc..
I will really... (10 Replies)
Discussion started by: alekkz
10 Replies
6. Shell Programming and Scripting
Hello
I need some help with this job.
file.txt
----- cut ----
TARGET
13/11/08
20:43:21
POINT 1
MOVE 8
772102y64312417771
TARGET
13/11/08
21:10:01
POINT 2
MOVE 5
731623jjd12njhd
----- cut ----
this is the example.
i need to grep for the word TARGET and print next 4 lines like... (1 Reply)
Discussion started by: alekkz
1 Replies
7. Shell Programming and Scripting
Hi,
I have to delete all line breakes but it doenst work.
$ sed -e 's/\\n//g' file.txt
and the output contents still line breakes.
What should I do?
sincerely,
Blackbox (3 Replies)
Discussion started by: Blackbox
3 Replies
8. Shell Programming and Scripting
I'm having problems since few days ago, and i'm not able to make it works with a simple awk+grep script (or other way to do this).
For example, i have a input file1.txt:
cat inputfile1.txt
218299910417
1172051195
1172070231
1172073514
1183135117
1183135118
1183135119
1281440202
... (3 Replies)
Discussion started by: poliver
3 Replies
9. Shell Programming and Scripting
hi,
how to print a row which contains a perticular word in its third column using grep, cut,
or any thing else.
thanks (2 Replies)
Discussion started by: useless79
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Everyone,
I am having problem to delete an "empty" folder ( messages attached ).
It displays "total 12" when i typed "ls -lart" on the fnxroot44 folder, but i can't view any file.
Is there any way to view those unseen files ? I don't know why option "a" is not working this time.
Would... (1 Reply)
Discussion started by: deejay
1 Replies