10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. Shell Programming and Scripting
Hi,
I have two scripts viz
and
I am running them in background.
I wish to know if both the scripts completed execution successfully.
So this is what I have done
/tmp/commet/bin/connectdb1.sh &
condb1=$?
/tmp/commet/bin/connectdb2.sh &
condb2=$?
However, I am getting error... (7 Replies)
Discussion started by: mohtashims
7 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
First time poster, I hope I have the basics covered.
I am trying to execute a .sh but finding I am getting inconsistent results. A fresh set of eyes would be great.
I am using Solaris 10 zones.
So I am trying to execute a script but I am getting different results between... (2 Replies)
Discussion started by: att01
2 Replies
4. Shell Programming and Scripting
Guys,
How can we know whether a script has been executed successfully or not ?
We dont have any log directories, and we are not given a chance to modify the script. Could someone help me out with this Thanks (2 Replies)
Discussion started by: bobby1015
2 Replies
5. AIX
Hi,
How difficult would it be to configure an alert on AIX that will inform me every time someone logs into the system? (1 Reply)
Discussion started by: bbbngowc
1 Replies
6. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
7. Solaris
Hi guys
i have posted a thread months ago and a guy called dukenuke or smething like that told me that i have to install Sun Studio if i want to be able to compile programs. I have installed Sun Studio 12 and put it in my PATH but no success compiling anything. when i download some source (tar.gz)... (2 Replies)
Discussion started by: saveka
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
Is there any way I can know whether my mail has been delivered successfully or not....?
I am using a shellscript which configures the header and the message body and also includes configurations for attachments. I use 'sendmail' to send the mails....
I have to resend the failed emails after... (7 Replies)
Discussion started by: Amruta Pitkar
7 Replies
9. UNIX for Dummies Questions & Answers
Hello There,
Aftar all i successfully installed Solaris 8 on my Primary Slave 2nd Hard disk.
Here what i did.
I kept my first hard disk (Windows Me) on primary Master and put my new 2nd hard disk on Primary Slave, CDROM is on Secondary slave.
When i install solaris8 it ask me two... (0 Replies)
Discussion started by: abidmalik
0 Replies
10. Programming
Hi everyone,
If you have a few c programs to compile, from a make file, how can you tell which program is compiled first. Descriptively, you may have:
objects = main.o xyz.o 123.o abc.o
target : $(objects)
$(CC) -o $@ $(objects)
Does this mean program xyz is called within main,... (1 Reply)
Discussion started by: rachael
1 Replies