Helpful Information
 
 
Category: UNIX Help
How to differentiate file types?

How do i use a shell script to diferrentiate file type,eg file.tar and fiel.tar.Z??
Thanks for reading...

'file' can do a decent job depending on the context.

see 'man file'










privacy (GDPR)