Sponsored Content
Top Forums UNIX for Dummies Questions & Answers # /UNIX.org file deleting is safer or not Post 302838653 by rukshan4u2c on Tuesday 30th of July 2013 06:54:01 AM
Old 07-30-2013
Question # /UNIX.org file deleting is safer or not

Hi All,

Please tell me the use of # /Unix.org file it has reserved a huge disk space, I want to know is it safer to truncate or delete.

Thanks - Rukshan.Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting contents of a UNIX File

Hi ALL, Can anyone help me out. I have unix file, I need to delete the contents of the file. Can any one let me know the command to do this. The file has to be there, but the contents should be deleted. thanks Manas (6 Replies)
Discussion started by: manas6
6 Replies

2. What is on Your Mind?

Is M$ safer than UN*X(-LIKE)??

I know that you already know the answer to the question. It just springed in my mind after what happened yesterday. I was getting some books off of Amazon.com, since they are cheeper than bookstore, and my mother said something that made me laugh 'till I couldn't breathe. I have a Debian Lenny... (12 Replies)
Discussion started by: Texasone
12 Replies

3. Shell Programming and Scripting

Deleting a file from REMOTE Unix Server

Hi All, I have a requirement where i need to remove a file from Remote system. Can any one suggest me how to do this? My requirement is, i need to archive the file in a separate system. If the remore system is having files older than 7 years, then i need to delete that files from the remote... (2 Replies)
Discussion started by: Raamc
2 Replies

4. Shell Programming and Scripting

sed/awk help to match list of patterns and remove from org file

Hi, From the pattern mentioned below remove lines based on pattern range. Conditions 1 Look For all lines starting with ALTER TABLE and Ending with ; and contains the word MOVE.I wanto to remove these lines from the file sample below. Note : The above pattern list could be found in... (1 Reply)
Discussion started by: rajan_san
1 Replies

5. Shell Programming and Scripting

Deleting a file in Windows drive from Unix script

Objective ******* I was trying to develop a script that moves files from one folder to another in Windows drive from a Unix script. I got ftp account created for those windows folders. I know that for moving a file from Unix server to Windows server we use scp command, but is there a command... (2 Replies)
Discussion started by: anilvaranasi_02
2 Replies

6. UNIX for Dummies Questions & Answers

Deleting a pattern in UNIX without deleting the entire line

Hi I have a file: r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e) I want to retain... (15 Replies)
Discussion started by: Alyaa
15 Replies

7. Shell Programming and Scripting

Deleting files using UNIX

Hi All , I am using the below if condition to delete files . if then if ; then log_err "Trigger File ${LINKTRIGGER} does not exist!" fi log_msg "Deleting the Linktrigger" rm -v ${LANDINGDIR}/${LINKTRIGGER}.* else if ; then log_err "Trigger File ${TRGFILE} does not exist!" echo... (11 Replies)
Discussion started by: Hypesslearner
11 Replies

8. UNIX for Advanced & Expert Users

Why is editing a file by renaming the new one safer?

Hello: I've been reading about ways to edit files from the command line, and I've found two websites which state that the following is the safest way to edit a file: command original > new mv new originalThat is, renaming the newer file to the previous one. This is what the websites I mentioned... (8 Replies)
Discussion started by: Cacializ
8 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)
All times are GMT -4. The time now is 07:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy