hi
excellent - thanks!
actually i wasn't aware as quickly as you think (unfortunately) that my variable is only in the calling scripts environment. i thought that the exec would fork a new subshell which in turn would inherit the calling shells settings. well, there must be a reason why this is...
hei marsd
thanks!!
two things:
1. my application somehow doesn't accept my environment variables. it keeps telling me to set variable PCMSDB, even though i'v set it (tried: set env(PCMSDB) my_value; set PCMSDB my_value). retrieving PCMSDB with puts shows that the value is set correctly -...
hi all
i'm trying to write some test driver for our application. i'd like to create scripts which allow me to switch user and from there on talk to the application as the user i've switched to. preferably i logon as every different user (i need several users with different permissions)...
hi
i'm trying to set up a named pipe, stuff in some commands and - from another programm - execute the commands in the pipe. i thought, that after execution of the pipe, the pipe itself would die (disappear) - but mine doesn't:
<< program 1 >>
mkfifo MYPIPE
'ps -ef' > MYPIPE &
...some time...
hi
this seems like a simple question: HOW DO I SET THE IFS VARIABLE IN MY SCRIPT? i just can't get it to work!
i tried different things:
IFS="."
IFS=.
IFS='.'
echo $IFS # never returns what i want, just blank
but non worked. i'm trying to define ifs at the beginning of my...
okay, i get the picture. i guess i stick to writing the thing in shell and havin cron execute the script periodically. say i wanted to run the script every five minutes, stop it from running when an error occurred and not execute the script between 4 and 6 a.m every day. can i do that in cron?
thx!
hello
i'm trying to write a shell script which does something in a loop, ignores some signals (HUP,...) -etc. -> make it behave somewhat like a daemon. my problem: how can i communicate with my "daemon"? after having started the script as a background process, i would like to log off...
sorry, my english...;-)
I try once again: I'm not actually trying to rename the link but to relink it, eg: pcms_home -> /mydir to a new destiantion: pcms_home -> /yourdir.
woche
thanks aixqueen
my last reply wasn't to your mail actually - I think they just crossed :-)
In that case: thanks for your answer, especially the part of the file corruption. errpt returns to the command-prompt and so I guess, errlog "is empty".
woche
Yes, I'm aware of that, but my understandign of the errclear utility is such, that it clears errlog from all its content (just like you can clear any file by issueing "> myfile")...that doesn't happen. I read somewhere, that it's not good to clear the errlog by typing ">...
Hi Bill
Thanks for your answer. It does create the errlog, but it's not empty - but maybe doesn't need to be:-)
So: when I issue "errclear 0" the errlog stays the same in its content.
woche
Hello
I got a problem with the errclear utility: I get an "unexpected eof"-error every time the cron job starts the utility. The size of errlog = 0. Maybe it was cleared using "> errlog" - which doesn't seem to be a good idea (I don't understand why). so I copied the errlog...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.