0% found this document useful (0 votes)
28 views6 pages

Dos & Linux Operating System MCQ.

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views6 pages

Dos & Linux Operating System MCQ.

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

IT & ITES Assignment for Exercise 1.5.21-1.5.

28
COPA - DOS & Linux operating system
Choose the correct answer
1 The full form of DOS is 12 In DOS, C:ACOPA>MDILAB is used to create a LAB
ADisk Operating Secure directory at...
B Disk Operating System A Cdrive B D drive

CDrive Operating System CEdrive D COPASub directory


D Device Operating System 13 The DOS command CD is used to
2 In DOS, the core entity is referred to as .. A create a directory

A rootdirectory B create root directory


B child directory
C main directory D subordinate directory
C change the directory name
3 In DOS, the directory under the root directory is called Dchange the path of current directory
14 In DOs, D:\COPA>CD CLASS is used to
A subdirectory B child directory
A change to D:\COPA
C main directory D subordinate directory
B change to root directory
4 DOS hierarchical file system is called ...
Cchange to the directory COPA
A tree-structure B root structure
D change the current workingdirectory from COPA
Chybrid-structure to CLASS
directory structure
5 In DOS, the sequence of directory names leading toa
file is called 15 In DOS, to change the control from Cdrive to Ddrive,
which one of the following is used?
Away B flow A C:l>D: B D:>C:
Cpath D route C E:>D: D F:>D:
6 Which is a chain of directory names that tell DOS how
to find a file?
16 Which DOS command displays a list of files and
subdirectories in a directory?
A Way B Path A DIR B DEL
CFlow D Route C REN D TYPE
7 Each directory in DOS is separated from the other by 17 DIR/P displays ...
character
A single line information
A, B ;
B wide format information
C DI
Cscreen full of information
8 Which is referred to as the DOS directory delimite?
Dhalf screen of information
A, B:
D| 18 DIRW uses
A line format wide format
9 Which one of the foilowing is correct path?
A D://TVCOPA/.txt B D:[Link] C page format D vertical format

CD:ITICOPAI".txt D D://TVCOPA/".bxt 19 DIRIAD displays only...


10 Which DOS command makes or creates a new A file names B hidden files
directory? C drive names D directory names
A CD B MD 20 DIRIAH displays only ...
C CDIR D MDIR A hidden files
11 Tocreate a directory COPAin D
drive in DOS, use... B system files
A D:\COPA B MD D:COPA Cread only files
C MD D:\COPA MD D:/COPA
D files ready to archive
27
command displays the
34 Which DOS contents
21 In DOS, DIRIOlists the files
A sorted B omitted
fle?
A List B TYPE
oaltet 44 DEL Command deletes.. 53 Which service of OS
creates and maintains the
directories and files on disk in Linux?
D Display A file B paqe B Service manager
C indexed D archived C VIEW A Disk manager
C directory D character
2 In DOS, DIR/OS lists the files in sorted order by which command is used to C Memory manager D Security manager
35 In DOS.
A size B time
A [Link]
[Link] in D drive
contents of afile display th 45 Give the result of the command COPY [Link] +
[Link] 54 Which of the following controls all
the computer and the network in
datamoving between
Linux?
C string D system date A [Link] is copied to [Link] and [Link]
A Disk manager B Service manager
B [Link]
23 In DOS, DIR/OG groups... first B [Link] and [Link] wil be combined and D Security nanager
C TYPE [Link] [Link] is created C Network manager
A files Bpages
D [Link] C [Link] and [Link] will be combined and 55 The Linux OS manages the keyboard, mouse, video
C directories D documents display, printers etc with the help of
[Link] is created
24 DIR*.txt displays 36 HPC stands for D [Link] and [Link] will be combined and A Disk manager!/ B Service manager
all text files [Link] is created /O services manager
A all exe files
A High performance
computing C Security manager D
D first five text files 46 In DOS, which of the following command is used to
C all documents 56 Name the OS which is very much like UNIX
B High port computing delete [Link] in D drive
25 DIR ???[Link] Will display ... A DOS B Linux
C Hub performance computing A DEL D:\[Link]
A [Link] B [Link] C Mac OS D Windows
D Hub port computing B DEL D:/[Link]
C TEMPtxt D PRINT>txt 57 In Linux MID stands for
C DELETE D:\SAMPLE
26 In DOS, which command is used to display system 37 In DOS, REN is used to ... A Main Internet Device
date? A rename a file B rename apage D DELETE D:/SAMPLE
B Memory Instruction Device
A DATE B SDATE C rename a folder D rename a directory 47 Which DOS command recover deleted file? C Mobile Internet Device
C SYSDATE D SYSTEMDATE A DELETE B UDELETE
28 Give the DOS command, to rename the f D Modern Internet Device
27 In DOS, which command is used to display system [Link] as [Link] C REDELETE D UNDELETE
time?
58 Which is a multitasking operating system?
A REN [Link] [Link] 48 The DOs command UNDELETELIST...
A TIME B STIME A DOS B Linux
B [Link] [Link] A deletes the files and display them
C SYSTIME D SYSTEMTIME C MS Office D Open Office
C [Link] TO [Link] B lists the files available for recovery
28 CLS is used to C lists the deleted files available to be recovered 59 Which of the following is an open source OS?
D REN SCROLL.D0CAS [Link]
A clear line B clear page A DOS B Linux
Drecovers files without prompting for confirmation
C clear screen D clear half screen 39 Which of the following are called wild card characters? 49 The DOS command UNDELETEJALL C Window 7 D Windows XP

A *and / B ? and / 60 In Linux,which is used as directory separator.


29 PROMPT ROOTSG gives. A deletes all files
A ROOTS B ROOT> "C *and ? D ? and @ B recovers files listed as deleted by MS DOS A I BI

C ROOT $> D ROOT >> C lists the deleted files available to be recovered C II D ||
40 In DOS, file names have maximum of...
30 PROMPT $D$G gives A 3 characters B 6 characters D recovers files without prompting for confirmation 61 Which is the root directory in Linux?
B dd date > A*
A prompt > C 7 characters "D 8characters 50 The DOS command D:\COPA\DEL*. "deletes..
Ccurrent date > D current time> A deletes all files of a COPA directory C+ D/
41 In DOS, optional extension have maximum of.
31 Which one of the following is a corect DOS command? B deletes all doc files of a COPA directory 62 Which of the folowing is super user's home directory
A 3 characters B 6 characters in Linux?
A DIR:P B DIR-p C deletes all exe files of a COPA directory
C 7 characters D 8 characters A ib B bin
C DIRP D DIRP D deletes all text files of a COPA directory
32 Which DOS command is used to list all .com file in D
42 Which of the following is a valid DOS filename? C Iroot D /sbin
51 The first piece of software that the computer executes
dive? A COPALtxt B [Link] when it is turned on is... 63 In Linux, ? represents ...
A DIRD:\COM DIR D:ACOM. C [Link] D COPA [Link] A microsoft word B micrOsoft access A no character B all characters
C DIRD:1'.COM D DIR D:/COM 43 Which command is used to copy a file C operating system D application software C two characters D single character
to anouio
33 Which DOS command is used to list five letter name location? 52 Which of the following allocates the execution of CPU 64 In Linux, which character is used to represent a range
to a number of different tasks in Linux? w ofvalues?
files starting with letter F? A COPY
B COPY FILE
A DIRF* B DIR FIVE CFILE COPY A Task scheduler B Memory manager A ()
D COPY MORE
C DIRFIRST* D DIRF????.* C Network manager D Security manager D<>

IT& ITES: COPA (NSQF Level-4) IT &ITES: COPA (NsQF Level-4) Assignment for Exercise 1.5.21 -1.5.28 29
28
Assignment for Exercise 1.5.21 -1.5.28
command Is-
76 The Linux lists the

another
the output of one
commandis redirected
65 InLinux,command is done by the character
into
A sub directory
C home directory
B root directory e
D parent direcoN
conterts
dispiay first ten lines
B pipe 87 Which command is used make a new directory? 6 The Command which is used to
Adot
77 The Linux command, Is../lists of a file, unless otherwise stated is
D semicolon the A cd (directoryl
C colon

66 In LinuUx, which
acts as command separator?
A sub directory
C home directory
B root irectory
D parent directory
contents B rmdir directory
A cp
C lp filename D head flename
Bpipe C mkdir [option] directory
A dot: 97 Which cormmand is used to delver the last part ot fie7
78 The Linux command Is/ lists D mv(-f-] oldname newname
semicolon the
root contents
D
C colon A lp B cp
accessed and they are A sub directory B o
67 In Linux,
hardware devices are
C home directory D
direcory 88 Which command is usedto deletea directory? C tail D head
kept under ...directory
A letc B ldev
79 The Linux command cp is used to
parent director A cat

B pwd
98 The command, which is used to disolay a count of
lines, words and characters in a file

D home C mv oldname newname A WC B cal


C /user
temporary Aprint files and directories
permission to place D rmdir (OPTION] directory D head
In Linux, all users have
C tail
68 B copy files and directories 99 Which command is used to see calendar for any
files in ..
C move files and directories 89 The command which is used to change the specific month (or) a complete year?
2 A bin B /tmp permission of afile is...
D boot D rename files and directories A cal B cp
C Iroot A cat
mod
shared libraries and kernel C is D V
69 In Linux, essential 80 Which of the following linux
command B mkdir directory
ules are kept in..
B /tmp
ending in txt into the directory tally? Copya C myoldname newname 100 The Linux text file is saved using
A Ctrt+X B Ctt+Z
A Aib A cp.*tally B cp txt tally D chmod (OPTION]..MODE.(,MODE]).FILE.
C Iroot D boot D cp all txt tally CCtrt+S D Ctrt-D
C cp*.txt tally
like cc, find etc are kept 90 Name the Linux command which is used to arrange
70 In Linux, most user programs the lines in the text file in an order and display it.
101 The Linux command cat>sample heips to
in 81 The Linux command rm is used to...
A mv B .cat A view sample file B print sample file
A bin Bletc A list files B Sort files
C sort D pwd C create sample file D append sarmple fle
C ldev D usr/bin C delete a file D arrange files
91 Which command is used to find text with in a file? 102 The Linux command cat>>sample heips to
71 In Linux, date command displayS
82 The Linux command rmdir is used to. A pwd A view sample fle B print sampie ie
28 A date B time A copya directory B move a directory B mdir Ccreate sample file D append sample fle
Cdate and time D date in mm/dd/yy C clear the text file D delete a directory 103 In Linux, 'cat sample heips to
C chmod
72 Give the output of the inux command 'echo Hello COPA A view sample fle 8 print sample fie
Trainees' 83 The Linux Command mv iS used to... D grep[options] PATTERN (FILE..]
C create sample fiie D append sampie fe
A hello COPA trainees A rename B viewa file 92 The command which is used to change your password
104 In Linux, Is- helps to list al informaton about
B Hello COPA Trainees C make a file D remove a file
A m B M A files in current directories
C HELL0 COPA trainees 84 The Linux command mv is used to
B directories only
D HELLO COPA TRAINEES C pwd D passwd
A viewafile from directory C files of root directory
73 In Linux, who command is used to find. 93 Which command is used to display the current
B remove a file from directory working directory? D both directories and fles
31 A login user B logout user Ccopy a file from one directory to another A passwd B pwd
C login password 105 In Linux, sort name list is used to sort the contents of
D logout password D movea file from one directory to another C chmod D mdir a file name ist in
74 Which Linux command lists the contents of a 94 The command which is used to look, modify (or) A no order 8 ascencing order
directory? 85 The Linux command cd
means combine a file?
A Is C decreasing order D descending order
B Ls A copy directory Bmove directory A mM B cat
C list D lists C delete directory 106 What is the ful fom of GUn
D change directory C mdir D chmod
75 The Linux command, Is- would list each of the files in A Graphical User Interface
86 In
Linux, cd.. is used to 95 Which command is used to print a file ?
the current directory with
33 B N
8 Graphic User intertace
A A go to root A cp
multi column output directory C m D lp filename
C Graphical User tnteracton
B user B go to child
name and password directory D Graphical User lntegraton
Ca slash in front of each file Cgo back one
D go to forward one
directory
D permission, sIze, date etc
28
30 directory
IT&ITES: COPA (NsQF Level4) IT&ITES: COPA(NSQF Level-4) Assignment for Exercise 1.5.21-1.5.28 31
Assignment for Exercise 1.5.21 -1.5.26
commandis used to remove files?
118 What
Bm
107 What are the two most popular GUls in linux A del empty iS

D erase 128 What command is used to assign executable per 139 To remove a directory which is not
A Linux and Unix B Gnome and KDE C delete Used
mission to the owner of the file named "letter"?
C Window and Unix D Unix and Windows commandis used to remove the

108 The small application that run on the panelare


119 What
A rdir
B remove

rmdir
direcor A chmod ugo + x letter
B chmod u + x letter
A mdir
C rm -f
B
D m
ndir

A tasks B applets C rd D C chmod u + w letter 140 To access a directory the minimum permission re
following command quired is
C functions D operations
120 Which of the can you D chmod g + x letter
109 If a menu system has an arow that is..
A an another point to an applet
count the number of
A lc
lines in
B
a file?
WC -| exeate 129 What command is used to compare the files?
A cmpr B Compare
Ar
Cx D
W

wX

D Count 141 The type of shell mostly used for Linux is


B an another point to a window C cl C cmp D comp
following is not a A bash kon
C an entry point to a sub-menu 121 Which of the
mand?
communication 130 Which command is used to list all the files in your
current directory(including hidden)? C boume D C-shell
D an another point to a program
Bmail 142 Is -t is used for
run/displayed/ A Is - B Is -t
110 Where the program/document/fles are
A grep
opened in linux? D write C Is -a D Is -i A Sort by name
C mesg
B Window is used to sort the lines B Sort by date
A Kernel 122 What command of 131 Which command is used to change password of your
file in alphabetical
order? data ina Linux system? C Sort by time stamp
C Clipboard D Work space
A sort -f B st A passWord B pass D Sort by alphabetic order
111 The ubuntu button in linux is also calles as...
D Sort C change -p D passwd 143 Which command is used to see the content of a file
A star B dash C sh
C board D Control menu 123 What command is used to list conten 132 Which command is used see the list of users who A more B Cp
directories? are currently logged-in? D list
C cat
112 In the desktop of a linux, the dash is placed in B users
A tar B dir A login 144 Which command is used to see the system date?
A lower left corner B upper left corner
C who D which
C lp D Is A Time B Date
Clower right corner D upper right corner
133 Which command is used to copy entire directory?
113 To run an application in linux, we have to click.. 124 What command is used to sort the lines of data ina C Day D Now
file in reverse order? A cp-r B cp -i
145 Is j?e - output will be
A dash B file system C cp D copy
A sort-r B st
A Filenames with 3 character
C home folder Dsystem settings D Sort 134 -wxwx-x is equivalent to
C sh B Filenames with 4 character
114 In linux, the combination keys to open the trash is ...
125 What command is used to print a file? A 567 B 675
C Filenames with 5 character
A super+t B SUpertr
C 571 D 672
A lp B pg D Filenames with 1 character
Csuperth D Superts 135 To change the ownership of a file use
C pm D print
115 In linux, to pin an application we have to do ... A chmod B chgrp 146 The symbol of wildcard(s) is
126 The command chmod 761 letter is equivalent to
A doutble click on icon C chown D change A # B@
B click the system settings A chmod 4=7,g= 6,o = 1 letter 136 The core of Linux OS is also called C ? D %
C left click on icon and select lock to launcher B chmoda = 761 letter 147 Output of 'sort > shoppingist' is
A Kernel B Shell
D right click on icon and select lock to launcher C chmodu = wx,g= w, o = x letter C root D bash A Sorting file but not save in file.
116 Where is the log button placed in linux? D chmod 167 letter B Without sorting but save in file.
137 If there is any problem with the command, the error is
A Extreme top left corner given by C Sorting and save in a file.
127 What command is used to assign only read permi
B Extreme top right corner sion to all three categories of the file 'letter? A Kernel B Shell D Sortingafile in reverse order
C Extreme bottom left corner A chm0d u+r, g+r,o- Xletter C root D bash 148 What is the meaning of chmod 444 stuf?
D Extreme bottom right corner B chmod ugo =r letter 138 Which command is used to add contents to an exist A Gives all user write permission.
C chmod a - w ing file B Gives all user execute permission.
117 What command is used to count the total number of letter
A cat > file B cat >> file
lines, words, and characters contained in a file? Dchmod go +r letter C Gives all user read and write permission.
C cat file | file1 D cat file > file1
A countw B WCOunt D Gives all user read permission.
C WC D Count p

32 IT& ITES: COPA (NSQF Level4) IT &ITES: COPA (NSQF Level-4) Assignment for Exercise 1.5.21 -1.5.28 33
Assignment for Exercise 1.5.21 -1.5.28
displays the line
option of "grep"
149 The command for changing the permission relating
to files is
157 Which
well?
B
number 168 What command is used with vi editor to moves the 178 What command is used to copy directory
in and out?
structures
A n Cursor one character to the left?
A 0s B head D -al B cp -p
Ah BI A copy
Cd
ca
C tail D chmod the file structure can be found in 9 C w Ccpio D cp
158 Printerin D :q
150 Read &Write permission means
A letc
B /html 169 What command is used with vi editor to moves the 179 What command is used to save the standard output
Cursor one line up ? in a file, as well as display t on the terrn1nal?
A 1 B6 D /dev
C ww
C 2 D5 159 Which command gives the first byte where Ah BI A tee B grep
151 Chmod 632 stuff means the file1 & file2 ?
difference is in Ck D j C cat D more

A Gives read &write& execute permission for owner B differ 170 What command is used with vi editor to moves the 180 Which of the foilowing is not a fiter command?
A diff
write &execute for group read pemission for othe. cursor one line down ? A sort BWC
D Compare
B Gives read & write permission for owner write & C cmp Ah
160 Which command ochanges atfile's grOup owner Cgrep D cat
execute for group Write permission for other. Ck D
181 Which command is used to assign executabie per
C Gives write permission for owner write &execute A chmod B chgrp 171 What command is used to activates text insert mode. mission to al! of the files named "report?
for group Write permission for other. C chown D chgrep inserting text immediately under current position of
the cursor?
A chmod ugo + x report
DGives read &write permission for owner read & ex 161 Which command in LINUX is used for description of
ecute for group Write permission for other. B chmod u+x report
any command ? Ah Bi
Ck
C chmod ugo + rw report
152 Command1 | command2 will? A help B man D j
D chmod ugo + r report
A Command1 and Command2 run together D desc 172 What command is used to deletes the character im
C detail
mediately under the cursor? 182 What command is used to count the number of files
B Output command2 will be input of command1
162 What commandis used with vi ieditor to delete aa single A CW B dw in the current directory by using pipes?
C Output command1 will be input of command2 character?
C dd D cb A ls ws - C B Is wc - w
D Command2 run after Command1 A X By
173 What command is used to switches text insert mode, C is | wc - I D 0s WC
153 'mkdir -m 444 any' will: Ca D Z
insertion of text immediately to the right of the cur 183 What command is used to count just the number of
A Create a read-write-execute directory named any 163 What command is used with vieditor to replace teyt sor? characters in a file?
from cursor to right A a Bi
B Createa read-only directory named any A WC -r B WC - w
A S B S Ck D j
CCreate a write-only directory named any C WC -C D WC -1
CR Dr 174 What command is used to deletes a single character
DCreate a read-write directory named any 184 Who has deveoped the Linux?
to the left of the cursor?
154 How do you make a list of all filenames in the /tmp 164 What sign is used to back up over typing errors in vi? A Bob Young B Mark Eving
A dd B dw
directory that the contain the text "user", regardless A ! B $ C Richard Stallman D Linus Tovaids
of case? C cb D CW
C # D @
A ls tmp : grep User B Is /tmp grep user 185 What command can be used to get infomation about
175 What command is used to deletes the entire line con yourseit?
C is tmp grep -i user D Grep user /tmp 165 What sign is used to erase or kill an entire line you taining the cursor, and the cursor moves to the next
have typed and start you are on a new line (but not line ? A whicth B DWd
155 What does permission 641 (octal) mean? display a new prompt)? A dd BD Cwho D who am i
A Owner can read and write; group can write; other A!
can read
CX D CW 186 What shell's wild-card is used to matcha singie char
C # acter?
D @ 176 What command is used with vi editor to guits without
B Owner can read and write: group can write and ex
1b6 What command is used with vieditor to save file and saving any changes? A [ijk] 8
ecute; other can read
remain in the editing mode? A w C? D *
C Owner can read, write and execute; group can read
A x
and write: other can read B g! C w D q! 187 What command is used to copy a file?
D Owner can read and write, group can read; other C:w D :g 177 What command is used with vi editor to append text A tar
can execute 167 What command is used with vi editor to moves e at end of the current line?
C cp D copy
156 To do unlimited precision arithmetic calculations from cursor one character to the right ? A I B i
188 Which of the foilowing command lists the last 10 ines
the shell, you use: A x of a file?
BI Ca D A
A Calculate B bc C :w
D :q A grep B tail
C cal D calc C head D cat

34 IT&ITEs: COPA(NSQF Level4) IT&ITES: cOPA (NSQFLevel-4) Assignment for Exercise 1.5.21-1.5.28 35
Assignment for Exercise 1.5.21 - 1.5.28
to separate more than o
symbol is usedcommand line2
189 What command is used to terminate a process? 198 Which same with the
command in the 208 Which command is used to change directory to the 216 Which comnand is uSed to copy a file wb
A kill B Break B name beginning with a'p'? same name from the prograns directory to the misc
A $ directory?
C Cancel D shutdown D A cd p B cdp?
C commands is used A copy programs/wb nisciwb
190 What command is used with vi editor to delete three the following to update C cd p D cd [p]
199 Which of modification times ofa file2
words? B cp prograrns/wb misc
access and 209 Which set option is used with vi editor to display line
B WC numbers on screen? Ctar prograrnsiwb misciwb
A 3$ B 3dw A grep
D cat A nm B nu D copya prograrns/wb b miSC/wb
C 3x D 3dd C touch
200 Which of thefollowing directoriess contain allthe Alias C ic D i
191 What command is used with file named 'letter' to re 217 Which of the foilowing commands can be used to get
his login directonw)
move the executatble permission from the user and created by a user, including 210 Which of the following set options is used with vi edi inforrmation atout all users who are currently logged
assign read permission to the group and others? B letc tor to ignore case while searching for patterns? into the systern?
A /tmp
A chmod go + x, u-x letter D /dev A ic B ai A which B wO

B chmod g - x, uo + r letter 201 Which of thefollowing commands is used to obtaina C sm D ts C who am i D 1u


modification time? 218 Which comnand is used to move al1 files to the bin
C chmod go + r,u+x letter list of all files by 211 Which of the following commands is used to abso
B Is -t lutely assign all permissions to the owner, read and sub-directory of the parent directory?
D chmod u - x, go + r letter A ls -1 write permissions to the group and only executable A my bin Bmy biny
D Is -R permission to the others of the file note?
192 What command is used to summarize the disk us CIs -i
C my .Jbin D my bin
be used with touch
age? 202 Which option will time?
change the access
Command to A chmod 761 note
B chmod 671 note 219 Which of following commands is used for an auto
A disk B du
matic reminder service?
D chkdsk B b C chmod 167 note
C fdisk A a A write B mesg
193 Which command is used to display the top of the D h D chmod 4=rwx, g=w note
C -t C calendar D mat
indicatoe
file?
203 The second set of the three permissions (-)
212 The chmod ugo+rw note command can be represented 220 Which option is used with cmp cornmand to grve a
A cat B head that in octal notation as detailed ist of the byte number and the differing bytes
permission only
C more D grep A group has read A chmod 555 note B chmod 666 note
in octal for each character that difers in both the files?
194 Which command is used to copy all files having the B other has read permission
only A B
C chmod 444 note D chmod 333 note
string chap and any two characters after that to the only
progs directory? Cowner has read permission 213 Which of the following commands is used to display
C D 3
D group has write permission only the filenames in multiple columns with indication of 221 Which of the foiiowing commands is used to save the
A cp chap?? progs directories and executable file? output of the who command in a file named [Link],
B cp chap" progs 204 While working with mail command, which command A Is -F -X B Is as well as display it?
is used to save mail in a separate file?
C cp chap[12]/progs/".* C Is ~x D Ip A who | tee [Link]
A S Br
D cp chap?? /progs/" B who> [Link]
Dd
214 Which command is used to delete all files in the cur
C w
195 Which command sends the word count of the file infile rent directory as wel as all files and sub-directories C who >> [Link]
to the newfile. 205 Which of the following commands is used to rename in its subdirectories?
D who< user. Iste
a file? A rm B rm -r*
A wc infile >newfile
A rename B remove
C rm all D rm** 222 Which command is used to display ail the lines wit
8 Wc <infile >newfile the string 'sales' from the file empl. Ist?
C m D ren
C wc infile - newfile 215 Which of the folowing commands is used to view A cut sales empl. Ist
your file 24 lines at a time?
D wc infile | newfile 206 Which command is used to list all the files with ex
tension .Ist? B /sales > empi. ist
A pg Bcat
196 Which command is used to remove the read permis C grep sales empiIst
sion of the file 'note' from both the group and others? A Is -*.Ast B Is Ist* C lp D Ip
C Is . D Is [Ist) D cat|sales > [Link]
A chmod go+r note
B chmod go+rw note 207 Which option is used with the chmod command re
cursively to all files and sub-directories in a direc
C chmod go-x note tory?
D chmod go-r note A -1 B -
197 Which of the following commands is used to display C -x D R
the directory attributes rather than its contents?
A Is - -d B Is -I

C Is -x D Is -F
36 It& ITES: COPA(NSQF Level4) Assignment for Exercise 1.5.21-1.5.28 it& iTES: cOPA (NSQF Level4) Assignment for Exercise 1.5.21 -1.5.28

You might also like