Hi all,
Hope all the expert can help me in this situation.
Let say I have one file with multiple record like below:
NAME=FRAGMENT
LANGUAGE=1
DIALECT=0
GENDER=NONE
FILE=TEST1
DIRECTORY=D:/DETAILS/1/0/test1.txt
END
NAME=FRAGMENT
LANGUAGE=1
DIALECT=0
GENDER=NONE (13 Replies)
Hello everybody,
I need some help here to create a script to parse a log file. Here is a sample of the log file :
0x42258940 (Debug) Cache SUMMARY attrs now/668 min/668 max/668.
0x42258940 (Debug) RSVD SUMMARY reserved space max requested/128 MB accounted now/0 MB
0x42258940 (Debug)... (12 Replies)
Hi ,
I have a CSV file that has around 50K records in it. I have to delete all the duplicate rows from the file except one, depending upon data in column4.
Lets say there are 3 rows for 'column4data' in the file. I have to retain only that line which has the smallest date value in column2.... (3 Replies)
Hi Friends,
I need some help. First look at my files hierchachy
/<level-1>/<level-2>/<level-3>/*.tif
eg. :
/2010-07-01/AFFIDAVIT-OF-SERVICE---FOR-SC/001/Babylon2_20100701012049_1278004849.49892_000.tif... (2 Replies)
Hi All,
Please read the below data carefully.
I need an unix command for converting unix timestamp to Epoch timestamp.
I need to daily convert this today's unix(UTC) time to epoch time, so i am thinking to make a shellscript for this.
Please help me for this by providing... (3 Replies)
Hi there, would appreciate some help on this parsing problem if anybody can help
im trying to parse a variable with the following output, each of the values im trying to parse are deliminated by a ;
T192... (8 Replies)
I'm fairly new to bash scripts, and all things unix in general. But I was in desperate need of this script, so I took matters into my own hands and built it!
The first script uses a password generator that creates 4 letter domain names and outputs only the ones that are available. Currently its... (0 Replies)
Hi guys,
I am currently working as a system administration engineer, administering telecom applications on linux/unix platforms.
I want to learn new things and improve the ones that i have and for this i though to really work on some project or something but i lack of ideas.
I want to be... (2 Replies)
I'm in a desperate pursuit for Tools and Drivers CD for the six of my Ultra 20 M2 workstations - some of them have latest BIOS, some of them don't.
Oracle doesn't support them anymore - I even bought myself a CSI to get to support, but still no luck - and it seems the ISOs are nowhere to be found... (2 Replies)
Hello:
I am working parsing a large input file which will be broken down into multiples based on the second field in the file, in this case: STORE.
The idea is to create each file with the corresponding store number, for example: Report_$STORENUM_$DATETIMESTAMP , and obtaining the... (7 Replies)
Discussion started by: ec012
7 Replies
LEARN ABOUT OPENSOLARIS
getvol
getvol(1M) System Administration Commands getvol(1M)NAME
getvol - verifies device accessibility
SYNOPSIS
/usr/bin/getvol -n [-l label] device
/usr/bin/getvol [-f | -F] [-ow] [-l label | -x label] device
DESCRIPTION
getvol verifies that the specified device is accessible and that a volume of the appropriate medium has been inserted. The command is
interactive and displays instructional prompts, describes errors, and shows required label information.
OPTIONS
The following options are supported:
-n Runs the command in non-interactive mode. The volume is assumed to be inserted upon command invocation.
-l label Specifies that the label label must exist on the inserted volume (can be overridden by the -o option).
-f Formats the volume after insertion, using the format command defined for this device in the device table.
-F Formats the volume after insertion and places a file system on the device. Also uses the format command defined for this device
in the device table.
-o Allows the administrator to override a label check.
-w Allows administrator to write a new label on the device. User is prompted to supply the label text. This option is ineffective
if the -n option is enabled.
-x label Specifies that the label label must exist on the device. This option should be used in place of the -l option when the label
can only be verified by visual means. Use of the option causes a message to be displayed asking the administrator to visually
verify that the label is indeed label.
OPERANDS
The following operands are supported:
device Specifies the device to be verified for accessibility.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 Command syntax was incorrect, invalid option was used, or an internal error occurred.
3 Device table could not be opened for reading.
FILES
/etc/device.tab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)NOTES
This command uses the device table to determine the characteristics of the device when performing the volume label checking.
SunOS 5.11 5 Jul 1990 getvol(1M)