944,149 Members | Top Members by Rank

Ad:
Jan 29th, 2005
0

red hat confirmation prompt

Expand Post »
hi everyone,

i have redhat 9 and when i delete a file , it gets deleted automatically. does any1 knw how i can prompt a message saying do u want to delete yes or no.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Posting Whiz
sam1 is offline Offline
300 posts
since Nov 2004
Jan 29th, 2005
0

Re: red hat confirmation prompt

One of the best things about linux is that it doesn't baby you all the time about if you really meant to delete something or not. If they would just remove "trash" from all the desktops it would be even better.

If you delete it out of a shell without any augments "rm filename" it should ask you confirm with a "y" if you really want it deleted.

From a gui I can't help you, maybe someone else can.
Reputation Points: 13
Solved Threads: 3
Junior Poster
w1r3sp33d is offline Offline
186 posts
since Dec 2004
Feb 24th, 2005
0

Re: red hat confirmation prompt

if you're talking about at the command prompt, you can make an alias in your ~/.bashrc file:

alias rm='rm -i'

That will make it "interactive"-- prompting you to delete everytime you use the command.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Apr 8th, 2005
0

Re: red hat confirmation prompt

I dont know about Red Hat 9 But in red hat Fedora core you can go into GNOME and right click on the trash and select a check box to get the prompt asking yes or no.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Getting Started and Choosing a Distro Forum Timeline: could an old machine run linux
Next Thread in Getting Started and Choosing a Distro Forum Timeline: Linux/Windows "Workgroup" Home User-Suse 9.2





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC