Welcome to SecurityTube.net. Power Tools - introduction to Application Software Launchers - Hack the Day. Command-line lifesavers. If you’re new to the command line, you’ve probably heard horror stories about people who’ve erased all their files with one command. And if you’re a Terminal veteran, you’ve undoubtedly had a few brushes with disaster.
When you work with the command line, you work without a safety net—there’s no Trash to fish files out of and no Undo command. But there are some tricks for protecting yourself from missteps. The erasers Terminal is an amazingly efficient tool for deleting, moving, and copying files. Rm Perhaps the most hazardous of commands is rm , the remove command. Say you want to delete a file called Report from your desktop. Command, like so: rm ~/Desktop/Report Now say you have several files with names such as Report2005, Report2004, Report2003, and Report2002, and you want to delete the oldest one, using the command rm ~/Desktop/Report2002 .
Report2004 and press return. And that’s not the worst mistake you can make when you’re using . Rm ~/Desktop/"Report 2002" ) or a backslash ( cp mv and -i yes. Linux Commands - A practical reference. Ten OS X Command Line Utilities you might not know about. Hack This Site!