Re: [gentoo-user] Re: [OT] Bash scripting

2005-11-11 Thread davidgn
Quoting Peper [EMAIL PROTECTED]: try blah=`pwd`'/blah' *Note the single quotes do not enclose `pwd` I know how to use `command`, but the problem is that i read blah from file. blah=`head -n x file|tail -n 1` and in the file i have lines `pwd`/blah. $ echo $blah `pwd`/blah This

Re: [gentoo-user] Process and Files

2005-11-11 Thread davidgn
Quoting Miguel [EMAIL PROTECTED]: Hi, how can i know what process is using a specific file? I mean, i know that squid is the process that creates and writes the /var/log/squid/access.log, now , i have a /home/log/rtp.log file that i dont know what process is writing into it. any command?