Follow Quotesrain
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • UNIX

Frequently Asked UNIX interview questions and answers for freshers

UNIX Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 260
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

UNIX Question Topics

    HR Interview (1)

  • Interview (1)
  • Logical Reasoning (2)

  • Blood Relations (1)
  • Mathematical Reasoning (1)
  • Programming (6)

  • Basics (1)
  • Technical (2)
Keep an EYE (0)
Solved Question (0) UnSolved Question (70)
Pages: 71234567NextLast
Advertisements

(#M40029552) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What are data structures that are used for Demand Paging?

A. Kernel contains 4 data structures for Demand paging. They are,
Page table entries,
Disk block descriptors,
Page frame data table (pfdata),
Swap-use table.

Asked In UNIX MAN (9 years ago)
Unsolved
Is this Puzzle helpful?   (2)   (2) Submit Your Solution

(#M40029536) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Is the Process before and after the swap are the same? Give reason.

A. Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there may be few empty slots in any of the regions and while swapping Kernel do not bother about the empty slots while swapping the process out.
After swapping the process resides in the swap (secondary memory) device. The regions swapped out will be present but only the occupied region slots but not the empty slots that were present before assigning.
While swapping the process once again into the main memory, the Kernel referring to the Process Memory Map, it assigns the main memory accordingly taking care of the empty slots in the regions.

Asked In UNIX MAN (9 years ago)
Unsolved
Is this Puzzle helpful?   (2)   (0) Submit Your Solution
Advertisements

(#M40029510) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Discuss the mount and unmount system calls

A. The privileged mount system call is used to attach a file system to a directory of another file system; the unmount system call detaches a file system. When you mount another file system on to your directory, you are essentially splicing one directory tree onto a branch in another directory tree. The first argument to mount call is the mount point, that is , a directory in the current file naming system. The second argument is the file system to mount to that point. When you insert a cdrom to your unix system's drive, the file system in the cdrom automatically mounts to /dev/cdrom in your system.

Asked In UNIX MAN (9 years ago)
Unsolved
Is this Puzzle helpful?   (5)   (1) Submit Your Solution

(#M40029516) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. Predict the output of the following program code

A.
main()
{
fork();
printf("Hello World!");
}
Answer:
Hello World!Hello World!
Explanation:
The fork creates a child that is a duplicate of the parent process. The child begins from the fork().All the statements after the call to fork() will be executed twice.(once by the parent process and other by child). The statement before fork() is executed only by the parent process.

Asked In UNIX MAN (9 years ago)
Unsolved
Is this Puzzle helpful?   (1)   (0) Submit Your Solution

(#M40029517) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. How can you get/set an environment variable from a program?

A. Getting the value of an environment variable is done by using `getenv()'.
Setting the value of an environment variable is done by using `putenv()'.

Asked In UNIX MAN (9 years ago)
Unsolved
Is this Puzzle helpful?   (2)   (0) Submit Your Solution

(#M40156193) UNIX QUESTION user password identification Keep an EYE Keep an eye puzzle Keep an eye puzzle

how can we see the password of other users in the machine as a root user?
how can we do this

Asked In UNIX vinu (7 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Interview

(#M40156294) UNIX QUESTION touch command in unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Why do we use touch command in UNIX?
[1] to create an empty file
[2] to rename a file
[3] both
[4] none

Asked In UNIX Rishikesh Agrawani (6 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (6)   (4) Submit Your Solution Technical

(#M40155923) UNIX QUESTION UNIX command : cat Keep an EYE Keep an eye puzzle Keep an eye puzzle

The cat command in UNIX is used for

[1] displaying the contents of file
[2] concatenate two files
[3] creating a new file
[4] 1 & 3 both
[5] None

Asked In UNIX Rishikesh Agrawani (7 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (5)   (2) Submit Your Solution Technical

(#M40156293) UNIX QUESTION sed command in unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Why do we use sed command in UNIX?
[1] for replacing any text with another text
[2] for deleting file
[3] for creating directory
[4] None of above

Asked In UNIX Rishikesh Agrawani (6 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (5)   (0) Submit Your Solution

(#M40029566) UNIX QUESTION unix Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. At what mode the fault handler executes?

A. At the Kernel Mode.

Asked In UNIX MAN (9 years ago)
Unsolved
Is this Puzzle helpful?   (7)   (0) Submit Your Solution
Keep an EYE (0)
Solved Question (0) UnSolved Question (70)
Pages: 71234567NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

mathematicians are born, not made.

krishnan

without maths no can't live in this world

k ravikumar

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 2 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 3 years ago
  • 2475K+Registerd user
  • 1733K+Engineers
  • 742K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com