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
redland-config(1)					      General Commands Manual						 redland-config(1)

NAME
redland-config - script to get information about the installed version of Redland SYNOPSIS
redland-config [--cflags] [--help] [--libs] [--libtool-libs] [--prefix[=DIR]] [--private-libs] [--version-decimal] [--version] DESCRIPTION
redland-config is a tool that is used to determine the compile and linker flags that should be used to compile and link programs that use the Redland RDF library. OPTIONS
redland-config accepts the following options: --version Print the currently installed version of redland on the standard output. --version-decimal Print the currently installed version of redland as a decimal integer. --libs Print the linker flags that are necessary to link a redland program. This excludes linker arguments used to build the librdf shared library. --libtool-libs Print the flags that are necessary to link a redland program with libtool. --private-libs Print the linker flags that are necessary to build the librdf shared library. This option is not usually needed because the librdf shared library has already been dynamically linked against these libs. --cflags Print the compiler flags that are necessary to compile a redland program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that redland was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. SEE ALSO
redland(3), AUTHOR
Dave Beckett - http://www.dajobe.org/ <http://www.dajobe.org/> 2008-09-07 redland-config(1)