Hi,
I have a file, but I do not what type it is.
A pdf, jpg or another file ?
Is there a way to find out ?
linux what type of file
-
Chris
- Site Admin
- Posts: 132
- Joined: Mon Jul 21, 2008 9:45 am
- Location: Leuven, Belgium
Re: linux what type of file
You can use
It shows the info about the file,
But perhaps what you are looking for is
Result:
Code: Select all
ls -lha filenameBut perhaps what you are looking for is
Code: Select all
file filenameCode: Select all
file can_w33.pdf
can_w33.pdf: PDF document, version 1.4