Operating System-Unix [3i Infotech Placement]: Sample Questions 44 - 46 of 78

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 44

Edit

Write in Short

Short Answer▾

Explain is command in Unix.

Explanation

  • The is command lists all files in the directory that match the name.
  • If name is left blank, it will list all of the files in the directory.
  • It can also list information about the FILEs.

Syntax

Ls [options] [names]

Example:

Ls -la

Question 45

Edit

Describe in Detail

Essay▾

What is Expansion swap?

Explanation

  • When process requires more memory than allocated, the kernel performs expansion swap- kernel reserves enough space.
  • Address translation mapping is adjusted for the new virtual address space but the physical memory is not allocated.
  • Now kernel swaps the process into the assigned space in the swap device according to the new address translation mapping.
  • Swap space can be a dedicated swap partition, a swap file, or a combination.
  • The size of swap space should be equal to twice our computer՚s RAM but no more than 2048 MB.

Question 46

Edit

Describe in Detail

Essay▾

What is FIFO?

Explanation

Formate of FIFO
  • FIFO are pipes with a name- commonly referred as “named pipes” .
  • Pipes are common on Linux command lines but do not have a system-wide name.
  • Two processes that wish to communicate using a pipe need to be related, parent and child or sharing a common parent.

Characteristics of Pipe

  • Different but named like a file.
  • Exists in the file system-but not necessary for the processes to communicate using FIFO.
  • We create a FIFO from the shell using the mknod command.

Developed by: