LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2006, 08:25 PM   #1
domet
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
strace - tracing program vars


Hey,

I was wondering if there is a way in strace to trace the content of program variable.
so for example:
Code:
#!/bin/bash
pwd=`/bin/pwd`
/bin/echo "pwd is: $pwd"
So, is there a way in strace to display the result of `/bin/pwd` that will be stored in program variable pwd?

thanks,

-domet
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
strace app RajRed Linux - Software 1 12-03-2005 12:39 AM
Usage of strace mdb84 Linux - Software 1 03-25-2005 02:13 AM
Make and strace Clementine Linux - Newbie 0 02-16-2005 07:51 PM
strace question ronopolis Linux - Software 0 01-19-2005 10:41 AM
strace useradd phoenix_fei Programming 1 11-29-2004 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration