To check the contents of an object file (binary file), we can't use vi or cat command, for that use strings command.
% strings [name of binary file]
It will print all the printable strings present in object file. Basically strings command looks for ASCII strings
in executable file and print it. Great for core files and other binary error files.
% strings [name of binary file]
It will print all the printable strings present in object file. Basically strings command looks for ASCII strings
in executable file and print it. Great for core files and other binary error files.
No comments:
Post a Comment