Deck 1: Linux Command Line and System Administration
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 1: Linux Command Line and System Administration
1
What command is used to count the total number of lines, words, and characters contained in a file?
A)countw
B)wcount
C)wc
D)count p
A)countw
B)wcount
C)wc
D)count p
wc
2
What command is used to remove files?
A)dm
B)rm
C)delete
D)erase
A)dm
B)rm
C)delete
D)erase
rm
3
What command is used to remove the directory?
A)rdir
B)remove
C)rd
D)rmdir
A)rdir
B)remove
C)rd
D)rmdir
rmdir
4
What command is used with vi editor to delete a single character?
A)x
B)y
C)a
D)z
A)x
B)y
C)a
D)z
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
What hardware architectures are not supported by Red Hat?
A)SPARC
B)IBM-compatible
C)Alpha
D)Macintosh
A)SPARC
B)IBM-compatible
C)Alpha
D)Macintosh
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
How can you add Amit, a new user, to your system?
A)Using useradd
B)Using adduser
C)Using linuxconf
D)All of the above
A)Using useradd
B)Using adduser
C)Using linuxconf
D)All of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
How could you install the file ipchains-1.3.9-5.i386.rpm?
A)rpm -qip ipchains
B)rpm -Uvh ipchains
C)rpm -i ipchains* .i386.rpm
D)rpm -e ipchains-1.3.9-5.i386.rpm
A)rpm -qip ipchains
B)rpm -Uvh ipchains
C)rpm -i ipchains* .i386.rpm
D)rpm -e ipchains-1.3.9-5.i386.rpm
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
What does FSF stand for?
A)Free Software File
B)File Server First
C)First Serve First
D)Free Software Foundation
A)Free Software File
B)File Server First
C)First Serve First
D)Free Software Foundation
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
What command do you use to create Linux file systems?
A)fdisk
B)mkfs
C)fsck
D)mount
A)fdisk
B)mkfs
C)fsck
D)mount
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following command can you execute to count the number of lines in a file?
A)lc
B)wc - l
C)cl
D)count
A)lc
B)wc - l
C)cl
D)count
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is not a communication command?
A)grep
B)mail
C)mesg
D)write
A)grep
B)mail
C)mesg
D)write
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
What command is used to display the characteristics of a process?
A)au
B)ps
C)du
D)pid
A)au
B)ps
C)du
D)pid
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
What command is used to list only the files chap0l, chap02 and chap04?
A)ls chap*
B)ls chap[124]
C)ls - x chap0[124]
D)ls chap0[124]
A)ls chap*
B)ls chap[124]
C)ls - x chap0[124]
D)ls chap0[124]
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
What command is used with vi editor to replace text from cursor to right
A)S
B)s
C)R
D)r
A)S
B)s
C)R
D)r
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
What command is used to sort the lines of data in a file in alphabetical order?
A)sort - r
B)st
C)sh
D)sort
A)sort - r
B)st
C)sh
D)sort
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
What command is used with vi editor to save file and remain in the editing mode?
A)x
B)q!
C):w
D):q
A)x
B)q!
C):w
D):q
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
What command is used with vi editor to move back to the beginning of a word?
A)w
B)e
C)a
D)b
A)w
B)e
C)a
D)b
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
What command is used with vi editor to search a pattern in the forward direction?
A) (??)
B) (/ /)
C)( ?)
D)( /)
A) (??)
B) (/ /)
C)( ?)
D)( /)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
What command is used to add printing jobs to the queue?
A)Lpd
B)Lpr
C)Lpq
D)Lpc
A)Lpd
B)Lpr
C)Lpq
D)Lpc
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
What protocol(s) is(are) allowed a user to retrieve her / his mail from the mail server to her / his mail reader?
A)POP3
B)FTP
C)MAP
D)All of the above
A)POP3
B)FTP
C)MAP
D)All of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
What project is currently developing X server support?
A)XFree86 Project, Inc.
B)RHAD Labs
C)GNOME Project
D)All of the above
A)XFree86 Project, Inc.
B)RHAD Labs
C)GNOME Project
D)All of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
What X-based tool is available for configuring the X Window system?
A)XConfigurator
B)XF86Setup
C)xf86config
D)All of the above
A)XConfigurator
B)XF86Setup
C)xf86config
D)All of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following server is used with the BIND package?
A)httpd
B)shttp
C)dns
D)named
A)httpd
B)shttp
C)dns
D)named
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
What port does squid listen, by default?
A)4322
B)2314
C)7334
D)3128
A)4322
B)2314
C)7334
D)3128
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following is the main Apache configuration file?
A) / etc / apache.conf
B) / etc / httpd / config.ini
C) / etc / httpd / conf / httpd.conf
D) / etc / srm.conf
A) / etc / apache.conf
B) / etc / httpd / config.ini
C) / etc / httpd / conf / httpd.conf
D) / etc / srm.conf
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Which of the following command is used to access an SMB share on a Linux system?
A)NFS
B)SMD
C)smbclient
D)smbserver
A)NFS
B)SMD
C)smbclient
D)smbserver
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following command is used to see the services running in NFS server?
A)rpcinfo
B)serverinfo
C)NFSinfo
D)infserv
A)rpcinfo
B)serverinfo
C)NFSinfo
D)infserv
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
In which tcp_wrappers file can you specify to allow all connections from all hosts?
A) / etc / hosts.allow
B) / etc / hosts.deny
C) / etc / hosts
D) / etc / tcp.conf
A) / etc / hosts.allow
B) / etc / hosts.deny
C) / etc / hosts
D) / etc / tcp.conf
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
What does GNU stand for?
A)GNU's not Unix
B)Greek Needed Unix
C)General Unix
D)General Noble Unix
A)GNU's not Unix
B)Greek Needed Unix
C)General Unix
D)General Noble Unix
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
What command is used to remove jobs from the print queue?
A)lpq
B)lpr
C)lprm
D)lpc
A)lpq
B)lpr
C)lprm
D)lpc
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
How can you navigate around virtual consoles?
A)Alt+Function Key
B)Ctrl+Function Key
C)Ctrl+Alt+Del
D)Alt+a+w+Function Key
A)Alt+Function Key
B)Ctrl+Function Key
C)Ctrl+Alt+Del
D)Alt+a+w+Function Key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
Which of the following NIS clients, finds and stores information about an NIS domain and server?
A)ypwhich
B)ypbind
C)ypcat
D)yppoll
A)ypwhich
B)ypbind
C)ypcat
D)yppoll
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
RPM
A)stands for Red Hat Package Manager
B)is used to install, uninstall, and manage packages
C)is used to keep track of the users
D)assigns a dynamic IP address
A)stands for Red Hat Package Manager
B)is used to install, uninstall, and manage packages
C)is used to keep track of the users
D)assigns a dynamic IP address
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
What command is used to query for a specific package with RPM?
A)rpm -q
B)rpm -a
C)rpm -d
D)rpm -1
A)rpm -q
B)rpm -a
C)rpm -d
D)rpm -1
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Who founded the Linux Kernel?
A)Bill Gates
B)Ben Thomas
C)Richard Stallman
D)Linus Torvalds
A)Bill Gates
B)Ben Thomas
C)Richard Stallman
D)Linus Torvalds
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
_____ tool allows you to change your default X Window desktop.
A)utilinux
B)cempre
C)switchdesk
D)window
A)utilinux
B)cempre
C)switchdesk
D)window
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
In what file can you specify which users are not allowed to access a system via FTP?
A) / etc / ftpusers
B) / etc / hosts.deny
C) / etc / ftpaccess
D)All of the above
A) / etc / ftpusers
B) / etc / hosts.deny
C) / etc / ftpaccess
D)All of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Which program is used to schedule particular jobs or programs at particular times on the system?
A)vi
B)Outlook
C)Scheduler
D)cron
A)vi
B)Outlook
C)Scheduler
D)cron
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
The location of some system configuration and system administrator executable files, is:
A) / home
B) / proc
C) / var
D) / sbin
A) / home
B) / proc
C) / var
D) / sbin
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
The location for subdirectories for local programs and executables for user and administrative commands, is:
A) / usr
B) / tmp
C) / opt
D) / mnt
A) / usr
B) / tmp
C) / opt
D) / mnt
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Which of the following is not a filter command?
A)sort
B)wc
C)grep
D)cat
A)sort
B)wc
C)grep
D)cat
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
What command is used to assign executable permission to all of the files named "report"?
A)chmod ugo + x report
B)chmod u + x report
C)chmod ugo + rw report
D)chmod ugo + r report
A)chmod ugo + x report
B)chmod u + x report
C)chmod ugo + rw report
D)chmod ugo + r report
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
What command is used to change the working directory?
A)cdir
B)chdir
C)changedir
D)cd
A)cdir
B)chdir
C)changedir
D)cd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What command is used to count just the number of characters in a file?
A)wc - r
B)wc - w
C)wc - c
D)wc - 1
A)wc - r
B)wc - w
C)wc - c
D)wc - 1
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What command can be used to get information about yourself?
A)which
B)pwd
C)i / 4
D)who am i
A)which
B)pwd
C)i / 4
D)who am i
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Which of the following subdirectory(ies) contains the device files?
A) / dev
B) / bin
C) / etc
D) / home
A) / dev
B) / bin
C) / etc
D) / home
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
Which of the following subdirectory(ies) contains the system configuration scripts.
A) / dev
B) / bin
C) / etc
D) / home
A) / dev
B) / bin
C) / etc
D) / home
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
What of the following tool is used to check and repair Linux file systems?
A)mkfs
B)fdisk
C)fsck
D)mount
A)mkfs
B)fdisk
C)fsck
D)mount
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
Which of the following is the main Apache configuration file?
A)httpd.conf
B)apache.con
C) / etc / profile
D)system.ini
A)httpd.conf
B)apache.con
C) / etc / profile
D)system.ini
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
What command is used to display and create files?
A)lyrix
B)ed
C)vi
D)cat
A)lyrix
B)ed
C)vi
D)cat
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck