How do i use a shell script to diferrentiate file type,eg file.tar and fiel.tar.Z??
Thanks for reading...
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'