Unix Commands Interview Questions
Questions Answers Views Company eMail

How to setup sudo, only can use for particular date & time only ( for solaris10 )

ups,

1 4331

What do you mean by zambie process?

6 11913

What is the functions of zambie process?

3 8073

How to setup Disk space as well as memory in solaris10?

4 7907

What is file system in unix??

Symphony,

10 17853

what is mount ,tell me about mount ,how can u use in real time project??

Symphony,

12 16507

what is the meaning of this command rm -rf / what will it do ?

Altair,

5 14214

how to remotely move a file ??? that mean how to move a file one machine to another machine ???

Altair,

10 16497

Which mode is used for allowing file write,read and append mode?

BitWise, TM,

9 20385

Which Command is Used for temprary switch User?

BitWise, IBM,

5 17150

What is use of sed command?

BitWise, Infosys, Reliance,

12 29489

Give the command to display space usage on the UNIX file system.

16 31794

What is the difference between Shell Programming and Shell scripting?

HCL, TCS, Wipro,

10 39040

how unix kernel distinguishes between a normal file and device file ?

Google, IBM, McAfee, Vodafone,

7 17885

what will this do $cat > file.c ?(file.c is a file in current directory)

IBM,

20 22629


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

What will the following command do?

793


What is the use of the tee command?

801


What is $0 bash?

876


Using unix command how to display no of records in oracle?

819


How do I search for a file in unix command?

730






What is ctrl d?

786


What is the command to compare two files in unix?

800


What do chmod, chown, chgrp commands do?

872


Write a command that will display files in the current directory, in a colored, long format.

901


Which command is used to restrict incoming messages?

772


What happens when we execute a unix command?

785


What does the “echo” command do?

825


How do I search for text in vi?

755


What does this command do,"$more readme.txt“?

850


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:

1949