1832335 Members
2357 Online
110041 Solutions
New Discussion

RM command

 
ttksam
New Member

RM command

how to get back data after removing using RM commands.
Unix : HP-UX
11 REPLIES 11
Michal Kapalka (mikap)
Honored Contributor

Re: RM command

hi,

just restoring from backup.

mikap
ttksam
New Member

Re: RM command

i have not taken backup , is there any other way to get back or thats it.


-SAM.
Johnson Punniyalingam
Honored Contributor

Re: RM command

>>>how to get back data after removing using RM commands<<

NO way Its Gone once using rm command

no undo - undelete commands in UNIX

Only you recover from your backup
Problems are common to all, but attitude makes the difference
Jeeshan
Honored Contributor

Re: RM command

in unix variants, rm is like of command which delete files completely. As there is no trash bin option. You have to restore your files from backup (if available).
a warrior never quits
Johnson Punniyalingam
Honored Contributor

Re: RM command

>>i have not taken backup<<

Oops, nothing much we can do
Problems are common to all, but attitude makes the difference
ttksam
New Member

Re: RM command

k fine ...


Thanks to all....


-Sam.
Venkatesh BL
Honored Contributor

Re: RM command

Unfortunately, NO.

May be you can alias 'rm' to 'rm -i', so that you will be asked for confirmation in the future, before file deletion.
SoorajCleris
Honored Contributor

Re: RM command

Hi,

Next time think twice before you press ENTER key ...

:)

Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
ttksam
New Member

Re: RM command

thought of getting any other option for getting data after rm. thanks a lot

Tor-Arne Nostdal
Trusted Contributor

Re: RM command

Using RM isn't that dangerous in unix... as it would normally not remove any files ;)

An idea for you could be to use an alias for your rm command... I did this after experiencing a lot of rookie students requesting restore...

alias rm 'rm -i'
I'm trying to become President of the state I'm in...
Jeeshan
Honored Contributor

Re: RM command

You should suppose to assign some points to the contributors.
a warrior never quits