Linux1 min read
How can I delete all files starting with ._ from the shell in Linux?
We can remove the files with recursion by run the following command:
Kartic · Jun 11, 2024
Linux
A short introduction to a few essential Linux/Server commands you need to must know !
cd ~/your directory
$ grep -rwI KeywordCaseSensitive
Explanation:
-r search recursivelyw search for a word only (i.e. surrounded by white space and/or punctuation)I ignore binary files
You may consider option -i (ignore case).
tar -cvzf directory.tar.gz directory
tar -xvzf directory.tar.gz directory
ssh username@hostname
mysql -h hostname -u username -p password
mysql -h hostname -u username -p password databasename < database name.sql
mysqldump -h hostname -u username -p password databasename > database name.sql
Sign in to join the discussion.
We can remove the files with recursion by run the following command:
Subscribe for technical articles from iTechOrbit.