Use the -exec option of the find command to delete all .txt files from the /tmp/test directory.
Find and exec
Delete text files
Report a typo
Sample Input 1:
38_file.csv 10
375_cat.txt 10
98_my_file.txt 10Sample Output 1:
38_file.csvWrite a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.