Link to home
Start Free TrialLog in
Avatar of diegohpe
diegohpeFlag for United States of America

asked on

sawp a file

Hi
I have a series of files and I need to find out if they are byte or interger. I am trying the od -b filenaem command but I am not sure of the result.
any ideas
thanks
Diego
Avatar of Tintin
Tintin

Your question doesn't make sense.  Integers are bytes.

Please explain what you are trying to achieve.

Are you trying to determine the difference between a binary and ascii file?
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

As ozo recommended, you may use the command file which will tell you about the file type. For more info about the command file, please use man file.

Also, you may use the command

what filename

This might also tell you more info about the file and its version, etc.

for more info about what, please use man what

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup Zone:

Accept: Ozo {http:# 20030927}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Suhas
Experts Exchange Cleanup Volunteer
      
Forced accept.

Computer101
EE Admin