10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Greetings!
I set up a basic threading specimen which does the job:#!/usr/bin/python
import threading
class a(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
print("thread a finished")
class b(threading.Thread):
... (0 Replies)
Discussion started by: LinQ
0 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I have my own .profile file and environment file.
To execute some commands I always need to load some module using module command and change my environment files to project environment file (. /some/project/some/path/init.environ).Without changing my environment file to project file,... (2 Replies)
Discussion started by: saps19
2 Replies
3. Shell Programming and Scripting
Hi,
There is a user in Solaris-10 zone, ora_big01. Its .profile is not getting executed due to some reason and I am not able to find that.
root@trddpd-dwsq04:/# cat /etc/passwd | grep -i ora_big01
ora_big01:x:242349:220:Siebel for QA:/ccq/apps/siebel:/usr/bin/ksh
root@trddpd-dwsq04:/# which ksh... (3 Replies)
Discussion started by: solaris_1977
3 Replies
4. HP-UX
Greetings, i'm currently having issues in successfully executing a script from one server to other, and i'm cracking my nut in understanding why. Let's get started with the default info:
Server A:
briozzo@A:/home/briozzo $ uname -a
HP-UX A B.11.31 U ia64 2787251109 unlimited-user license
... (3 Replies)
Discussion started by: nbriozzo
3 Replies
5. Shell Programming and Scripting
55,0 5,6 * * * myScript
This cron task will execute on 5:00AM, 5:55AM, 6:00AM and 6:55AM.
Is there any possibility to make it run only in the order specified
such as 5:55AM and 6:00AM (basically only on the 2 intervals) ? (1 Reply)
Discussion started by: vikram3.r
1 Replies
6. Solaris
I have created profile file for zfs root (flash) on a wanboot server when i try to validate the rules file with check i get following error .. i 'm not sure why i 'm getting this error .. can any one help me on this ?
# ./check
Validating rules...
Validating profile profile...
Error in... (0 Replies)
Discussion started by: fugitive
0 Replies
7. Shell Programming and Scripting
I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test.
The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies
8. Shell Programming and Scripting
Hi
I get the following error while executing the shell script. I did not get an error when I ran the script in a different environment (unix server).
str-token.ksh: 0403-057 Syntax error at line 20 : `(' is not expected.
This is the line which gives error
string=(${pos_array})
Please find... (3 Replies)
Discussion started by: hidnana
3 Replies
9. Shell Programming and Scripting
I have to write a rbac script to add something into a role's profile, this script will be executed for many times, during this script, it will add a block into the profile.
if the profile exists, it should check the block has been there, if, just replace it with the latest settings, take an... (0 Replies)
Discussion started by: a2156z
0 Replies
10. Solaris
when I log into my solaris box, my environment variables are not getting set, and i am getting this error? any ideas?
-sh: ORACLE_BASE=/u01/oracle: is not an identifier
part of .profile is:
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=$ORACLE_BASE/app/products/10.2.0/db_1
... (6 Replies)
Discussion started by: scorphg
6 Replies