• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 21 pages
Exam (elaborations)

Linux Essentials - Practice Practice Exam (Passed!!!)

Document preview thumbnail
Preview 3 out of 21 pages

LINUX ESSENTIALS - PRACTICE PRACTICE EXAM (PASSED!!!)

Content preview

LINUX ESSENTIALS - PRACTICE
PRACTICE EXAM (PASSED!!!)

If6you6wanted6to6disable6a6second6network6interface6in6Linux,6what6command6would6you6
enter6at6the6shell?

ifdown6eth0

ifdown6eth1

ifconfig6disable6eth1

ifdown6-6ans--ifdown6eth1

You6have6been6editing6a6configuration6file6using6vi.6You6realize6that6you've6made6many6
mistakes6and6need6to6quit6without6saving6the6changes6so6that6you6can6start6over.6Which6
command6will6allow6you6to6do6this?

:q

:q!

:exit

:s6-6ans--:q!6("colon6Q6Bang!")

What6directory6would6the6~6character6represent?

Another6user's6home6directory.

The6home6directory6of6our6currently6logged6in6user.

Take6us6to6the6home6directory6of6the6root6user.

The6/var6directory.6-6ans--The6home6directory6of6our6currently6logged6in6user.

What6is6the6default6shell6for6most6Linux6distributions?

csh

,bash

sh

zsh6-6ans--bash

You6need6to6troubleshoot6a6hardware6issue.6Which6command6would6let6you6view6the6ker
nel6ring6buffer6to6see6what6hardware6was6just6added?

cat6/var/log/boot.log

tail6lastlog

dmsg6|6less

head6/var/log/messages6-6ans--dmsg6|6less6(driver6messages)6"dmsg6pipe6less"

Which6of6the6following6sections6give6a6brief6review6of6the6syntax6used6for6a6particular6co
mmand6or6utility6within6a6man6page?

REVIEW

SYNOPSIS

SYNTAX

DESCRIPTION6-6ans--SYNOPSIS

In6which6directory6could6you6add6files6so6that6a6newly6created6user6will6automatically6hav
e6them6when6they6first6log6in?


/etc/skel

/etc/profile.d

/etc/default

/etc/.skel6-6ans--/etc/skel6(correct?)

Which6of6the6following6provides6binary6files6containing6prewritten6code6elements6or6interf
aces6that6programmers6can6call6when6writing6Linux6programs?

Libraries

Bash6shell6profiles

, Kernel6modules

The6kernel6-6ans--Libraries

You6are6running6the6ping6command6to6see6if6a6particular6host6is6up.6How6would6you6spec
ify6to6the6ping6command6that6only6five6packets6get6sent6to6the6remote6host?

ping6--count656host.example.com

ping6-c656host.example.com

ping656host.example.com

ping6-n656host.example.com6-6ans--ping6-c656host.example.com6(-
c6=6count,6number6of6times6can6vary)

You6need6to6verify6that6a6remote6host6with6a6hostname6of6dns2.linuxacademy.com6is6up6
and6running.6Which6of6the6following6commands6would6you6enter6at6the6shell6prompt6to6d
o6this?

finger6dns2.linuxacademy.com

netstat6-a6dns2.linuxacademy.com

netstat6-s6dns2.linuxacademy.com

ping6dns2.linuxacademy.com6-6ans--ping6dns2.linuxacademy.com

While6using6vi6to6edit6a6file6in6command6mode,6you6try6to6use6the6BACKSPACE6key6to6d
elete6a6word,6but6nothing6happens.6What's6wrong?

You6need6to6use6CTRL-BACKSPACE

You6need6to6reboot6your6computer.

You6need6to6switch6to6normal6mode.

You6have6to6switch6to6insert6mode.6-6ans--You6have6to6switch6to6insert6mode.

Which6command6would6uncompress6the6contents6of6the6file6'important.bz2'?

gunzip6(for6.gz6only)

tar6(this6is6not6a6zip-type6file)

Document information

Uploaded on
November 3, 2024
Number of pages
21
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
favouredone
4.4
(352)
Sold
404
Followers
36
Items
10320
Last sold
5 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions