There are many ways to delete files in Mac OS systems, but there are many ways to uninstall them, but in general, if the software side provides the uninstall tool, it is best to choose a special uninstaller, such as Input method and so on. Other common software for the general user tightly need to drag the application icon to the Trash can be deleted, but some stubborn residue of software can be in the Mac terminal with the command to uninstall.
Mac Terminal Delete file
1 Open Terminal application
2 Input command: sudo (space) RM (space)-R (Space)-F (space) (note that there are spaces behind-f), but also note that all lowercase.
3 You want to delete the file or folder with mouse dragged into the terminal window, many can also be dragged together.
4 and then enter in the terminal.
5 Enter the current Admin user password. Enter directly if there is no password. Note that the password is not the root account.
6 The terminal does not have any prompt information indicating successful deletion.
Mac Terminal Uninstall software tutorial
Open applications-Utilities-terminals
Input wallys-mbp:~ wally$ mdfind-name "Mac Software treasure Box"
/users/wally/library/caches/metadata/safari/history/http:%2f%2fwww.macx.cn%2fthread-2134541-1-1.html.webhistory
/users/wally/library/caches/metadata/safari/history/http:%2f%2fwww.macx.cn%2fforum.php?mod=post&action= Edit&fid=2000&tid=2134541&pid=3297484&page=1.webhistory
/users/wally/library/caches/metadata/safari/history/http:%2f%2f
/users/wally/downloads/mac software treasure box. App (2). zip
/users/wally/desktop/mac software treasure box. App
The system will match all files on the hard disk with the Mac software box by name. The advantage of using a terminal command search is that you can search many system-hidden files, which are generally Spotlight.