Ever wondered what's inside some of those binary files on your system (binary executables or binary data)? Several times I've gotten error messages from some command in the Solaris system, but I couldn't tell where the error was coming from because it was buried in some binary executable file.
The Solaris "strings" command lets you look at the ASCII text buried inside of executable files, and can often help you troubleshoot problems. For
instance, one time I was seeing error messages like this when a user was trying to log in:
Could not set ULIMIT
I finally traced the problem down to the /bin/login command by running the "strings" command like this:
root> strings /bin/login | more
The strings command lists ASCII character sequences in binary files, and help me determine that the "Could not set ULIMIT" error was coming from
this file. Once I determined that the error message I was seeing was coming from this file, solving the problem became a simple matter.
- 2010/07/20 Kernel ata exception — found workaround.
- 2010/07/20 Raw file format support in Rawstudio for Linux for FujiFilm cameras.
- 2010/07/20 Linux command to repeat a string n times - Super User
- 2010/07/18 Adding border to images.
- 2010/07/18 Try a live Distro without burning on CD or running in VM