The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
wrongly linked my new file .. siddaonline UNIX for Dummies Questions & Answers 4 06-02-2008 05:27 AM
Dynamically ftp'ing a file pyaranoid UNIX for Advanced & Expert Users 0 09-02-2007 07:34 AM
setuid bit on user + dynamically linked libraries matrixmadhan High Level Programming 5 10-08-2006 03:33 PM
is there any way to see what and who is linked to file? umen UNIX for Dummies Questions & Answers 2 09-28-2005 01:51 PM
dynamically linked file sveera Shell Programming and Scripting 1 05-06-2005 02:40 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-03-2005
sveera sveera is offline
Registered User
  
 

Join Date: Mar 2005
Location: INDIA
Posts: 60
Red face dynamically linked file

Hi friends,

i have a dynamically linked file on my solaris system.this is script that runs regularly. How can i read the contents of that ?
when i tried to say "vi filename " then it says executable and nothing is seen.
Please help.
thanks in advance
Veera
  #2 (permalink)  
Old 06-03-2005
vibhor_agarwali vibhor_agarwali is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 259
Post the output of file command

file script
  #3 (permalink)  
Old 06-03-2005
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
ldd will show the names of libraries dynamically linked into an executable file
  #4 (permalink)  
Old 06-03-2005
sveera sveera is offline
Registered User
  
 

Join Date: Mar 2005
Location: INDIA
Posts: 60
Wink dynamically linked file

Hi agarwali,
thanks a lot for the reply.
when i type file cgw(which is the filename) this is the output that i am getting

cgw: PA-RISC1.1 shared executable dynamically linked

How can i view this file ?
thanks in advance
Veera
  #5 (permalink)  
Old 06-03-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
It's not obvious what you really want. But
od -c cgw | more
will let you view that file.
  #6 (permalink)  
Old 06-03-2005
sveera sveera is offline
Registered User
  
 

Join Date: Mar 2005
Location: INDIA
Posts: 60
Talking dynamically linked file

Hi Perderabo,
Actually i thought cgw was also a script and so i was trying to see the contents.Ya with the command that you have given i could see the octal dump.
Thanks for your reply
Veera
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0