How to check file type in linux


View test.txt file type in Linux


file test.txt


file :  Determine type of FILEs


test.txt: ASCII text
Was this helpful?

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.