| Hot: |
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.
related post
<< Kernel ata exception — found workaround. How To Install Ailurus 10.05 On Fedora | HowtoForge – Linux Howtos and Tutorials >>
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
No comments yet, be the first!








Facebook
Digg
Delicious
Flickr
FriendFeed
LinkedIn
MyBlogLog
Orkut
Reddit
StumbleUpon
Technorati
Twitter
Youtube






