Bourne Questions

1

KILLING OLD UNIX PROCESSES
# I want to be able to extract all the oracleprod processes which are 3 days old and kill them. Are there other date functions or methods can I use? I can make a list of processes but how do I compare the date to kill those processes more than 3 days old. This problem [...]

Answer Question   |  May 20, 2010  10:39 AM
Awk, Bash, Bison, Bourne, CSH, Grep, KSH, nroff, Procmail, sed, Solaris, Unix, Unix Servers, Unix tools, Unix versions, xargs
asked by:
0 pts.

How to modify external environment variable from 2nd shell script
There are two shell scripts. First one creates variable as: “export VAR1=init_value;” OR “declare -x; VAR1=init_value;” Second script can read this variable and modifies the variable’s value but after exiting the variable still keep original value. What is wrong?

Answer Question   |  May 13, 2004  11:18 PM
Bash, Bourne, KSH
asked by:
0 pts.

1