Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-01-2012, 12:15 AM   #16
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235

try running the command again.
Then on another terminal run
ls -l /proc/$(pidof abc.out)/fd
Examine what files are opened there.
Do the same for
/programs/abc.out >> log.txt
And check their difference.


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
Redirect output of a command to another file inside shell script mukul_d Linux - General 4 08-27-2010 03:23 PM
trying to run a script in the background redirect the output to a file jdwalk Linux - Newbie 5 02-12-2010 08:50 AM
Unable to redirect script output to a file alien12 Linux - Newbie 4 08-25-2009 04:36 AM
cannot execute script file from shell shahrahulb Linux - General 4 03-04-2008 08:02 AM
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-22-2007 12:43 AM > Forums > Linux Forums > Linux - Newbie

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

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