Improper use of Sudo command may lead to loss of data
For running certain applications in Mac OS X & UNIX-like operating system other user’s security permission is needed. The permission is generally of super user or administrator and for the purpose ‘Sudo’ command is used in Mac OS X system. This command line tool is able to log in with different users, including that of administrative functions. Besides these, improperly using the command can be problematic by causing critical data loss situation.
With Sudo command line tool, user temporarily obtain administrative rights and so can modify the privileges on the file which otherwise is not possible unless logged in as administrator.
By executing rm-rf command with sudo unused hard drive space is freed, any unwanted files from the hard drive can be deleted such that there is enough space for storing important data.
But, typographical errors, rm-rf command and mishandling are also likely to cause data loss. In addition to that, if the disk space in inserted in wrong place permanent deletion of valuable data files takes place.
For example, when the command is run with options such as
-
Sudo rm-rf ~/. Trash/
Sudo rm-rf/.Trashes/
Sudo rm-rf/volumes//.Trashes/
It is supposed to delete all files from trash bin and is just an alternative of emptying trash bin folder. No other instance can be so disastrous for a user, like it is when their loose data which is more important than anything can be either for personal use or related to work. Problem increases further if you don’t have a valid and updated backup and work comes to a standstill.
However, now you really don’t need to worry for your data as data recovery mac software is there, that can help you in all cases as it can recover data lost, no matter how is was lost. Restoring deleted data or data from corrupted, formatted, repartitioned or reinitialized disk drive volumes can all be retrieved particularly because of the very advanced and sophisticated programming on which it works. It complies with Snow leopard 10.6, 10.5 leopard including other Mac OS X.

