Data Loss due to improper use of ‘Sudo’ and ‘rm-rf’ command
Mac OS X operating system enables its users to create different account for different users and with this feature user can easily secure their private and important files, which becomes unable to be accessed by other users. Not only is this but also has administrator account or super account. But in some situation you are required to run certain application with others permission. This can be done with “Sudo” command. But if this command is used in improper manner then it may lead to serious data loss.
On the other hand “Sudo” command can also be used to free up the hard drive space by using ‘rm-rf’ command. With this user can delete old files and make space for new files to be saved. But user must use this command safely because if it is improperly handled then it may lead to severe data loss. And if user inserts space in the wrong place then it may also lead to permanent deletion of data from Mac OS X hard drive.
For example: while running ‘rm-rf’ command with the given option; it results in the permanent deletion of the data even from trash bin:
sudo rm –rf ~/.Trash/
sudo rm –rf /.Thrashes/
sudo rm- rf /Volumes/
In this condition the final result that the user will suffer is the deletion of data from the Mac operating system but there is nothing to panic because the deleted files are still present in the hard drive and it is possible to recover them by using Mac Hard drive Recovery software.
Mac Hard Drive Recovery Software is one of the best software that can recover the lost or deleted data efficiently. This software has powerful algorithm and with that it performs advanced scanning of the hard drive and restores the deleted data back. Not only is this but this software has read-only application and due to this reason it recovers the lost data without modifying the original contents.
This software supports Mac OS X 10.6 Snow Leopard, 10.3.9 Panther, 10.5 Leopard, and 10.4 Tiger. And it recovers Mac files from HFS+, HFS, FAT, HFS wrapper and HFSX file system volumes.


