thx for your prompt response. however i am still not able to understand the working of exec command.
the below command simple overwrite the data
but this is not happening, instead it is keep on accepting the command and also appending the data also it seems that exec command is not leaving the control. please see below
this is what written in a book which i am referring. pasting the content below
Last edited by scriptor; 01-28-2013 at 09:28 AM..
Reason: adding some additional information
Hi. Im working in AIX. Oracle 9.2.
In one of the backup scripts, I see this:
sysback -f'/dev/rmt0' '-T chrp' '-k mp' -w '/tmpback' 'oradata_vg oraindx_vg ora misc_vg'
The line here, as I know, specifies the device name, the temp file, and the volume groups.
My query regards theses two: '-T... (2 Replies)
Hi, experts.
Whould anybody clear explay me difference and usage of these 3 commands (particulary in bash) :
exec
eval
source
I've tryed to read the manual pages but did not get much.
Also could not get something useful from Google search - just so much and so not exactly, that is... (3 Replies)
Hi,
I am trying to find the max memory utilization of a binary file using chatr command.
i gave chatr <file name>. But no where i could see the max memory usage of the file. How do you i check the memory usage of this binary file.
Upto my knowledge it should be 1.75GB in HP-UX. But the does... (1 Reply)
how does exec() do it? on successful call of exec() family of functions, they never return...
how to i emulate that.
assume the standard example,
execl("/bin/ls","ls",NULL);
now this would never return.
i m trying to emulate exec()'s never to return feature...
#include<unistd.h>... (4 Replies)
Hello,
can someone please explain me what the following commands do.. i know the output but i would like to understand the break down of what they do step by step.
1) sed -n "/ $(date +\%R -d "-1 min")/,$"p req.txt| wc -l
2)
awk '/19:00/,/22:00/' app.log |grep "mytesturl"|grep... (2 Replies)
root@desktop:~# last reboot | head -1
reboot system boot 2.6.31-17-generi Tue Jan 26 12:05 - 13:52 (01:46)
What does the last two fields(12:05 - 13:52 (01:46)) of the output mean? (2 Replies)
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) .
However w command says there are 5 users
Confused over the output any clue will be appreciated.
# w
09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16
USER ... (3 Replies)
Hi Gurus,
I am new for Unix scripting. below command in one existing script. I am not able to fully understand. please help
in below command, I am not able to understand what's {P=1} do
thanks in advance
awk 'NF==1{$3=$1;$1=L}P&&NF>=3{print $1,$3;L=$1}/^___/{P=1}' FILE (3 Replies)
Hello.
From a script, a command for a test is use :
find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc'
Tha command... (3 Replies)