Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
linux how to remove all files with grep
Derek Knight
Programming language:
Shell/Bash
2021-06-15 22:32:13
0
Q:
linux how to remove all files with grep
Tab
Code:
Shell/Bash
2021-03-14 23:11:54
rm -rf $(ls | grep car)
0
Tags
file
files
remove
linux
how
Related
delete all the files without one in linux
linux delete files in folders without deleting the folder
how to remove all files in a directory matching a regex pattern shell
remove all files inside directory linux
linux remove lines from file
linux remove all files same extension in directory
linux sed remove string in file
ubuntu delete all files with extension
grep extract only matched string
how to delete files in linux
awk how to remove lines in one file that are found in another file
New to Communities?
Join the community