9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have file contents
/tmp/x/abc.txt
/home/bin/backup/sys/a.log
I need this output:
/tmp/x/
/home/bin/backup/sys/
Can somebody please help me out
Please use CODE tags as required by forum rules! (3 Replies)
Discussion started by: jhonnyrip
3 Replies
2. Shell Programming and Scripting
HI Guys,
My Input :-
R3 AV44 50 0 100 100 100
R3 AV44 1 0 100 100 100
R3 AV45 50 0 100 100 100
R3 AV45 0 3 100 100 100
R3 AV45S 50 0 100 100 100
R3 AV45S 0 4 100 100 100
Output :-
R3 AV44 50 0 100 100 100 1 0 100 100 100
R3 AV45 50 0 100 100 100 0 3 100 100 100
R3 AV45S 50 0... (9 Replies)
Discussion started by: pareshkp
9 Replies
3. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
4. Shell Programming and Scripting
im trying to use this shellscript in one command line, but isnt working.
shellscript:
SERVER=ftp.site.com
USER=Foo
PASSW=3122
ftp -v -n $SERVER <<END_OF_SESSION
user $USER $PASSW
$FILETYPE
lcd /home/foo/mywebsite
mput *
mput *.*
bye
END_OF_SESSION
Im trying a lot of... (7 Replies)
Discussion started by: fbs777
7 Replies
5. Shell Programming and Scripting
Hi all,
I have a single line output like below
echo $ips
10.26.208.28 10.26.208.26 10.26.208.27
want to convert above single line output as below format. Pls advice how to do ?
10.26.208.28
10.26.208.26
10.26.208.27
Regards
Kannan (6 Replies)
Discussion started by: kamauv234
6 Replies
6. Shell Programming and Scripting
Hello,
I have a text file with the following fields:
RecordNumber
Name
Email
Date
Notes
Confirmed
MailingList
The problem is that each field is on a separate line. These seven fields repeat for the length of the file. What I want to do is to have a bash script or similar unitil EOF... (6 Replies)
Discussion started by: vestport
6 Replies
7. HP-UX
Hi,
I'm creating a preventive maintenance script (automated) and I would like to get the cpu, mem, disk & network stats which you get when running glance as an output of a command so I can use it in my script
I made some progress though:
this is the command I use
glance -aos... (5 Replies)
Discussion started by: berre
5 Replies
8. Shell Programming and Scripting
Hello all
is there any way in unix to execute command in multithreaded way
without doing it in java or cpp
can one of the scripts handle multithread execution ?
i need to test server requests ( corba ) in multithread
Thanks (0 Replies)
Discussion started by: umen
0 Replies
9. Shell Programming and Scripting
Write a C shell script "in2ftcm" which uses arithmetic expansion to convert from inches to meters and centimetres, rounded down to the nearest whole number of centimetres. Input should be a whole number of inches, and you may assume. Explain your algorithm to determine the inches from the... (2 Replies)
Discussion started by: Ringo
2 Replies