Can't Delete Files Without Prompt in Solaris 5.10 with RM Command

I have deleted a large number of files from my Directory using the rm -rf *.* command as a regular user, but it still asks for my consent. How to fix this problem and delete these files from my Solaris 5.10?

Best Answered by

Dany· Answered on Jan 06, 2023

Your "rm" command may be aliased to "rm -i", and you can type in #alias rm in your shell and check that "rm" has been set to "rm -i".

Actually, you don't have to use the "rm -rf" command to delete files from your Directory. Across all mounts, the command would recursively destroy everything (apart from hidden files and directories). If you run this command from the desktop, you will lose your movies, TV shows, and pictures. If you run this command from your home directory will lose your own data, configuration, etc.

The effects would be disastrous if you attempted this in the root directory with superuser rights. The contents of all directories throughout the whole filesystem, as well as any files in the root directory, would be erased. By the way, this operation will not delete the hidden files.

If you deleted something important from your Solaris 5.10 and have no backups, you can get them back with EaseUS Data Recovery Wizard. It is possible to recover deleted data from Virtual Machines with this tool. You don't have to take a long time to recover files:

1. Choose the target drive in this recovery software, and click "Scan". Then it will automatically search for lost files on your drive.

2. Select the files you want to recover. If the recoverable videos are corrupted, you can use this tool to repair the videos as well.

3. When everything is ready, you can choose "Recover" to get back the files.

Use EaseUS Data Recovery Wizard to recover deleted or lost files easily and quickly.

Tutorials on how to recover lost, deleted, or formatted data from HDD, SSD, USB, SD card, or other storage media on Windows and Mac.

People Also Ask

Can't Delete Files Downloaded by Transmission on Linkstation 210

It is annoying to have this deletion issue on Linkstation 210, and your NAS device cannot get enough authority to delete these files downloaded by Transmission. We will help you solve this problem!

Dany

Jan 04, 2023

How to Fix 'Roaming Profiles Don't Delete Files' Issue

It seems like a problem many users may encounter while using Windows Server, and we will help you fix this problem. You can try the method we mentioned in this passage.

Dany

Jan 05, 2023

Hard Drive Says It's Full but Can't Find Large Files

Some reasons may cause the hard drive suddenly be full. We will list some reasons and tell you how to fix this problem. If you deleted something important accidentally, you could recover them with EaseUS Data Recovery Wizard.

Dany

Dec 29, 2022

Delete Files Beyond Recovery with 3 Data Erase Tools

When using an HDD, the files you deleted can be recovered easily. If you want to delete files permanently, you can choose the erase tools we recommend. Keep reading to choose a suitable tool.

Dany

Jan 05, 2023

How to Fix It Takes a Long Time to Delete Files in Windows

Why does Windows take so long to delete files and clear the recycle bin? This problem will occur when I am trying to delete plenty of small files on Windows. How can I fix this Windows issue?

Dany

Dec 27, 2022

Recover Deleted Data from Virtual Machine [Windows 2008 R2]

It is hard to recover data from a Virtual Machine manually, and you'd better use a third-party data recovery program to get back your deleted data. EaseUS Data Recovery Wizard is a good choice if you want to recover deleted data from a Virtual Machine.

Dany

Dec 28, 2022