10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi experts,
I have a file image.csv as below:
COMPUTERNAME,23/07/2013,22/07/2013,21/07/2013,20/07/2013,19/07/2013,18/07/2013,17/07/2013
AED03852180,3,3,3,3,3,3,3
AED03852181,3,3,3,3,3,3,1
AED09020382,3,0,3,0,3,3,3
AED09020383,1,3,3,3,2,1,3
AED09020386,3,3,0,3,3,0,3 ... (4 Replies)
Discussion started by: zaq1xsw2
4 Replies
2. Shell Programming and Scripting
HI All,
We have an Redhat Machine,
And some folder with couple simple text files, this files containing a lot of lines with various strings and IP address with different classes.
The Requirement in eventually , is to pass the all various IP addresses to Excel.
My question is : what is... (4 Replies)
Discussion started by: James Stone
4 Replies
3. Shell Programming and Scripting
Hello to all in forum,
Maybe some unix expert could help me. I have the following tcpdump command:
tcpdump -i any port 13907 -s 0 -w Out.cap
I would like to run tcpdump to only capture data related with especific string.
Within the dump the protocol is GSM MAP and the string is Address... (0 Replies)
Discussion started by: cgkmal
0 Replies
4. Shell Programming and Scripting
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
Discussion started by: vivek d r
10 Replies
5. Shell Programming and Scripting
Hi
I am interested in DNS resolving a set of sites and each time the output is different-
$ host www.yahoo.com
www.yahoo.com is an alias for fd-fp3.wg1.b.yahoo.com.
fd-fp3.wg1.b.yahoo.com is an alias for ds-fp3.wg1.b.yahoo.com.
ds-fp3.wg1.b.yahoo.com is an alias for... (1 Reply)
Discussion started by: jamie_123
1 Replies
6. AIX
Hi!!
I have a bit of a task here and filtering/scripting not my strongest. I have to collect info of approx 1100 hdiskpower.so i have appended all the hdisk into a text file and i need it to run the command lscfg -vl to confirm if the drive is symmetrix. here's what i have so far
at... (3 Replies)
Discussion started by: vpundit
3 Replies
7. Shell Programming and Scripting
I have to grep a pattern. scenario is like :-
Suppose "/etc/sec/one" is a string, i need to check if this string contains "one" using any utility
something like
if /etc/sec/one | grep ; then
Thanks in advance
Renjesh Raju (3 Replies)
Discussion started by: Renjesh
3 Replies
8. Shell Programming and Scripting
My input contains a single word lines.
From each line
data.txt
prjtestBlaBlatestBlaBla
prjthisBlaBlathisBlaBla
prjthatBlaBladpthatBlaBla
prjgoodBlaBladpgoodBlaBla
prjgood1BlaBla123dpgood1BlaBla123
Desired output -->
data_out.txt
prjtestBlaBla
prjthisBlaBla... (8 Replies)
Discussion started by: kchinnam
8 Replies
9. Shell Programming and Scripting
Hi all,
I'm interested in printing out only the prefix of a formatted set of filenames. All files of this type have the same 8 character suffix. I'm using KSH.
Is there a command I could use to print the filenames, less the last 8 characters? Was thinking of using sed 's/<last 8 chars>//',... (1 Reply)
Discussion started by: rockysfr
1 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to write a script which prints out the users who are loged in.
Printing the output of the "users" command isn't the problem. What I want is to filter out my own username.
users | grep -v (username)
does not work because the whole line in which username exists is suppressed.
If... (5 Replies)
Discussion started by: Cozmic
5 Replies