How to check file type in linux


 description

View test.txt file type in Linux

 command

file test.txt

 parameter

file :  Determine type of FILEs

 result

test.txt: ASCII text

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.