100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
LINUX ESSENTIALS - PRACTICE PRACTICE EXAM (PASSED!!!) $11.49   Add to cart

Exam (elaborations)

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

 7 views  0 purchase
  • Course
  • FDNY
  • Institution
  • FDNY

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

Preview 3 out of 21  pages

  • November 3, 2024
  • 21
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • FDNY
  • FDNY
avatar-seller
AGRADEPROMASTER
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)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller AGRADEPROMASTER. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.49
  • (0)
  Add to cart