• Home
  • About SMI
  • About the Writers
  • Sitemap
Sudo Make Install
System Administrators Blurb

file

Linux Daily Tip – Bulk Delete Files By Name

CoreCountApril 28, 2010 0 Comments

Ever find yourself tediously removing files by hand, across a large, complex directory structure? Luckily, there’s a simply, easy way to delete files, as long as they have a part of their name in common.

For example, to delete all PDF files in this directory, recursively, run

find . -name "*.pdf" -exec rm -f {} \;
Linux Systems delete, file, find, recursive, remove, rm, search

Linux Daily Tip – Recursive Grep

Tyler BishopApril 27, 2010 1 Comment

At times it becomes annoying trying to find a string within a file fast and effectively. Grep can handle this task for us!

To search all files and sub-directories recursively for a phrase:

grep -r -i string_your_looking_for /
Linux Systems file, file contents search, grep, locating, location, recursive, search, string search

Search

Blogroll

  • Web Hosting Provider

Tag Cloud Hosting

3750 best raid configuration brocade Cisco config server & firewall cpanel CSF csf firewall ddos dell fastest raid array fast hard drives file Filter firewall guide firewall setup guide firmware hard disk iptables iptables firewall Juniper JunOS linux commands LLDP MX mxl network attack NTP prelink raid RE recursive router router mode sas sas raid scsi scsi raid search Security server server hard drives vdx VNC vnc server

Archives

  • July 2022
  • May 2022
  • January 2022
  • September 2021
  • February 2021
  • August 2020
  • July 2020
  • April 2020
  • December 2019
  • June 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • December 2017
  • July 2017
  • January 2017
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • February 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • August 2014
  • December 2013
  • July 2013
  • August 2012
  • July 2012
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010

BOFH Excuse

monitor resolution too high
© 2023 Sudo Make Install. All rights reserved.
Flato by ThemeMeme
highslide wordpress