Computer scienceSystem administration and DevOpsCommand lineWorking with files

Find and exec

Delete text files

Report a typo

Use the -exec option of the find command to delete all .txt files from the /tmp/test directory.

Sample Input 1:

38_file.csv 10
375_cat.txt 10
98_my_file.txt 10

Sample Output 1:

38_file.csv
Write a program in Shell
#!/usr/bin/env bash

solve() {
# add your solution here

}
___

Create a free account to access the full topic