10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have file with controlM (^M) character. i just wanted to run the script after removing the same through script.
Thanks in Advance
Ganesh. (1 Reply)
Discussion started by: Ganesh L
1 Replies
2. Solaris
Hi,
I am using solaris 10 OS.Please help me out with the commands needed in below two scenarios.
1)How to delete the existing files in the tar file.
suppose i have a main tarfile named application.tar and it contains a file called ingres.tar.
what is the command to remove ingres.tar... (2 Replies)
Discussion started by: muraliinfy04
2 Replies
3. Shell Programming and Scripting
Hi
When i used :set list in vi , i have seen a lot ^I characters in my file. Could anyone please help me how to remove this characters ?
Issue : When i used awk to combine two file (one of the file has ^I characters) then my output is different than what am expecting, one of column being... (2 Replies)
Discussion started by: rakeshkumar
2 Replies
4. Shell Programming and Scripting
Hi,
The source system has created the file in the dat format and put into the linux directory as mentioned below. I want to do foloowing things.
a) Delete the Line started with <CR><LF> in the record
b)Also line
...........................................................<CR><LF>
... (1 Reply)
Discussion started by: mr_harish80
1 Replies
5. UNIX for Advanced & Expert Users
How to remove the files along with its link files either hardlink or softlink? (1 Reply)
Discussion started by: Ramesh_srk
1 Replies
6. Shell Programming and Scripting
I have two files and need to compare the two files and to remove the matching lines from both the files (4 Replies)
Discussion started by: shellscripter
4 Replies
7. Shell Programming and Scripting
hi all, i have a flat file delimited by pipe (|), and i'm loading it to sybase, the problem is when i do a select to the table of the database, the last field has new line ascii (\x0a):
38,'0\x0a '
88,'076004074028\x0a '
27,'076004075023\x0a '
how can i remove the \x0a from... (1 Reply)
Discussion started by: DebianJ
1 Replies
8. Shell Programming and Scripting
hi all,
can u plz let me know how to get a file which is being deleted or removed using rm command in unix
thanks in advance
bali (1 Reply)
Discussion started by: balireddy_77
1 Replies
9. UNIX for Dummies Questions & Answers
Hi...
I am quite new to Unix and would like an issue to be resolved.
I have a file in the format below;
4,Reclaim,ECXTEST02,abc123,Harry Potter,5432 6730 0327 5469,0603,,MC,,1200,EUR,sho-001,,1,,,abc123,1223
I would like my output to be as follows;
4,Reclaim,ECXTEST02,abc123,Harry... (4 Replies)
Discussion started by: Sho
4 Replies
10. HP-UX
Dear All
I am basic user of Unix.
i woul like to delete some files
(basically 05 and 0801111105) from unix directories but unable to delete it
I tried all option. rm , rm -f etc.. but not succeed.
Infact it also not allowing me to use chmod option so that i can grant 777 option to... (1 Reply)
Discussion started by: yogi_chavan
1 Replies
DVHTOOL(8) System Manager's Manual DVHTOOL(8)
NAME
dvhtool - Disk volume header manipulation tool
SYNOPSIS
dvhtool --device devicename [ option ]
dvhtool -d devicename [ option ]
DESCRIPTION
dvhtool is a utility for displaying SGI disk partition and volume header information as well as for copying files to and from the volume
header.
It is similar to the IRIX(tm) utility of the same name, however the options and usage are quite different. Also, the IRIX utility cannot
display partition and boot file information.
The disk volume header includes the disk partition table and the volume directory. The volume directory is an index to the files stored in
the volume header part of the disk. These files can be anything but are usually standalone programs (like sash, the SGI standalone shell).
The space available for files is usually limited to one, two or a few megabytes, this can only be changed by repartitioning the disk with
fx, the SGI disk formatting and partitioning tool or fdisk.
You must be root to invoke dvhtool. The device name can be /dev/sda for the first disk, /dev/sdb for the second, and so on.
dvhtool will also work on a file image of a disk volume header.
OPTIONS -d, --device devicename Specify the volume header device name (or file image)
--print-volume-header
Show volume header data only
--print-volume-directory
Show volume table of contents
--print-partitions
Show partition data
--print-all
Equivalent to all three above options
--vh-remove name
Remove volhdr file name.
--vh-to-unix name file
Copy volhdr file name to Unix file file
--unix-to-vh file name
Copy Unix file file to volhdr as name
--help Show usage information
SEE ALSO
fdisk(8)
IRIX tools: fx(1M), prtvtoc(1M), vh(7M).
AUTHORS
dvhtool was written by Ralf Baechle <ralf@oss.sgi.com>, Keith M. Wesolowski <wesolows@foobazco.org>, Tor Arntsen <tor@spacetec.no>, Guido
Guenther <agx@debian.org>.
4th Berkeley Distribution July 2000 DVHTOOL(8)