Logo

Basic Of Linux Unix MCQs

Option A: – – recompile

Option B: – – rebuild

Option C: – – generate

Option D: – – execute

Correct Answer: A. – – recompile


Click for More Details

Option A: copy wb ../misc collect ../misc mon ../misc

Option B: cp wb collect mon ../misc

Option C: copy wb collect mon /misc

Option D: tar wb collect mon /misc

Correct Answer: cp wb collect mon ../misc


Click for More Details

Option A: wc – r

Option B: wc – w

Option C: wc – c

Option D: wc – l

Correct Answer: D. wc – l


Click for More Details

Option A: chmod g+x note

Option B: chmod u+w note

Option C: chmod u+x note

Option D: chmod ugo+x note

Correct Answer: chmod u+x note


Click for More Details

Option A: I

Option B: i

Option C: a

Option D: A

Correct Answer: A


Click for More Details

Option A: session layer

Option B: transport layer

Option C: data link layer

Option D: network layer

Correct Answer: session layer


Click for More Details

Option A: r

Option B: R

Option C: s

Option D: S

Correct Answer: R


Click for More Details

Option A: !

Option B: $

Option C: #

Option D: @

Correct Answer: @


Click for More Details

Option A: 4322

Option B: 2314

Option C: 7334

Option D: 3128

Correct Answer: 3128


Click for More Details

Option A: :pat

Option B: ?pat

Option C: /pat

Option D: All of the above

Correct Answer: /pat


Click for More Details

Option A: UDP

Option B: RARP

Option C: FTP

Option D: TELNET

Correct Answer: TELNET


Click for More Details

Option A: lc

Option B: wc – l

Option C: cl

Option D: count

Correct Answer: B. wc – l


Click for More Details

Option A: mount -t iso9660 /dev/cdrom / mnt/cdrom

Option B: mount /dev/cdrom

Option C: mount /mnt/cdrom

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: 127 networks and 16,777,216 nodes per network

Option B: 16,384 networks and 65,534 nodes per network

Option C: 2,097,152 networks and 254 nodes per network

Option D: All of the above

Correct Answer: 16,384 networks and 65,534 nodes per network


Click for More Details

Option A: SSH

Option B: time

Option C: ntalk

Option D: finger

Correct Answer: SSH


Click for More Details

Option A: ren

Option B: mv

Option C: remove

Option D: change

Correct Answer: mv


Click for More Details

Option A: cdir

Option B: chdir

Option C: changedir

Option D: cd

Correct Answer: cd


Click for More Details

Option A: NFS

Option B: FTP

Option C: PCMCIA

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: /etc/hosts.allow

Option B: /etc/hosts.deny

Option C: /etc/hosts

Option D: /etc/tcp.conf

Correct Answer: /etc/hosts.allow


Click for More Details

Option A: au

Option B: ps

Option C: du

Option D: pid

Correct Answer: ps


Click for More Details

Option A: rmdir

Option B: rd

Option C: remove

Option D: rdir

Correct Answer: rmdir


Click for More Details

Option A: wc -lD.

Option B: wc -c

Option C: wc -w

Option D: wc -r

Correct Answer:


Click for More Details

Option A: *

Option B: ?

Option C: [ijk]

Option D: [!ijk]

Correct Answer: ?


Click for More Details

Option A: shutry

Option B: TRY

Option C: trial

Option D: None of the above

Correct Answer: None of the above


Click for More Details

Option A: }

Option B: {

Option C: |

Option D: $

Correct Answer: }


Click for More Details

Option A: lpq

Option B: lpr

Option C: lprm

Option D: lpc

Correct Answer: lpq


Click for More Details

Option A: netstat

Option B: route

Option C: trace

Option D: ipchains

Correct Answer: ipchains


Click for More Details

Option A: /var/log

Option B: /etc/log

Option C: /mail

Option D: All of the above

Correct Answer: /var/log


Click for More Details

Option A: oct

Option B: of

Option C: od

Option D: cd

Correct Answer: od


Click for More Details

Option A: Class A

Option B: Class B

Option C: Class C

Option D: All of the above

Correct Answer: Class A


Click for More Details

Option A: NFS

Option B: SMD

Option C: smbclient

Option D: smbserver

Correct Answer: smbclient


Click for More Details

Option A: mkboot disk

Option B: bootfp disk

Option C: ww and rawwrite

Option D: dd and rawrite

Correct Answer: dd and rawrite


Click for More Details

Option A: @

Option B: #

Option C: $

Option D: !

Correct Answer: #


Click for More Details

Option A: rch

Option B: R

Option C: S

Option D: j

Correct Answer: j


Click for More Details

Option A: more

Option B: cat

Option C: grep

Option D: tee

Correct Answer: tee


Click for More Details

Option A: who am i

Option B: i /4

Option C: pwd

Option D: which

Correct Answer: who am i


Click for More Details

Option A: 1

Option B: 6

Option C: 5

Option D: 3

Correct Answer: 6


Click for More Details

Option A: chmod 167 note

Option B: chmod u=rwx, g=rw, o=x note

Option C: chmo a =761 note

Option D: chmod 4=7, g=6,0 =1 note

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


Click for More Details

Option A: ls | wc

Option B: ls -l | wc -l

Option C: ls | wc -w

Option D: ls | ws -c

Correct Answer: ls | wc


Click for More Details

Option A: print

Option B: prn

Option C: pg

Option D: lp

Correct Answer: lp


Click for More Details

Option A: which

Option B: who

Option C: who am i

Option D: 1 /u

Correct Answer: who


Click for More Details

Option A: copy programs/wb misc/wb

Option B: cp programs/wb misc

Option C: tar programs/wb misc/wb

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

Correct Answer: cp programs/wb misc


Click for More Details

Option A: cd

Option B: cd ..

Option C: cd/

Option D: chdir

Correct Answer: cd


Click for More Details

Option A: s

Option B: S

Option C: a

Option D: i

Correct Answer: s


Click for More Details

Option A: cat

Option B: grep

Option C: wc

Option D: None of the above

Correct Answer: None of the above


Click for More Details

Option A: dir

Option B: prompt $p$g

Option C: pwd

Option D: path

Correct Answer: path


Click for More Details

Option A: to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.

Option B: to move the cursor to the upperleft corner of the screen

Option C: to move the cursor backward to the beginning of a word

Option D: to move the cursor to the first column in the current line

Correct Answer: to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.


Click for More Details

Option A: -4

Option B: -f

Option C: -1

Option D: -2

Correct Answer: -f


Click for More Details

Option A: $

Option B: #

Option C: :

Option D: ;

Correct Answer: ;


Click for More Details

Option A: ls -l -d

Option B: ls -l

Option C: ls -x

Option D: ls -F

Correct Answer: ls -l -d


Click for More Details

Option A: sort

Option B: sh

Option C: st

Option D: sort -r

Correct Answer: sort


Click for More Details

Option A: chmod u + r, g + r, o – x letter

Option B: chmod ugo = r letter

Option C: chmod a – rw letter

Option D: chmod go + r letter

Correct Answer: chmod ugo = r letter


Click for More Details

Option A: Bob Young

Option B: Mark Eving

Option C: Richard Stallman

Option D: Linus Torvalds

Correct Answer: Linus Torvalds


Click for More Details

Option A: ls | ws – c

Option B: ls | wc – w

Option C: ls | wc – l

Option D: ls | wc

Correct Answer: ls | wc


Click for More Details

Option A: 16

Option B: 4

Option C: 2

Option D: 1

Correct Answer: 1


Click for More Details

Option A: stands for Red Hat Package Manager

Option B: stands for Red Hat Package Manager

Option C: is used to install, uninstall, and manage packages

Option D: is used to keep track of the users

Correct Answer: stands for Red Hat Package Manager


Click for More Details

Option A: Alt+Function Key

Option B: Ctrl+Function Key

Option C: Ctrl+Alt+Del

Option D: Alt+a+w+Function Key

Correct Answer: Alt+Function Key


Click for More Details

Option A: GNU’s not Unix

Option B: Greek Needed Unix

Option C: General Unix

Option D: General Noble Unix

Correct Answer: A. GNU’s not Unix


Click for More Details

Option A: POP3

Option B: FTP

Option C: MAP

Option D: All of the above

Correct Answer: POP3


Click for More Details

Option A: ls chap*

Option B: ls chap[124]

Option C: ls – x chap0[124]

Option D: ls chap0[124]

Correct Answer: ls chap[124]


Click for More Details

Option A: 16

Option B: 4

Option C: 2

Option D: 1

Correct Answer: 4


Click for More Details

Option A: x

Option B: y

Option C: a

Option D: z

Correct Answer: x


Click for More Details

Option A: XFree86 Project, Inc.

Option B: RHAD Labs

Option C: GNOME Project

Option D: All of the above

Correct Answer: XFree86 Project, Inc.


Click for More Details

Option A: /usr/tmp

Option B: /etc/default

Option C: /etc/skel

Option D: /etc/users

Correct Answer: /etc/skel


Click for More Details

Option A: copy

Option B: cp

Option C: cpio

Option D: tar

Correct Answer: cp


Click for More Details

Option A: [!ijk]

Option B: [ijk]

Option C: ?

Option D: *

Correct Answer: ?


Click for More Details

Option A: TELNET

Option B: TFTP

Option C: FTP

Option D: RARP

Correct Answer: TFTP


Click for More Details

Option A: which

Option B: pwd

Option C: i /4

Option D: who am i

Correct Answer: who am i


Click for More Details

Option A: Open System Software

Option B: Original Source Software

Option C: Open Source Software

Option D: Original System Server

Correct Answer: Open Source Software


Click for More Details

Option A: wc – r

Option B: wc – w

Option C: wc – c

Option D: wc – 1

Correct Answer: C. wc – c


Click for More Details

Option A: 83

Option B: 82

Option C: 5

Option D: 4

Correct Answer: 82


Click for More Details

Option A: rpm -q

Option B: rpm -a

Option C: rpm -d

Option D: rpm -1

Correct Answer: rpm -q


Click for More Details

Option A: ypwhich

Option B: ypbind

Option C: ypcat

Option D: yppoll

Correct Answer: ypbind


Click for More Details

Option A: *

Option B: ?

Option C: [!ijk]

Option D: [ijk]

Correct Answer: *


Click for More Details

Option A: S

Option B: s

Option C: R

Option D: r

Correct Answer: S


Click for More Details

Option A: SPARC

Option B: IBM-compatible

Option C: Alpha

Option D: Macintosh

Correct Answer: Macintosh


Click for More Details

Option A: ^pat

Option B: $pat

Option C: pat$

Option D: pat^

Correct Answer: pat$


Click for More Details