how to know if the file is txt in linux

后端 未结 0 1024
独厮守ぢ
独厮守ぢ 2020-11-28 21:52

I have a code where I need to delete all the txt files in the main directory \' I have done a loop and in the loop there is if command if [ -f $file] then fi now I need anot

相关标签:
回答
  • 消灭零回复
提交回复
热议问题