About 219,000 results
Open links in new tab
  1. How do I force delete a file? - Ask Ubuntu

    Apr 9, 2016 · cd Desktop (I'm assuming that your file is placed in your desktop directory and you installed Ubuntu in English international / US). To delete the file run this command: rm -f …

  2. How can I recursively delete all files of a specific extension in the ...

    Nov 15, 2013 · 10 If you want to delete all files of a certain type, but only 1 folder "deep" from the current folder: find . -maxdepth 2 -name "*.log" -type f -delete -maxdepth 2 because the …

  3. How to remove all files from a directory? - Ask Ubuntu

    Nov 23, 2014 · 543 Linux does not use extensions. It is up to the creator of the file to decide whether the name should have an extension. Linux looks at the first few bytes to figure out …

  4. Delete Files Older Than One year on Linux - Ask Ubuntu

    May 28, 2015 · You can do it with this command find /path/to/files* -mtime +365 -exec rm {} \; Some explain /path/to/files* is the path to the files. -mtime is used to specify the number of …

  5. How to delete file(s) in secure manner? - Ask Ubuntu

    Free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean 90 …

  6. Delete all files whose filenames contain a particular string?

    If so, then don't delete those files in terminal on the server. Open your WordPress admin page, open 'Settings' > 'Media'. Set desired thumbnail image sizes there. Then install the plugin …

  7. How to delete a file from another directory in Ubuntu terminal

    I'm starting learning Linux Ubuntu commands, now I want to learn how to delete a file from another directory while I'm in a different directory. For example, now I'm in Documents and …

  8. How to remove lines from the text file containing specific words ...

    Oct 26, 2015 · Tip: use sed without the -i operator to test the output of the command before overwriting the file. (Based on Sed - Delete a line containing a specific string)

  9. command line - Removing files older than 7 days - Ask Ubuntu

    Feb 24, 2015 · Be careful removing files with find. Run the command with -ls to check what you are removing find /media/bkfolder/ -mtime +7 -name '*.gz' -ls . Then pull up the command from …

  10. shortcut keys - How do I delete multiple lines in nano without ...

    Jun 22, 2012 · 6 To delete multiple block without overriding your clipboard, first mark the text with Alt + A (You will appear Mark Set then select the text using arrow keys) and then use Ctrl + …