![]() ![]() (If you have a file name with spaces, you need to put the name in quotes: "For Example.txt".) If you had a file here named MyFile. Before you remove a directory, you need to know the name of it. Use the rm -r command to remove non-empty directories. To delete a file, type rm filename, replacing filename with the actual name of the file you want to delete. To permanently remove a directory in Linux, use either the rmdir or rm command: Use the rmdir or rm -d command to remove empty directories. After you launch Terminal (in your /Applications/Utilities folder) type cd ~/Desktop to navigate to the Desktop directory. I can't empty my trash (very full with VERY big files - I work in a bio lab). The location of the trash folder varies depending on the distribution, but it is typically located in the home directory. 1 First time using a Linux dual boot Windows computer. It’s dangerously easy to delete files with the rm command. Most Linux distributions include a trash or recycle bin feature that allows users to recover accidentally deleted files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |