Output would look like this: ('20080920212141','net','Q05','DB','0','20080921064023','netbackup','netbackup')
Now i want to display only the time start & end time with return code "0" in the middle of the line as one of the format below.
2008/09/20/ 21:21:41
Pipe the last line through sed:
Quote:
And in the script am greping for word 'insert' and taking the last line and again doing Print $7.. do this am able to get the whole things which is in (******)... but i dont want all the information.
How to change the modified time of a file to any specified time.
ls -ltr
drwxr-xr-x 2 pipe pipe 4096 Jun 10 10:33 coredump_06062008
----------------------------------------------------------------------
here file coredump_06062008 last modified time is Jun 10 10:33 and i... (1 Reply)
I have an input file which looks like this:
601 a
602 a
603 a
601 b
610 c
615 c
603 d
601 d
612 d
I need the utput to look like this
601 a 602 603
602 a 601 603
603 a 601 602
601 b
610 c 615
615 c 610
603 d 601 612 (1 Reply)
Is it possible using just korn shell script to display a variable on the screen that is constantly changing in on place on the screen, to tell it in coordinates or something? In a loop, echo will print a new line each time, can I make it a static position? Thanks (7 Replies)
Hi all,
we have IBM- AIX 5.2 operating system on that we have our oracle production database and there is daily crontab script for backup. my boss told me to change the server time.if i change the server time by root user does it give problem to any application or script which are... (2 Replies)
HI
I checked the pid of a process on my machine using this command.
ps -ef | awk '/process_name/{ print $2 }'
I get the result as 12245
I check it again after 2 mins, I get the result as 12264
I check it again after 2 mins, I get the result as 12289
It keeps on this. How does this pid... (4 Replies)
Hi,
My file
cat a.txt
Sat Nov 27 00:02:00 2010
00:02:00 Usr 27: Login by edi on batch. (452)
00:02:09 Usr 27: Logout by on batch. (453)
00:02:09 Usr 27: Login by edi on batch. (452)
00:02:22 Usr 27: Logout by on batch. (453)
00:02:22 Usr 27: Login by edi on batch.... (3 Replies)
Discussion started by: ganeshanbu
3 Replies
LEARN ABOUT SUSE
wxpaste
wxpaste(1x)wxpaste(1x)NAME
wxpaste - output a cutbuffer to stdout
SYNOPSIS
wxpaste [options]
DESCRIPTION
wxpaste outputs the contents of the specified cutbuffer to stdout. If no cutbuffer is specified, the cutbuffer 0 will be used as default.
OPTIONS -cutbuffer number
The data will be pasted from the specified cutbuffer, instead of the default 0.
-display display-name
Specifies the display where wxpaste should look for the data to be pasted.
-selection [selection-name]
The data will be copied from the named selection. If cutting from the selection fails, the cutbuffer will be used. The default value
for the selection name is PRIMARY.
BUGS
The -selection option must be the last one. The syntax could be
cleaned, but backwards compatibility prevents that...
INCR and MULTIPLE selection types are not handled. Actually, only simple text selections are handled, wich should be enough for most
uses of a utility such as this.
SEE ALSO wxcopy(1x), wmaker(1x)AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>.
March 1998 wxpaste(1x)