Logo

Basic Of Linux Unix MCQs

Option A: cd p

Option B: cd p?

Option C: cd p*

Option D: cd [p]

Correct Answer: cd p


Click for More Details

Option A: chmod 555 note

Option B: chmod 666 note

Option C: chmod 444 note

Option D: chmod 333 note

Correct Answer: chmod 666 note


Click for More Details

Option A: executable permission only

Option B: write and executable permissions

Option C: both read and executable permissions.

Option D: both read and write permissions

Correct Answer: both read and write permissions


Click for More Details

Option A: > symbols

Option B: >> symbols

Option C: < symbols

Option D: << symbols

Correct Answer: > symbols


Click for More Details

Option A: $!

Option B: $$

Option C: 0

Option D: $*

Correct Answer: $$


Click for More Details

Option A: [ijk]

Option B: [!ijk]

Option C: ?

Option D: *

Correct Answer: *


Click for More Details

Option A: kill 1

Option B: kill 0

Option C: cancel all

Option D: cancel 1

Correct Answer: kill 0


Click for More Details

Option A: dm

Option B: rm

Option C: delete

Option D: erase

Correct Answer: rm


Click for More Details

Option A: grep

Option B: mail

Option C: mesg

Option D: write

Correct Answer: grep


Click for More Details

Option A: rpcinfo

Option B: serverinfo

Option C: NFSinfo

Option D: infserv

Correct Answer: rpcinfo


Click for More Details

Option A: Net.Net.Net.Node

Option B: Net.Net.Node.Node

Option C: Net.Node.Net.Node

Option D: Net.Node.Node.Node

Correct Answer: Net.Node.Node.Node


Click for More Details

Option A: chmod ugo + x report

Option B: chmod u + x report

Option C: chmod ugo + rw report

Option D: chmod ugo + r report

Correct Answer: chmod ugo + x report


Click for More Details

Option A: lyrix

Option B: ed

Option C: vi

Option D: cat

Correct Answer: cat


Click for More Details

Option A: bzimage.img

Option B: tar

Option C: ghost

Option D: mkkickstart

Correct Answer: tar


Click for More Details

Option A: Linux

Option B: BSD

Option C: UnixWare

Option D: DOS

Correct Answer: DOS


Click for More Details

Option A: cat emp[!0-9]

Option B: more [emp][!0-9]

Option C: cat emp[x-z]

Option D: cat emp[a-z]

Correct Answer: cat emp[!0-9]


Click for More Details

Option A: chmod -R a+x progs

Option B: chmod -R 222 progs

Option C: chmod -1 a+x progs

Option D: chmod -x a+x progs

Correct Answer: chmod -R a+x progs


Click for More Details

Option A: chmod ugo+r letter

Option B: chmod ugo+rw letter

Option C: chmod u+x letter

Option D: chmod ugo+x letter

Correct Answer: chmod ugo+x letter


Click for More Details

Option A: .exrc

Option B: .profile

Option C: lastlogin

Option D: .mbox

Correct Answer: .profile


Click for More Details

Option A: cd..

Option B: cd/

Option C: cd

Option D: cd HOME.

Correct Answer: cd


Click for More Details

Option A: grep

Option B: mail

Option C: mesg

Option D: write

Correct Answer: grep


Click for More Details

Option A: dm

Option B: rm

Option C: delete

Option D: erase

Correct Answer: rm


Click for More Details

Option A: kill 1

Option B: kill 0

Option C: cancel all

Option D: cancel 1

Correct Answer: kill 0


Click for More Details

Option A: mail

Option B: mesg

Option C: write

Option D: grep

Correct Answer: write


Click for More Details

Option A: [ijk]

Option B: [!ijk]

Option C: ?

Option D: *

Correct Answer: *


Click for More Details

Option A: $!

Option B: $$

Option C: 0

Option D: $*

Correct Answer: $$


Click for More Details

Option A: R

Option B: v

Option C: C

Option D: u

Correct Answer: R


Click for More Details

Option A: +

Option B:

Option C: =

Option D: %

Correct Answer: =


Click for More Details

Option A: who

Option B: ls

Option C: tty

Option D: stty

Correct Answer: tty


Click for More Details

Option A: > symbols

Option B: >> symbols

Option C: < symbols

Option D: << symbols

Correct Answer: > symbols


Click for More Details

Option A: pg

Option B: cat

Option C: lp

Option D: /p

Correct Answer: pg


Click for More Details

Option A: executable permission only

Option B: write and executable permissions

Option C: both read and executable permissions.

Option D: both read and write permissions

Correct Answer: both read and write permissions


Click for More Details

Option A: chmod 555 note

Option B: chmod 666 note

Option C: chmod 444 note

Option D: chmod 333 note

Correct Answer: chmod 666 note


Click for More Details

Option A: write

Option B: mesg

Option C: calendar

Option D: mail

Correct Answer: calendar


Click for More Details

Option A: cd p

Option B: cd p?

Option C: cd p*

Option D: cd [p]

Correct Answer: cd p


Click for More Details

Option A: ls profile

Option B: find /-name profile -print

Option C: cd /.profile

Option D: l -u .profile

Correct Answer: find /-name profile -print


Click for More Details

Option A: -m.n

Option B: +m.n

Option C: + n.m+1

Option D: +(m+l).n

Correct Answer: +m.n


Click for More Details

Option A: password

Option B: login

Option C: shell

Option D: home

Correct Answer: shell


Click for More Details

Option A: -c

Option B: -i

Option C: -d

Option D: -s

Correct Answer: -s


Click for More Details

Option A: chkdsk

Option B: fdisk

Option C: du

Option D: disk

Correct Answer: du


Click for More Details

Option A: ls

Option B: lp

Option C: dir

Option D: tar

Correct Answer: ls


Click for More Details

Option A: rm *

Option B: rm -r *

Option C: rm all

Option D: rm *.*

Correct Answer: rm -r *


Click for More Details

Option A: write

Option B: mesg

Option C: mail

Option D: grep

Correct Answer: grep


Click for More Details

Option A: ls -l

Option B: ls -x

Option C: ls -F

Option D: ls -a

Correct Answer: ls -a


Click for More Details

Option A: rd

Option B: rmdir

Option C: dldir

Option D: rdir

Correct Answer: rmdir


Click for More Details

Option A: ls -l *.lst

Option B: ls lst*

Option C: ls *.*

Option D: ls *[lst]

Correct Answer: ls -l *.lst


Click for More Details

Option A: disk

Option B: du

Option C: fdisk

Option D: chkdsk

Correct Answer: du


Click for More Details

Option A: comp

Option B: cmp

Option C: do

Option D: ccp

Correct Answer: ccp


Click for More Details

Option A: 82 and 83

Option B: 92 and 93

Option C: 63 and 64

Option D: 82 and 85

Correct Answer: 82 and 83


Click for More Details

Option A: ls

Option B: cat

Option C: file

Option D: more

Correct Answer: file


Click for More Details

Option A: addroute

Option B: route

Option C: netstat

Option D: net

Correct Answer: route


Click for More Details

Option A: -r

Option B: -x

Option C: -i

Option D: -1

Correct Answer: -i


Click for More Details

Option A: -a option

Option B: -d option

Option C: -r option

Option D: -x option

Correct Answer: -d option


Click for More Details

Option A: tar

Option B: cpio

Option C: cp

Option D: copy

Correct Answer: cp


Click for More Details

Option A: /tmp

Option B: /etc

Option C: /usr

Option D: /dev

Correct Answer: /usr


Click for More Details

Option A: FTP

Option B: SNMP

Option C: SMTP

Option D: RPC

Correct Answer: SMTP


Click for More Details

Option A: wc – 1

Option B: wc -c

Option C: wc -w

Option D: wc -r

Correct Answer: wc -c


Click for More Details

Option A: cp chap?? progs

Option B: cp chap* progs

Option C: cp chap[12] /progs/*.*

Option D: cp chap?? /progs/*

Correct Answer: cp chap?? progs


Click for More Details

Option A: /sbin/usrquota

Option B: /sbin/edquota

Option C: /sbin/quotaon

Option D: /sbin/quota

Correct Answer: /sbin/edquota


Click for More Details

Option A: chmod ugo + x letter

Option B: chmod u + x letter

Option C: chmod u + w letter

Option D: chmod g + x letter

Correct Answer: chmod u + x letter


Click for More Details

Option A: /dev

Option B: /bin

Option C: /etc

Option D: /home

Correct Answer: /dev


Click for More Details

Option A: chmod u+x emp[1-3]

Option B: chmod 777 emp*

Option C: chmod u+r ??? emp

Option D: chmod 222 emp?

Correct Answer: chmod u+x emp[1-3]


Click for More Details

Option A: 128

Option B: 126

Option C: 16382

Option D: 2113658

Correct Answer: 2113658


Click for More Details

Option A: ccp

Option B: du

Option C: cmp

Option D: comp

Correct Answer: cmp


Click for More Details

Option A: /etc/services

Option B: /etc/nsorder

Option C: /etc/nsswitch.conf/

Option D: /etc/hosts

Correct Answer: /etc/services


Click for More Details

Option A: [Control-d]

Option B: [Control – u]

Option C: [Control-c]

Option D: [Control -P]

Correct Answer: B. [Control – u]


Click for More Details

Option A: -t

Option B: -tt

Option C: -4

Option D: -i

Correct Answer: -t


Click for More Details

Option A: /

Option B: ?

Option C: //

Option D: ??

Correct Answer: /


Click for More Details

Option A: Shadow

Option B: password

Option C: profile

Option D: All the three

Correct Answer: password


Click for More Details

Option A: s

Option B: S

Option C: a

Option D: i

Correct Answer: i


Click for More Details

Option A: cat

Option B: cut

Option C: grep

Option D: paste

Correct Answer: cut


Click for More Details

Option A: grep

Option B: tail

Option C: head

Option D: cat

Correct Answer: tail


Click for More Details

Option A: chmod 4=7, g = 6, o = 1 letter

Option B: chmod a = 761 letter

Option C: chmod u = rwx, g = rw, o = x letter

Option D: chmod 167 letter

Correct Answer: chmod u = rwx, g = rw, o = x letter


Click for More Details

Option A: 2GB

Option B: 128MB

Option C: 64MB

Option D: 32MB

Correct Answer: 2GB


Click for More Details

Option A: vi

Option B: Outlook

Option C: Scheduler

Option D: cron

Correct Answer: cron


Click for More Details

Option A: Session

Option B: Data-link

Option C: Application

Option D: Network

Correct Answer: Application


Click for More Details

Option A: ??

Option B: //

Option C: ?

Option D: /

Correct Answer: /


Click for More Details

Option A: Using useradd

Option B: Using adduser

Option C: Using linuxconf

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: r user-list

Option B: m user-list

Option C: d user-list

Option D: e user-list

Correct Answer: m user-list


Click for More Details

Option A: :q

Option B: :w

Option C: q!

Option D: 😡

Correct Answer: :w


Click for More Details

Option A: A

Option B: a

Option C: i

Option D: I

Correct Answer: A


Click for More Details

Option A: cp

Option B: cpio

Option C: cp – p

Option D: copy

Correct Answer: cp


Click for More Details

Option A: ls

Option B: ls -1

Option C: ls -x

Option D: lc

Correct Answer: ls


Click for More Details

Option A: Execute permission for the owner

Option B: Write permission for others

Option C: Read and write permission of groups

Option D: All of the above

Correct Answer: Write permission for others


Click for More Details

Option A: C shell

Option B: Korn shell

Option C: Bourne shell

Option D: Smith shell

Correct Answer: Bourne shell


Click for More Details

Option A: chmod u-x, go+r note

Option B: chmod go+r, u+x note

Option C: chmod g-x, uo+r note

Option D: chmod go+x, u-x note

Correct Answer: chmod u-x, go+r note


Click for More Details

Option A: lk

Option B: ln

Option C: cp

Option D: tar

Correct Answer: ln


Click for More Details

Option A: find -mtime +365 | rm

Option B: grep (/usr/*) – mtime + 365 | -ok rm

Option C: find -name – mtime + 365 / – ok rm

Option D: find /user/* \(-mtime + 365 – a – atime +365 \) – OK rm {} \;

Correct Answer: D. find /user/* \(-mtime + 365 – a – atime +365 \) – OK rm {} \;


Click for More Details

Option A: count p

Option B: wc

Option C: wcount

Option D: countw

Correct Answer: wc


Click for More Details

Option A: to move cursor left by one position

Option B: to move cursor right by one position

Option C: to move cursor down by one line

Option D: to move cursor to the beginning of the line specified by the number

Correct Answer: to move cursor to the beginning of the line specified by the number


Click for More Details

Option A: ic

Option B: ai

Option C: sm

Option D: ts

Correct Answer: ic


Click for More Details

Option A: who | tee user.lst

Option B: who > user.lst

Option C: who >> user.lst

Option D: who < user.lste

Correct Answer: who | tee user.lst


Click for More Details

Option A: copy programs/wb misc/wbx

Option B: cp programs/wb misc/wbx

Option C: tar programs/wb misc/wbx

Option D: copy a:programs/wb b:misc/wbx

Correct Answer: cp programs/wb misc/wbx


Click for More Details

Option A: more

Option B: pg

Option C: cat

Option D: lp

Correct Answer: pg


Click for More Details

Option A: s

Option B: r

Option C: w

Option D: d

Correct Answer: s


Click for More Details

Option A: .exrc

Option B: .profile

Option C: .autoexec

Option D: autoexec.bat

Correct Answer: .profile


Click for More Details

Option A: pid

Option B: du

Option C: ps

Option D: au

Correct Answer: ps


Click for More Details

Option A: head – r

Option B: tail

Option C: eof

Option D: bof

Correct Answer: tail


Click for More Details

Option A: write

Option B: mail

Option C: wall

Option D: mesg

Correct Answer: wall


Click for More Details

Option A: sort

Option B: sh

Option C: st

Option D: sort -r

Correct Answer: sort


Click for More Details