How to check file type in linux ?
In our last post we saw which are the different file types in linux and how to identify different file types from ls -l output. But we have a command called file to determine the file type. file command tests each file prints the fileype. The syntax for file command is