Search Results

Search: Posts Made By: JackK
3,645
Posted By JackK
I am not telling that. My case isthat... if...
I am not telling that.
My case isthat... if within sqlplus an user is executing a command:ALTER SESSION set container='new_container';then I'd like the sqlplus to automatically execute command to...
3,645
Posted By JackK
cmd1 in my case is sqlplus (an executable program...
cmd1 in my case is sqlplus (an executable program made by Oracle Corporation) used to connect to database. I have no control at all on this tool so... I am not able to change its behavior.
3,645
Posted By JackK
Both examples given by Don Cragun and Corona688...
Both examples given by Don Cragun and Corona688 are working for me and I understand the idea behind it.
However, both those examples rely on a possibility of creating cmd1 and cmd2 from scratch, so...
3,645
Posted By JackK
I have an error: ---------- Post updated at...
I have an error:

---------- Post updated at 03:52 PM ---------- Previous update was at 03:12 PM ----------

Hello, Don Cragun.
Your "example of using the presence of a file to act as a...
3,645
Posted By JackK
I didn't know about coprocesses before. In my...
I didn't know about coprocesses before. In my case, I think, writing a parser with coprocesses is not needed and too complicated (for such a small requirement).

Is it possible to do a redirection...
3,645
Posted By JackK
Hi rovf, I think, using Expect for this is not...
Hi rovf,
I think, using Expect for this is not needed and hard. I have no idea at the moment, how could I achieve this this Expect.
I am sure there is an easier way to fulfill my needs. There...
3,645
Posted By JackK
Hi Don Cragun, This is not a homework. I need...
Hi Don Cragun,
This is not a homework. I need this because there is no automatic way to have PDB database name visible in SQL*Plus sqlprompt. I saw a solution by using a dedicated SQL function to...
3,645
Posted By JackK
How to send data to previous program (pipe)?
Hi,
Suppose I have a command:$ cmd1 | cmd2I need to send a message from cmd2 to cmd1 when I receive some a certain message from cmd1. How to do this?
I think that I have to know cmd1's PID and...
2,420
Posted By JackK
Setting alias (quotes, acutes)
Hello,
I'd like to have an alias to view some processes sorted:

I have:ps -ef | grep pmon | awk -F" " '{ print $8" "$0 }' | sort | cut -d" " -f2- | grep -v "grep pmon" It doesn't work, however,...
1,380
Posted By JackK
Thanks for the reply, bakunin. I forgot to tell...
Thanks for the reply, bakunin.
I forgot to tell that "nohup my_script.sh..." is executed inside parent shell script, which was used to prepare my_script.sh
Does this change anything? :rolleyes:
1,380
Posted By JackK
Any update?
Any update?
1,380
Posted By JackK
My script was:#!/bin/bash export...
My script was:#!/bin/bash
export NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
export ORACLE_SID=AGMISMP
rman target / <<EOF
BACKUP INCREMENTAL LEVEL 0 DATABASE FORMAT '/%d/DBF-FULL_%s_%U_%T' TAG...
1,380
Posted By JackK
Strange Ctrl+C behavior
Hello All,
I have a strange issue. I've created a shell script which connects to RMAN (Oracle Recovery Manager) and executes full DB backup. I then executed this script with nohup and in the...
2,552
Posted By JackK
Hi, I think I can do it simply by creating two...
Hi,
I think I can do it simply by creating two scripts: test.sh and test_bg.sh
test_bg.sh will be executed in test.sh by the command:
nohup test_bg.sh & I've got a question now... How may I bring...
2,552
Posted By JackK
Thanks Don for your answer. I don't know if you...
Thanks Don for your answer.
I don't know if you understand me correctly...
I have script test.sh:#!/bin/bash
# Script-name: test.sh
echo "'disown' test"
echo "" > test.out
#disown -h $$...
2,552
Posted By JackK
Put currently running script into background
Hi All,
Suppose I have a script and inside it I want/need to put it into background. I need the script to not react to SIGHUP signals.
I tried:
#!/bin/bash
echo "" > test_disown
mypid=$$
echo...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy