Sponsored Content
Top Forums Programming how to delete a file permanently from computer Post 302317458 by thanhdat on Tuesday 19th of May 2009 03:46:30 AM
Old 05-19-2009
shift+del can only used with GUI
"rm -f" is used with CUI
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to alter the old file permanently using sed?

hi , m new to sed and awk. can anyone tell me how to alter the old file permanenetly using sed. e.g. $sed 's/cat/dog/g' old_file the above command will replace all the occrance of cat by dog in the file called old_file and by default will show the output at stdout. so is there anyway of... (2 Replies)
Discussion started by: mxms755
2 Replies

2. UNIX for Dummies Questions & Answers

numbers on permanently through .bash_profile

Hi Can anyone tell me if it is at all possible to edit ones .bash_profile, to make the setting on of line numbers (in vi/vim), permanent? I've been to a few IRC channels and people keep telling me it is more of a vi/vim thing and to use something called ".vimrc", however I heard that it is... (3 Replies)
Discussion started by: zorrokan
3 Replies

3. OS X (Apple)

Getting the External IP Address of your Computer and Storing it in a File

My computer is one of three computer on our LAN. Our router is a Time Capsule. My computer is the only of of three computers that has been assigned a static IP address on the LAN, because it runs an Apache installation. I tinker around with web development from time to time, and I wanted to be... (7 Replies)
Discussion started by: Audacitor
7 Replies

4. Shell Programming and Scripting

copy file from script file to remote computer

hi, i want copy one or group of file from a computer to others, but i have some problem that do not allow me to do this. i do this by scp command like this : scp <file name> root@cpName:destinationAddress but the problem is that it do not it automatically. it means when it is connecting to... (4 Replies)
Discussion started by: MShirzadi
4 Replies

5. Shell Programming and Scripting

Find and replace permanently

i have a few scripts in which i need to find string"ali1@abcd.com" and replace it with "ali@abcd.com" i used 2 below commands but none of them is permanently replacing the old string in the script s.sh perl -pi -e 's/ali1@abcd.com/ali@abcd.com/g' s.sh sed 's/ali1@abcd.com/ali@abcd.com/g'... (7 Replies)
Discussion started by: ali560045
7 Replies

6. Solaris

delete routing permanently

How can I remove permanently a route from the routing table? I have the following: root@aiwutr1>netstat -rnv IRE Table: IPv4 Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd -------------------- --------------- --------------------... (3 Replies)
Discussion started by: gianluca.p
3 Replies

7. UNIX for Dummies Questions & Answers

Replace 8th and 9th characters in file permanently

Good evening, I have a file and wish to replace the 8th and 9th characters on the first line only no matter what they are with 44 and the file permanantly changed. e.g. file example.txt before change: 123456789123456 hi how are you blah blah file example.txt after change: ... (4 Replies)
Discussion started by: GarciasMuffin
4 Replies

8. Solaris

Removal of zip file permanently

Hi Everyone, I see some peculier thing happening on my server. I have one zipped file created long back as a normal user and trying to remove it now. When i tried to remove as that particular user, i was not able to do that. So i logged in as a root user and removed that successfully. But it... (8 Replies)
Discussion started by: Sricharan21
8 Replies

9. Solaris

Set autolist permanently

Hi , How to set autolist permanently in Solaris 10 (2 Replies)
Discussion started by: ankit.padhiyar
2 Replies

10. Shell Programming and Scripting

Ssh cat file output into a file on local computer

Hello, I'm on a remote computer by SSH. How can I get the output of "cat file" into a file on the local computer? I cannot use scp, because it's blocked. something like: ssh root@remote_maschine "cat /file" > /locale_machine/file :rolleyes: (2 Replies)
Discussion started by: borsti007
2 Replies
REALMSET(1p)						User Contributed Perl Documentation					      REALMSET(1p)

NAME
realmset - Modifies entries in a DNSSEC-Tools realm file SYNOPSIS
realmset [options] realm-file DESCRIPTION
realmset modifies fields in the realm file specified by realm-file. Multiple options may be combined in a single realmset execution. realmset operates quietly unless it is given the -verbose option. All records in the specified realm file will be modified, unless the -name option is given. In that case, only the named zone will be modified. OPTIONS
-administrator addr The zone administrator's email address is set to addr. -args arglist Provides additional arguments for the realm manager. These arguments will override the arguments in the DNSSEC-Tools defaults file, the DNSSEC-Tools configuration file, and the realms' rollrec files. The manager's argument list is given in arglist. If more than one argument is given, the set of arguments should be enclosed in quotes. Given the realmset argument processing, the new arguments cannot be specified as they would from a command line. Instead, the arguments should be given in the following manner. The leading dash should be replaced with an equals sign. If the option takes an argument, the space that would separate the option from the option's argument should also be replaced by an equals sign. realmset translates these arguments to the appropriate format for the realm manager. These examples should clarify the argument modifications: normal rollerd option -args options ------------------------ --------------- -display =display -logfile /dt/log.file =zskcount=/dt/log.file The following are valid uses of -args: # realmset -args =display example.realm # realmset -args "=loglevel=phase =sleep=3600" example.realm The -args and -del-args options are mutually exclusive. -configdir configdir The directory to hold the realm's configuration files is set to confdir. -del-administrator The administrator line is deleted from the selected realm records. The -administrator and -del-administrator options are mutually exclusive. -del-args The args line is deleted from the selected realm records. The -args and -del-args options are mutually exclusive. -del-display The display line is deleted from the selected realm records. The -display, -nodisplay, and -del-display options are mutually exclusive. -del-manager The manager line is deleted from the selected realm records. The -manager and -del-manager options are mutually exclusive. -del-user The user line is deleted from the selected realm records. The -user and -del-user options are mutually exclusive. -display Turn on the GUI display of the selected realms. The -display, -nodisplay, and -del-display options are mutually exclusive. -manager manager-program The manager program for the selected realms is set to manager-program. -name realmname The realm whose name matches realmname is selected as the only realm that will be modified. If this name is not given, then all realm records will be modified. -newname new-name The realm's name is changed to new-name. The new name cannot be the name of an existing realm in the file. This option must be used in conjunction with the -name option. -nocheck If this option is given, the realmchk command will not be run on the modified realm file. -nodisplay Turn off the GUI display of the selected realms. The -display, -nodisplay, and -del-display options are mutually exclusive. -realmdir realmdir The directory to hold the realm's files is set to realmdir. -rollrec rollrec-file The rollrec file in the selected realm records is modified to be rollrec-file. -state newstate The realm's state is set to newstate. This must be either "active" or "inactive". -statedir statedir The directory to hold the realm's state files is set to statedir. -user username The user name in the selected realm records is modified to be username. -verbose Display information about every modification made to the realm file. -Version Displays the version information for realmset and the DNSSEC-Tools package. -help Display a usage message. COPYRIGHT
Copyright 2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Wayne Morrison, tewok@tislabs.com SEE ALSO
dtrealms(8), lsrealm(8), realmchk(8), realminit(8) Net::DNS::SEC::Tools::realmmgr.pm(3), Net::DNS::SEC::Tools::realm.pm(3) file-realm(5) perl v5.14.2 2012-06-21 REALMSET(1p)
All times are GMT -4. The time now is 07:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy