How to set sticky bit, or it have any seperate directory to
create sticky bit in sunfir servers.

Please help me , i don't no the exact answer?

Answer Posted / vijay

chmod 700 filename
chmod o+t filename

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the md command do?

558


Explain how to use grep command to list find the records of a file containing 10 different strings?

583


What does sed command do in unix?

554


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

580


What do chown command do?

523






What is the use of awk command in unix?

565


Enumerate some of the most commonly used network commands in unix?

607


Name the general commands in using unix os for a beginner?

613


Are you in or at the office?

605


Which command can you use to find the currently running process in unix server?

575


What are bash commands?

583


Which command is used to restrict incoming messages?

580


Describe the usage and functionality of the command rm –r * in unix?

811


What are the general commands in using unix os for a beginner?

569


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1747