Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS
Showing 41 - 50 of 324 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
UNIX INTERVIEW QUESTIONS
 
41What Is Chmod, Chown And Chgrp?
Date Posted: 07/02/2012

Ans:
Chmod : It is used for to change permissions on files.
Chown : It is used for to change ownership of a file.
Chgrp : It is used for to change group of the file.

 
 
42What Are The Different Commands Used To Create Files?
Date Posted: 07/02/2012

Ans:

  • touch - to create empty files.(e.g.) - touch ‹filename›
  • vi ‹filename›
  • cat>filename

 
 
43What Is Block Started By Symbol?
Date Posted: 07/02/2012

Ans: A data representation at the machine level, that has initial values when a program starts and tells about how much space the kernel allocates for the un-initialized data. Kernel initializes it to zero at run-time.

 
 
44What Is The Command To Find Out Today’s Date
Date Posted: 07/02/2012

 Ans: Date

 
 
45How Many Prompts Are Available In A UNIX System-
Date Posted: 07/02/2012

Ans: Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).

 
 
46What Difference Between Cmp And Diff Commands?
Date Posted: 07/02/2012

Ans:
Cmp - Compares two files byte by byte and displays the first mismatch.
Diff - tells the changes to be made to make the files identical.

 
 
47Define Process Group?
Date Posted: 07/02/2012

Ans: A process group is a collection of one or more processes. Each process group has a unique process ID. A function getpgrp returns the process group id of the calling process.

 
 
48What Is The Purpose Of Exec Functions?
Date Posted: 07/02/2012

Ans: When a process calls one of the exec functions that process is completely replaced by the new program. The new program stats execution from main function. The processed does not change across an exec because a new process is not created. But this function replaces the current process with new program from disk.

 
 
49What Are The Different Types Of Buffering Is Supported By UNIX?
Date Posted: 07/02/2012

Ans:

  • Fully buffered
  • Line buffered
  • Un buffered

 
 
50Define Sticky Bit?
Date Posted: 07/02/2012

Ans: The bit S_ISVTX is known as sticky bit. If this bit is set for an executable program file, then the first time the program was executed a copy of the programmer’s text was saved in the swap area when the process terminated. The advantage of using this is the program is loaded into memory faster the next time.

 
Showing 41 - 50 of 324 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
Shadow Bottom
 
 
© 2005 -