red hat confirmation prompt

Reply

Join Date: Nov 2004
Posts: 258
Reputation: sam1 is an unknown quantity at this point 
Solved Threads: 1
sam1's Avatar
sam1 sam1 is online now Online
Posting Whiz in Training

red hat confirmation prompt

 
0
  #1
Jan 29th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 186
Reputation: w1r3sp33d is an unknown quantity at this point 
Solved Threads: 3
w1r3sp33d's Avatar
w1r3sp33d w1r3sp33d is offline Offline
Junior Poster

Re: red hat confirmation prompt

 
0
  #2
Jan 29th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: red hat confirmation prompt

 
0
  #3
Feb 24th, 2005
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.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,247
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 540
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is online now Online
Moderator

Re: red hat confirmation prompt

 
0
  #4
Apr 8th, 2005
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Getting Started and Choosing a Distro Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC