the command/ set of commands to capture that string?
In case you have an AIX box,run following command
You'll see five-column o/p ,of which 5th column will have strings ,separated by whitespaces.
Select one row where 5th column would be a such a huge string.Now assume you are iterating over its PID(1st column value) meaning you know this value and need to iterate over this to get that 5th column and whatever is there in that column ,assign it to a variable.
Hi friends...
I am sending a file say xyz.xls to a mail through unix.
The .xls file is more than 65 thousand in size so I want to spilt the file size into 40 thousand and 25 thousand.
So can anyone provide any inputs.... (1 Reply)
I have few AIX 5.3 boxes where following is the issue.
I have a variable whose value is a very huge string ...(5000+ characters)
CMD_ARGS="/global/site/vendor/WAS/WebSphere6/AppServer/java/bin/java... (7 Replies)
So, I want to read line-by-line a text file with unknown number of files....
So:
a=1
b=1
while ; do
b=`sed -n '$ap' test`
a=`expr $a + 1`
$here do something with b etc
done
the problem is that sed does not seem to recognise the $a, even when trying
sed -n ' $a p'
So, I cannot read... (3 Replies)
Hi All,
I'm trying to figure out which are the trusted-ips and which are not using a script file.. I have a file named 'ip-list.txt' which contains some ip addresses and another file named 'trusted-ip-list.txt' which also contains some ip addresses. I want to read a line from... (4 Replies)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
Hello,
I need a program that read a file line by line and prints out lines 1, 2 & 3 after an empty line... An example of entries in the file would be:
SRVXPAPI001 ERRO JUN24 07:28:34 1775
REASON= 0000, PROCID= #E506 #1065: TPCIPPR, INDEX= 003F
... (8 Replies)
Hi all,
I have a log file say Test.log that gets updated continuously and it has data in pipe separated format. A sample log file would look like:
<date1>|<data1>|<url1>|<result1>
<date2>|<data2>|<url2>|<result2>
<date3>|<data3>|<url3>|<result3>
<date4>|<data4>|<url4>|<result4>
What I... (3 Replies)
SPLASHY_UPDATE(1) Splashy POSIX boot splash system SPLASHY_UPDATE(1)NAME
Splashy - a user-mode, POSIX and LSB compliant, boot splashing system for UNIX.
SYNOPSIS
splashy_update "<text>"
DESCRIPTION
Splashy displays an image and a progress bar at boot time. splashy_update is used to send commands to the running Splashy daemon. See
"COMMANDS" below to know which commands Splashy understands.
OPTIONS
text Sends text to Splashy socket.
COMMANDS
chroot <string>
<string> is a valid path to which Splashy will be chroot'd.
chvt <number>
Switch to vt <number>.
clear Clears the text box area.
CLEAR Same as "clrprint". For compatibility with usplash.
exit Exits Splashy server.
getstring <string>
Makes splashy prompt for a string. The first argument will be the prompt displayed.
getpass <string>
Same as getstring except that the characters typed will no be shown, like in a password box.
progress <number>
Updates the progress bar to <number>%, where N is a number between 0 and 100.
PROGRESS <number>
Same as "progress". For compatibility with usplash.
print <string>
Print <string> in the text box.
scroll <string>
Print <string> in the text box and scroll down.
repaint Redraw the background image.
TEXT <string>
Same as "print". For compatibility with usplash.
SCROLL <string>
Same as "scroll".
timeout <number>
Sets the amount of seconds splashy waits for new commands. If that time is exceeded, it exits.
QUIT Same as "exit". For compatibility with usplash.
RETURN CODES
1 cannot open the socket
2 cannot write to socket
3 invalid args
255 /etc/splashy does not exist
FILES
/etc/splashy/config.xml
Main configuration. defines how splashy should be setup.
SEE ALSO splashy(1), splashy_config(1), splashy-config.xml(5), splashy-theme.xml(5)AUTHORS
Andrew Williams <mistik1@geeksinthehood.net>
Luis Mondesi <lemsx1@gmail.com>
perl v5.12.1 2010-07-05 SPLASHY_UPDATE(1)