Which Command is Used for temprary switch User?

Answer Posted / saravanan

we can use su or sudo

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the behavioural difference between cmp and diff commands?

672


What do chgrp command do?

590


What are bash commands?

588


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

621


Explain the steps that a shell follows while processing a command.

681






How to find $ai_serual resolved path by using unix

1024


What is the use of the tee command?

598


What is the first character of the output in ls l command?

629


What do chmod, chown, chgrp commands do?

633


What is in grep command?

645


Can you enlist some commonly used network commands?

599


How do I run a bash script?

580


Which command is used to find whether the system is 32 bit or 64 bit?

631


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:

1758


Enlist some filename manipulation commands in unix.

549