... both files and directories this way. 16.3.2.1. Moving files and directories To rename a file and move it to a different directory simultaneously, just replace the last portion of the command ... such new, empty files primarily as targets for practicing the next command. 16.3.5. rm (Remove Files and Directories) Unix provides an extremely efficient way to trash files and directories. ... associated files. When you're working with files on the command line, however, you have to be more cautious. In Leopard (and Tiger too), the most common Unix file tools, like cp, mv, tar, and...