Logo

Basic Of Linux Unix MCQs

Option A: logic

Option B: profile

Option C: shell

Option D: erxc

Correct Answer: shell


Click for More Details

Option A: cd

Option B: changedir

Option C: chdir

Option D: cdir

Correct Answer: cd


Click for More Details

Option A: patch

Option B: catch

Option C: .ch

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: chmod 761 note

Option B: chmod 671 note

Option C: chmod 167 note

Option D: chmod 4=rwx, g=rw note

Correct Answer: chmod 761 note


Click for More Details

Option A: cat

Option B: head

Option C: more

Option D: grep

Correct Answer: head


Click for More Details

Option A: -1

Option B: -i

Option C: -x

Option D: -R

Correct Answer: -R


Click for More Details

Option A: chmod go + x, u – x letter

Option B: chmod g – x, uo + r letter

Option C: chmod go + r, u + x letter

Option D: chmod u – x, go + r letter

Correct Answer: D. chmod u – x, go + r letter


Click for More Details

Option A: shutdown

Option B: haltsys

Option C: cancel

Option D: kill

Correct Answer: kill


Click for More Details

Option A: /boot/lilo.conf

Option B: /etc/conf.modules

Option C: /etc/named.boot

Option D: /etc/lilo.conf

Correct Answer: /etc/lilo.conf


Click for More Details

Option A: CORBA toolkit

Option B: COM/DCOM toolkit

Option C: ORE toolkit

Option D: OLE DB toolkit

Correct Answer: CORBA toolkit


Click for More Details

Option A: grep

Option B: wc

Option C: touch

Option D: cat

Correct Answer: touch


Click for More Details

Option A: sort – r

Option B: st

Option C: sh

Option D: sort

Correct Answer: sort


Click for More Details

Option A: 0

Option B: 755

Option C: 744

Option D: 555

Correct Answer: 755


Click for More Details

Option A: mkfs

Option B: fdisk

Option C: fsck

Option D: mount

Correct Answer: fdisk


Click for More Details

Option A: Layer 4 protocols

Option B: Layer 5 protocols

Option C: Layer 6 protocols

Option D: Layer 7 protocols

Correct Answer: Layer 7 protocols


Click for More Details

Option A: tty ^c

Option B: stty intr \^c

Option C: stty echoe

Option D: stty echo \^a

Correct Answer: stty intr \^c


Click for More Details

Option A: sort

Option B: wc

Option C: grep

Option D: cat

Correct Answer: cat


Click for More Details

Option A: fdisk

Option B: fsck

Option C: dd

Option D: rawrite

Correct Answer: dd


Click for More Details

Option A: utilinux

Option B: cempre

Option C: switchdesk

Option D: window

Correct Answer: switchdesk


Click for More Details

Option A: path

Option B: pwd

Option C: prompt $p$g

Option D: dir

Correct Answer: pwd


Click for More Details

Option A: 128.10.2.30

Option B: 210.20.2.64

Option C: 164.100.9.61

Option D: 148.20.2.30

Correct Answer: 128.10.2.30


Click for More Details

Option A: root

Option B: kara

Option C: group

Option D: user

Correct Answer: kara


Click for More Details

Option A: init 0

Option B: Shutdown -t

Option C: Shutdown -g -y0

Option D: Ctrl+Alt+Del

Correct Answer: init 0


Click for More Details

Option A: data link layer

Option B: transport layer

Option C: network layer

Option D: session layer

Correct Answer: session layer


Click for More Details

Option A: SMB (Samba) Connectivity

Option B: IPX/NetWare Connectivity

Option C: Dial-up Workstation

Option D: All of the above

Correct Answer: SMB (Samba) Connectivity


Click for More Details

Option A: cut sales empl.lst

Option B: /sales > empl.lst

Option C: grep sales empl.lst

Option D: cat | /sales > empl.lst

Correct Answer: grep sales empl.lst


Click for More Details

Option A: apached

Option B: httpd

Option C: html

Option D: shttp

Correct Answer: httpd


Click for More Details

Option A: tar

Option B: dir

Option C: lp

Option D: ls

Correct Answer: dir


Click for More Details

Option A: x

Option B: q!

Option C: :w

Option D: :q

Correct Answer: :w


Click for More Details

Option A: stands for Linux loader

Option B: is the Linux boot loader

Option C: is a tool used to boot the Kernel on x86 hardware

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: mv *.* /bin/

Option B: mv * /bin/*

Option C: mv * ../bin

Option D: mv * ../bin *.*

Correct Answer: mv * ../bin


Click for More Details

Option A: mkfs

Option B: fdisk

Option C: fsck

Option D: mount

Correct Answer: fsck


Click for More Details

Option A: !

Option B: $

Option C: #

Option D: @

Correct Answer: #


Click for More Details

Option A: NFS

Option B: SMB

Option C: NIS

Option D: DNS

Correct Answer: DNS


Click for More Details

Option A: Bill Gates

Option B: Ben Thomas

Option C: Richard Stallman

Option D: Linus Torvalds

Correct Answer: Linus Torvalds


Click for More Details

Option A: rpm -qip ipchains

Option B: rpm -Uvh ipchains

Option C: rpm -i ipchains* .i386.rpm

Option D: rpm -e ipchains-1.3.9-5.i386.rpm

Correct Answer: rpm -i ipchains* .i386.rpm


Click for More Details

Option A: /usr

Option B: /tmp

Option C: /opt

Option D: /mnt

Correct Answer: /usr


Click for More Details

Option A: constructs packets of data and sends them across the network

Option B: controls error detection and correction

Option C: defines the electrical characteristics of signals passed between the computer and communication devices

Option D: All of the above

Correct Answer: defines the electrical characteristics of signals passed between the computer and communication devices


Click for More Details

Option A: Pine

Option B: The MTA

Option C: The MUA

Option D: procmail

Correct Answer: Pine


Click for More Details

Option A: nm

Option B: nu

Option C: ic

Option D: li

Correct Answer: nu


Click for More Details

Option A: httpd

Option B: shttp

Option C: dns

Option D: named

Correct Answer: named


Click for More Details

Option A: copy

Option B: cp – p

Option C: cpio

Option D: cp

Correct Answer: cpio


Click for More Details

Option A: cat

Option B: vi

Option C: ed

Option D: lyrix

Correct Answer: cat


Click for More Details

Option A: Free Software File

Option B: File Server First

Option C: First Serve First

Option D: Free Software Foundation

Correct Answer: Free Software Foundation


Click for More Details

Option A: sort – r

Option B: st

Option C: sh

Option D: sort

Correct Answer: sort


Click for More Details

Option A: tee

Option B: tr

Option C: sort

Option D: grep

Correct Answer: tee


Click for More Details

Option A: wc infile >newfile

Option B: wc newfile

Option C: wc infile – newfile

Option D: wc infile | newfile

Correct Answer: wc infile >newfile


Click for More Details

Option A: ypwhich

Option B: ypbind

Option C: ypcat

Option D: yppoll

Correct Answer: ypwhich


Click for More Details

Option A: kill

Option B: cancel

Option C: haltsys

Option D: shutdown

Correct Answer: kill


Click for More Details

Option A: c

Option B: d

Option C: b

Option D: e

Correct Answer: e


Click for More Details

Option A: /etc/mount.sys

Option B: /etc/filesys

Option C: /etc/sysconfig

Option D: /etc/fstab

Correct Answer: /etc/fstab


Click for More Details

Option A: save

Option B: sync

Option C: edbuff

Option D: flush

Correct Answer: sync


Click for More Details

Option A: lpq

Option B: lpr

Option C: lprm

Option D: lpc

Correct Answer: lpr


Click for More Details

Option A: lpd

Option B: lpr

Option C: lpq

Option D: lpc

Correct Answer: lpr


Click for More Details

Option A: /etc/services

Option B: /etc/nsorder

Option C: /etc/nsswitch.conf

Option D: /etc/hosts

Correct Answer: /etc/nsswitch.conf


Click for More Details

Option A: i

Option B: j

Option C: k

Option D: h

Correct Answer: h


Click for More Details

Option A: -l

Option B: -d

Option C: -r

Option D: -b

Correct Answer: -l


Click for More Details

Option A: who the owner of the file is

Option B: the name of the group owner of the file

Option C: how large the file is and when the file was last modified.

Option D: All of the above

Correct Answer: All of the above


Click for More Details

Option A: ls -F -x

Option B: ls -l

Option C: ls ~ x

Option D: Ip

Correct Answer: ls -F -x


Click for More Details

Option A: standard input file

Option B: standard output file

Option C: both input and output file

Option D: neither standard input nor standard output file

Correct Answer: standard output file


Click for More Details

Option A: cd

Option B: od

Option C: of

Option D: oct

Correct Answer: od


Click for More Details

Option A: S

Option B: s

Option C: r

Option D: C

Correct Answer: s


Click for More Details

Option A: rename

Option B: delete

Option C: rm

Option D: cp

Correct Answer: rm


Click for More Details

Option A: lp

Option B: pg

Option C: prn

Option D: print

Correct Answer: lp


Click for More Details

Option A: is Network Information Service

Option B: is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems

Option C: was formerly known as yellow pages

Option D: allows configuration-such as password and group files

Correct Answer: is Network Information Service


Click for More Details

Option A: /etc/ftpusers

Option B: /etc/hosts.deny

Option C: /etc/ftpaccess

Option D: All of the above

Correct Answer: /etc/ftpusers


Click for More Details

Option A: network layer

Option B: transport layer

Option C: physical layer

Option D: physical layer

Correct Answer: physical layer


Click for More Details

Option A: w

Option B: e

Option C: a

Option D: b

Correct Answer: b


Click for More Details

Option A: countw

Option B: wcount

Option C: wc

Option D: count p

Correct Answer: wc


Click for More Details

Option A: capture a file

Option B: display a file

Option C: print a file

Option D: copy a file

Correct Answer: display a file


Click for More Details

Option A: x

Option B: X

Option C: dd

Option D: D

Correct Answer: x


Click for More Details

Option A: 1024 bytes

Option B: 2048 bytes

Option C: 512 bytes

Option D: 256 bytes

Correct Answer: 512 bytes


Click for More Details

Option A: erase

Option B: delete

Option C: rm

Option D: dm

Correct Answer: rm


Click for More Details

Option A: chmod go+r note

Option B: chmod a-rw

Option C: chmod ugo=r note

Option D: chmod u+r,g+r,o-x note

Correct Answer: chmod ugo=r note


Click for More Details

Option A: mesg

Option B: grep

Option C: halt

Option D: sleep

Correct Answer: mesg


Click for More Details

Option A: rename

Option B: remove

Option C: mv

Option D: ren

Correct Answer: mv


Click for More Details

Option A: group has read permission only

Option B: other has read permission only

Option C: owner has read permission only

Option D: group has write permission only

Correct Answer: group has read permission only


Click for More Details

Option A: ls -1

Option B: ls -t

Option C: ls -i

Option D: ls -R

Correct Answer: ls -t


Click for More Details

Option A: $!

Option B: $#

Option C: 0

Option D: $*

Correct Answer: $!


Click for More Details

Option A: remove

Option B: rm

Option C: mv

Option D: del

Correct Answer: rm


Click for More Details

Option A: ^pat

Option B: $pat

Option C: pat$

Option D: pat^

Correct Answer: ^pat


Click for More Details

Option A: chmod go+r note

Option B: chmod go+rw note

Option C: chmod go-x note

Option D: chmod go-r note

Correct Answer: chmod go-r note


Click for More Details

Option A: nfsmount

Option B: knfsd

Option C: mount

Option D: All of the above

Correct Answer: mount


Click for More Details

Option A: $

Option B: 3 dw

Option C: 3 x

Option D: 3 dd

Correct Answer: 3 dw


Click for More Details

Option A: Linus Torvalds

Option B: Richard Stallman

Option C: Bob Young

Option D: All of the above

Correct Answer: Richard Stallman


Click for More Details

Option A: 16-bit addresses

Option B: 32-bit addresses

Option C: 64-bit addresses

Option D: 8-bit addresses

Correct Answer: 32-bit addresses


Click for More Details

Option A: del

Option B: mv

Option C: rm

Option D: remove

Correct Answer: rm


Click for More Details

Option A: /usr/local

Option B: /usr/src/linux

Option C: /usr/sre/redhat

Option D: /usr/bin

Correct Answer: /usr/src/linux


Click for More Details

Option A: /etc/.profile

Option B: /etc/.bashrc

Option C: /etc/.log

Option D: /etc/profile

Correct Answer: /etc/profile


Click for More Details

Option A: to exit status of ast command executed.

Option B: to process number of the current shell

Option C: to list the positional parameters

Option D: to name the command being executed

Correct Answer: to list the positional parameters


Click for More Details

Option A: h

Option B: k

Option C: j

Option D: i

Correct Answer: h


Click for More Details

Option A: tee

Option B: grep

Option C: cat

Option D: more

Correct Answer: tee


Click for More Details

Option A: /etc/apache.conf

Option B: /etc/httpd/config.ini

Option C: /etc/httpd/conf/httpd.conf

Option D: /etc/srm.conf

Correct Answer: /etc/httpd/conf/httpd.conf


Click for More Details

Option A: /dev

Option B: /bin

Option C: /etc

Option D: /home

Correct Answer: /etc


Click for More Details

Option A: tch

Option B: fch

Option C: rch

Option D: ech

Correct Answer: fch


Click for More Details

Option A: switchdesk

Option B: intrc

Option C: xinitre

Option D: Xchange

Correct Answer: switchdesk


Click for More Details

Option A: XConfigurator

Option B: XF86Setup

Option C: xf86config

Option D: All of the above

Correct Answer: XF86Setup


Click for More Details

Option A: fdisk

Option B: mkfs

Option C: fsck

Option D: mount

Correct Answer: mkfs


Click for More Details

Option A: /home

Option B: /proc

Option C: /var

Option D: /sbin

Correct Answer: /sbin


Click for More Details

Option A: chgrp

Option B: chown

Option C: chmod

Option D: chusr

Correct Answer: chmod


Click for More Details