UNiX Quiz - Answer the Questions.

Sahithi Pallavi

Sahithi Pallavi

@sahithi-oJZaYj Oct 26, 2024

Answer the following UNIX Questions.




1. In Unix inter process communication takes place using?

2. The Very first process created by kernel is?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Reya

    Reya

    @reya-SMihdC Aug 9, 2011

    2. fork() or boot loader?

    1.Shared memory or sockets?(A wild guess)
  • vik001ind

    vik001ind

    @vik001ind-rOaCSy Aug 18, 2011

    IPC takes place using sockets, semaphores, monitors, mutex etc. There are well defined functions like send() & receive() to send & receive messages in between processes.
    init process is created first by kernel having process id 1.
  • Sahithi Pallavi

    Sahithi Pallavi

    @sahithi-oJZaYj Aug 18, 2011

    Right answers Vik 😀


    3. What is an i-node number?

    4. What is an UNIX Shell? How many shells UNIX OS have?
  • Reya

    Reya

    @reya-SMihdC Aug 20, 2011

    3.Each file name has a number added to it. In inode table it is easy for us to find out the size,file type,location,user id,time,access mode using this number associated with each file name.
  • Reya

    Reya

    @reya-SMihdC Aug 20, 2011

    Unix shell is a command interpreter which accepts commands from user and print the responses. It acts a means of communication between the user and the unix operating system.

    This program(unix command interpreter is invoked when you start the unix terminal)

    csh,ksh,bash,zsh are the shells which UNIX OS have.
  • TheV

    TheV

    @thev-iGmS6y Aug 21, 2011

    5. What are the stages of a process?
    6. What is chmod ?
  • ankushm35

    ankushm35

    @ankushm35-nJ0slo Aug 24, 2011

    2: it's fork().
  • Sahithi Pallavi

    Sahithi Pallavi

    @sahithi-oJZaYj Sep 1, 2011

    6. chmod is a command used to change the mode of a file.
    Ex - from reading mode to writing mode etc etc..
  • Maitham.k

    Maitham.k

    @maithamk-OT7XMP Sep 3, 2011

    5- if you mean states of a process it can be: Running, Ready, Blocked, Suspended and Terminated.
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Sep 3, 2011

    Maitham.k
    5- if you mean states of a process it can be: Running, Ready, Blocked, Suspended and Terminated.
    Add Runnable... 😀

    Regarding CHMOD, Sada is kind of correct, but it deals with the permissions...

    When a file is writable and readable plus executable by world, it is 777, where,
    The first 7 for Owner
    Second 7 for Users
    Last 7 for Others...

    The permissions come this way...
    111 in binary = 7
    So, it stands for
    Read, Write, Execute (RWX)

    If a file is only Read, then the value will be 1 0 0 => 4 (R--)
    If only Write, then 0 1 0 => 2 (-W-)
    Only an executable? Simple! 1 (--X)

    If a file is readable and writable, it would be 6 (RW-), and for most of the executions, it would 7 (RWX)

    Am I too brief?
  • vinci

    vinci

    @vinci-e4PtMU Sep 15, 2011

    tell me more about linux .
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Sep 18, 2011

    @Vinci, be more specific. To know more about linux, there's always a Wikipedia entry for it. If you have a specific question, please do ask. 😀