General discussion

Locked

which command?

By kagi87 ·
Now I have a redhat Linux 6.2 system and I tried to undelete my files using recover command and I failed ,so I would like to know the exact command.
Then another thing in which Directory can I find deleted files ?
Than you

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

which command?

by alexpufhal In reply to which command?

I realize this might not be terribly helpful as I have no experience with RHL however, UNIX by default does not have a undelete feature, you delete the files, they're gone.

You could probably write a script to pick files to delete and then copy them to a temp directory.

Check the man pages for rm switches and information.

Collapse -

which command?

by kagi87 In reply to which command?

The question was auto-closed by TechRepublic

Collapse -

which command?

by sundiego In reply to which command?

Redhat Linux is a flavor of UNIX Operating System. It does not work the same way as PC Windows OS. And it does not have "undelete"
command by default.
The command for delete is rm (ReMove) has -i
flag for --interactive mode. It will prompt you for confirmation. If your response does not begin with `y' or `Y', the file is not removed.
If you are new at UNIX; and using C-shell, you might want to create a short cut for rm command by adding
a line to the end of the file .cshrc in your home directory:
alias rm 'rm -i'
It means every time you use the rm command,
Linux will ask your comfirmation first.
In UNIX, if you login as root; root will have
supreme power and can delete anything. Be
extra careful and know what you are doing.
Youcan "shoot yourself in the foot" by delete important system's files and make your
system crash, useless or unbootable.

Collapse -

which command?

by kagi87 In reply to which command?

The question was auto-closed by TechRepublic

Collapse -

which command?

by kagi87 In reply to which command?

This question was auto closed due to inactivity

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums