Question - 1
which symbol shows the count of the arguments passed to the script.
Answer- C
Question - 2
What is the PID of the process ‘init’
Answer- A
Question - 3
What is the significance of $#?
- It will shows the count of the arguments passed to the script.
- It will show the arguments passed to the script
- It will show the numbers files
- None of the above
Solutions
Answer- A
Question - 4
By using which command we can find out how long the system has been running?
- uptime
- runtime
- intime
- None of the other
Solutions
Answer- A
Question - 5
What is the difference between $$ and $!?
- $$ gives the process id of the currently executing process whereas $! Shows the process id of the process that recently went into the background.
- $$ Shows the process id of the process that recently went into the background whereas $! gives the process id of the currently executing process .
- $$ Show the count of process id whereas $! gives count of background process id
- None of these
Solutions
Answer- A
Question - 6
By using which below utilies we can copy a file from one machine to other?
- ftp
- scp
- rsync
- All the above
Solutions
Answer- D
Question - 7
Which is the below option is a standard streams?
- stdout
- stdin
- stdfn
- Both A and B
Solutions
Answer- D
Question - 8
What is the significance of $?
- The command $? gives the current status of the command
- The command $? gives the exit status of the last command that was executed.
- Both a &b
- All the above
Solutions
Answer- B
Question - 9
Every file system on Linux having four fundamental components, below options which one is not belongs to it?
- Bootblock
- Super block
- Inode block
- Dead block
Solutions
Answer- D
Question - 10
What Zombie stage does in Linux process?
- In this stage, the Linux process has to wait for the requisite resource.
- In this stage, the process gets executed.
- After successful execution, the Linux process stops.
- In the final step, even though the process is no longer running, it remains active in the process table.
Solutions
Answer- D
Question - 11
Which command should you use to check the disk usage?
- df
- du
- dfspace
- All the above
Solutions
Answer- D
Question - 12
What does grep command do?
- The grep command can search for specific information in a file
- The grep command shows information about the user.
- The grep command shows the current working directory.
- The grep command compresses the specified file
Solutions
Answer- A
Question - 13
Which of the following is not a Shell ?
Answer- A
Question - 14
- Parent process identification
- Priority process identification
- Previous process identification
- Pre Parent identification
Solutions
Answer- A
Question - 15
Which command can be used to rename a file or a directory?
Answer- D
Question - 16
Which is the earliest and most widely used shell in UNIX?
Answer- B
Question - 17
Which command can be used to restrict the messages to be written onto you terminal using write command?
- mesg
- stop
- halt
- None of the above
Solutions
Answer- A
Question - 18
Which command is used to get intermediate result in a pipeline of commands?
Answer- A
Question - 19
Identify the invalid run level from the following.?
Answer- D
Question - 20
What is the outcome of a program running a command using exec?
- Command will get executed in a new shell.
- Command will get launched as a daemon process.
- Command will execute in the current shell without creating any new process.
- None of the above
Solutions
Answer- C
Practice more set questions