CopyPastehas never been so tasty!

Improper Use of 'rm -rf' and 'Sudo' Command

by anonymous

  • 0
  • 0
  • 0

Mac OS X is a multi-user operating system, which enables you to create different account for different users. You can store all your private and personal data to this account, which is not accessible by other users. The most powerful or significant account on Mac machine is a superuser or administrator account. However, in some situations, you may need to run several applications with security permissions of other user. You can do it using 'Sudo' command. But, you should keep in mind that improper use of this command can cause serious data loss and put you in need of Mac data recovery solutions.

Sudo is a powerful command of Mac OS X operating system that enables you to run the Mac OS X applications with another user's security permissions (usually superuser). It is able to log every command and access administrative functions by logging as a superuser in some situations. This tools is usually employed to obtain superuser privileges temporarily to modify file permissions and alter the files.  

The Sudo command also facilitates you to free up hard drive space, using 'rm -rf' command. It can be used to remove unwanted files from hard drive so that it can be used to store new files.

You should play safely while using the 'rm -rf' command. Any kind of mishandling or typographical error while using this command can cause critical data loss situations. If you insert space in wrong place, it can lead to permanent deletion of data from Mac OS X hard drive.

For instance, when you run the 'rm -rf' command with the following options, it results into permanent deletion of the critical Mac files stored in your Trash Bin folder:

sudo rm –rf ~/.Trash/

sudo rm –rf /.Thrashes/

sudo rm- rf /Volumes/<volume name>/.Trashes/

Unfortunately, if you come across any such situations, you should not panic. The deleted files are still there on your hard drive and it is possible to recover them using File Recovery Mac alternatives.

Mac recovery is best possible using effective commercial utilities, known as Mac recovery software. They recover lost data quite safely, without modifying original contents of the file, with read-only and non-destructive conduct. You need not to be technically sound to use these applications, as they have self-explanatory and interactive user interface.

Stellar Phoenix Macintosh Data Recovery is the best data recovery software ever made to offer assured recovery in all data loss situations. It is usable with Mac OS X 10.6 Snow Leopard, 10.5 Leopard, 10.4 Tiger, and 10.3.9 Panther. The software recovers lost Mac data from HFS, HFS+, HFSX, HFS Wrapper, and FAT file system volumes.

Add A Comment: