Generate Info From a Unix Binary

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Generate Info From a Unix Binary
# 8  
Old 08-25-2010
What is the test that it's failing? That's a big hint right there.

Also, you can do something like
Code:
strings devbinary > strings.dev
strings buildbinary > strings.build
diff -u strings.dev strings.build

Another thing, your system can prelink binaries, which results in a change to the binary itself, so if the md5sum of the binary on both boxes is different, it might only be because of the prelinker. See man prelink.

Lastly you might want to try:
Code:
rpm -qa --qf "%{NAME}-%{VERSION}" | sort > rpmlist.hostname

on both hosts and then diff the results.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Binary pattern matching in UNIX

I think what I'm trying to do is pretty straightforward but I just can't find a way to do it. I'm trying to run a double pattern match in a three column file. If the first two columns match, I need to output the third. So in the file AAA BBB 1 BBC CCC 5 CCC DDD 7 DDD EEE 12 If the... (4 Replies)
Discussion started by: matthewndavies1
4 Replies

2. Shell Programming and Scripting

Ftp client softwares that will generate UNIX commands

Hi Folks, Please advise for FTP client softwares like winscp we use mostly to transfer the files to other unix box machines but any ftp software which in logs will also generate and show the unix commands parallely for ex if I create a directory graphically through ftp software then it will list... (1 Reply)
Discussion started by: punpun66
1 Replies

3. UNIX for Advanced & Expert Users

How to generate graph in unix?

Hi Friends, I need to generate a graph in on the basis of data available in csv file in unix. Please let me know how to generate the graph. Thanks Mayank (4 Replies)
Discussion started by: mayank2211
4 Replies

4. Shell Programming and Scripting

Unix random number generate in given range

Hi All, I have extracted some report from database for few activities done. Now I have a requirement to add some random time(In range of 10-35) in front of each activity. Can be generated random numbers in any bash/sh shell within a given number range, let's say in between 10-30. ... (10 Replies)
Discussion started by: gr8_usk
10 Replies

5. Shell Programming and Scripting

Unix - Binary File

Hi All, I am newbie to this forum. I am also new to shell script world. I don't understand the below shell script. File Name: sendFile.sh #!/bin/bash # # This script invokes the Connect:Direct UNIX CLI # and submits a process inline to copy a file to a remote # node. # $1 is... (3 Replies)
Discussion started by: karthi
3 Replies

6. Shell Programming and Scripting

Generate a mail when you add info to a txt file

Hi, I have an application's log file: /var/log/logfile which is feeded from time to time due to an application. This file contains data, what I want is: -Whenever some new data is copied to /var/log/logfileI want to generate an email to root BUT only with the new added data in the body.... (6 Replies)
Discussion started by: iga3725
6 Replies

7. Programming

Generate a binary file using make

Hi, i am trying to create a makefile for my C++ program. when i say "make" it should generate the binary file. and when i say make clean, it should delete all the bins and libs. can u please help me out. (5 Replies)
Discussion started by: sunshine23
5 Replies

8. Shell Programming and Scripting

Editing Binary Files in Unix

Hi, Is there a way to edit BINARY files in Unix. Or even are there any commands (shellscript/perl) through which I can replace all the occurences of a string inside a BINARY file with another string ?? (1 Reply)
Discussion started by: cool.aquarian
1 Replies

9. Shell Programming and Scripting

Binary and hex in unix

not much familiar with binary and hex calculation in script programming.... explaination: binary format control the parameter turned on or off in the program stored in hex mode, the question is: how to change 39e to 19e using the binary calculation(although i don't know the command for... (2 Replies)
Discussion started by: trynew
2 Replies

10. UNIX for Dummies Questions & Answers

UNIX PATH info required PLEASE HELP (I'm new to unix)

I need to know how to enter a unix path in a cgi script for a guest book: example: My URL is http://www.kitachi.info I have an html file in the main folder on my site, the file is called : gbook.html what would the correct unix path for this file be ??? the part of the script... (1 Reply)
Discussion started by: akitachi
1 Replies
Login or Register to Ask a Question
cups-config(1)							    Apple Inc.							    cups-config(1)

NAME
cups-config - get cups api, compiler, directory, and link information. SYNOPSIS
cups-config --api-version cups-config --build cups-config --cflags cups-config --datadir cups-config --help cups-config --ldflags cups-config [ --image ] [ --static ] --libs cups-config --serverbin cups-config --serverroot cups-config --version DESCRIPTION
cups-config is the CUPS program configuration utility. It should be used by application developers to determine the necessary command-line options for the compiler and linker, as well as determining installation directories for filters, configuration files, and drivers. OPTIONS
--api-version Displays the current API version (major.minor). --build Displays a system-specific build number. --cflags Displays the necessary compiler options. --datadir Displays the default CUPS data directory. --help Displays the program usage message. --image When used with --libs, adds the CUPS imaging library to the list of displayed libraries. --ldflags Displays the necessary linker options. --libs Displays the necessary librarys to link to. --serverbin Displays the default CUPS binary directory, where filters and backends are stored. --serverroot Displays the default CUPS configuration file directory. --static When used with --libs, shows the static libraries instead of the default (shared) libraries. --version Displays the full version number of the CUPS installation (major.minor.patch). SEE ALSO
http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 23 October 2008 CUPS cups-config(1)