Krishna Logo
Divied
Call: Sana @ (571) 386-2972

 

Loading
Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS
Showing 41 - 50 of 323 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
UNIX INTERVIEW QUESTIONS
 
41What 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

 
 
42What 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.

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

 Ans: Date

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

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

 
 
45What 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.

 
 
46Define 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.

 
 
47What 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.

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

Ans:

  • Fully buffered
  • Line buffered
  • Un buffered

 
 
49Define 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.

 
 
50What Are The Options Available To Determine The Group ID Of The New File?
Date Posted: 07/02/2012

Ans:

  • The group ID of the new file can be the effective group ID of the process
  • The group ID of the new file can be the group ID of the directory in which the file is being created.

 
Showing 41 - 50 of 323 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
Shadow Bottom
 
 
© 2005 - 2018 Krishna Training.
Designed & Developed By BitraNet