Linux interview questions
517 questions. Tap “Show answer” to check yourself.
-
Which shell provides many of the tools found in C language?
- Minix
- Xenix
- Linux
- Unix
Show answer
C. Linux
-
Which was widely distributed over the Internet?
- Linux
- Unix
- Minix
- Xenix
Show answer
A. Linux
-
Which was the operating system was created mainly by the efforts of Ken Thomson?
- Unix
- Linux
- Minix
- Xenix
Show answer
A. Unix
-
Which command displays the contents of a file?
- cat
- T pipe
- Is
- tee
Show answer
A. cat
-
How will you see the system date?
- $ dd
- $ dy
- $ date
- $dt
Show answer
C. $ date
-
Which of the following command is used for prompting?
- man
- echo
- Is
- pwd
Show answer
B. echo
-
Which key open a new line and places the cursor in the beginning of that new line?
- P
- p
- O
- o
Show answer
D. o
-
Who developed an effective PC version of Unix for Minix users?
- Dennis Ritchie
- Ken Thomson
- Prof. Andrew S. Tannenbaum
- Linus Torvalds
Show answer
D. Linus Torvalds
-
Which command allows you to change a single character where the cursor is currently on?
- o
- O
- r
- R
Show answer
C. r
-
What is the key used to quit Vi editor?
- :q
- q
- :a!
- qi
Show answer
A. :q
-
Which sign is a substitute for our home directory?
- ($) dollar
- (#) hash
- (*) astrisks
- (~) tilde
Show answer
D. (~) tilde
-
What is the reference of the second partition on the first hard drive?
- hd
- hda2
- hda
- dha
Show answer
B. hda2
- Advertisement
-
Which symbol is used to refer the contents of a variable?
- *
- ""
- $
- #
Show answer
C. $
-
Establishing the connection between a file system on a storage device and our main directory tree is called as
- sharing
- changing
- mounting
- unmounting
Show answer
C. mounting
-
Which command takes the input from standard input and copies into a file?
- cat
- T pipe
- more
- tee
Show answer
D. tee
-
Which command allows you to change the entire contents of a line?
- cc
- nn
- cw
- dw
Show answer
A. cc
-
In File Access Permission, what command gives the owner of the file the execute permission?
- s + x
- u + x
- o + x
- a + x
Show answer
B. u + x
-
Which command allows you to change a word?
- co
- dd
- dw
- cw
Show answer
D. cw
-
A directory under a directory is called as
- root directory
- parent directory
- sub directory
- child directory
Show answer
C. sub directory
-
Which command will undo the last modification?
- o
- n
- u
- d
Show answer
C. u
-
Double dot (..) with <b>cd</b> refers to
- created directory
- current directory
- parent directory
- change directory
Show answer
C. parent directory
-
Which version can run on any machine available now?
- suitable Unix
- suitable Linux
- suitable Xenix
- suitable Minix
Show answer
B. suitable Linux
-
Which command allows you to overwrite text?
- r
- R
- O
- o
Show answer
B. R
-
Which key places you in input mode in Vi editor after the character where the cursor is currently on?
- n
- i
- a
- s
Show answer
C. a
- Advertisement
-
The <b>pwd</b> stands for
- path work device
- present work device
- parent working directory
- print working directory
Show answer
D. print working directory
-
The file owner can change the access permission by _____ command.
- chmod
- ahmod
- enmod
- ehmod
Show answer
A. chmod
-
What command removes the entire line that the cursor is presently on?
- nn
- ll
- xx
- dd
Show answer
D. dd
-
How will you go to a particular line number in Vi editor?
- line number R
- line number G
- line number B
- line number N
Show answer
B. line number G
-
Which command creates a new shell?
- ah
- oh
- ch
- sh
Show answer
D. sh
-
The <b>cd</b> command stands for
- complete directory
- created directory
- change directory
- current directory
Show answer
C. change directory