Microsoft
Software
Hardware
Network
Question : Linux rm command
Hi guys hope u r well and can help.
Pretty easy this one i hope.
I have a list of files in a directory in the following format:
menu3_career_resumes_examp
les.php
menu3_career_resumes_examp
les3.php
menu4_career_resumes_examp
les_images
kb.php
menu4_career_resumes_examp
les_docume
ntskb.php
menu4_career_resumes_examp
les_images
wk.php
menu5_career_resumes_examp
les_test.p
hp
I wanted to know how I can use the rm command to remove all the above files in one go without having to do 3 rm commands.
Is there a way to use rm with an or keyword or pipe it through grep?
Any help greatly appreciated.
Answer : Linux rm command
Try:
rm menu?career_resumes_exampl
es*.php
Random Solutions
Sql Reporting Services formatting a column to currency with precision of 4, hide trailing zeros if not necessary
Sorting string field in Natural order
Toolbar Displaying Page Number Disappeared!
Create a distribution group in the root Domain and add users. I have the group names and user names in 2 diffetent txt files. Any way of doing this.
How do I store and add values from a repeating section in Infopath?
Event ID 1173 MSExchangeIS Mailbox Error 0x6bb deleting unused restricted view from folder
normalize a delimited list field
Import data into Sybase Database from Excel
Access Denyed with Squid
after removing rogue anti-spyware av2009 Internet Explorer will not connect