System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

what command for know that type of file

Erick Flores Rivas
Occasional Contributor

what command for know that type of file

need know what command is used for type of file binary o ascci
4 REPLIES
Don Morris_1
Honored Contributor

Re: what command for know that type of file

man 1 file
SoorajCleris
Honored Contributor

Re: what command for know that type of file

Hi Eric,

#file FILENAME

exmaple ..
# file nsswitch.conf
nsswitch.conf: English text
[rx26-156]/etc
# file lvmtab
lvmtab: data
[rx26-156]/etc
# file rc.log
rc.log: ascii text

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Kapil Jha
Honored Contributor

Re: what command for know that type of file

file
and
what

what - extract SCCS version information from a file

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Prasanth Thomas
Valued Contributor

Re: what command for know that type of file

Hello,

Please run the below command,

#file

Regards,
Prasanth Thomas.