100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam: Questions & Complete Answers (Rated A+) $17.99   Add to cart

Exam (elaborations)

RHCSA Exam: Questions & Complete Answers (Rated A+)

 5 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Exam: Questions & Complete Answers (Rated A+)

Preview 3 out of 19  pages

  • October 24, 2024
  • 19
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA Exam: Questions & Complete Answers (Rated
A+)

How do you Secure Shell into another system? Right Ans - ssh
<user>@<host>

How do you execute commands on a remote system via Secure Shell without
actually opening a new shell? Right Ans - ssh <user>@<host> <command>

How do you generate a public key and private key file for SSH authentication?
Right Ans - ssh-keygen

How do you export a public key for SSH authentication on a different
machine? Right Ans - ssh-copy-id <user>@<host>

How do you export a *specific* public key for SSH authentication on a
different machine? Right Ans - ssh-copy-id <user>@<host> -i <key file
path>

If an SSH authentication key has a passphrase, how do you cache that
passphrase on the local machine for passwordless authentication? Right
Ans - 1. eval $(ssh-agent)
2. ssh-add <key file path>

What is Cockpit? Right Ans - A server Management Tool

How do you check if a service is running? Right Ans - systemctl status
<service>

How do you start a service? Right Ans - systemctl start <service>

How do you enable a service on startup? Right Ans - systemctl enable
<service>

Which directory contains persistent, system-specific configuration data?
Right Ans - /etc

Which directory is the top of the system's file hierarchy? Right Ans - /

,Which directory contains user home directories? Right Ans - /home

Which directory contains temporary files? Right Ans - /tmp

Which directory contains dynamic data, such as for databases and websites?
Right Ans - /var

Which directory is the administrative superuser's home directory? Right
Ans - /root

Which directory contains regular commands and utilities? Right Ans -
/usr/bin

Which directory contains non-persistent process runtime data? Right Ans
- /run

Which directory contains installed software programs and libraries? Right
Ans - /usr

How do you create a directory? Right Ans - mkdir <directory name>

How do you copy a file? Right Ans - cp <old file> <new file>

How do you copy a directory and its contents? Right Ans - cp -r <old
directory> <new directory>

How do you move (or rename) a file or directory? Right Ans - mv <old file>
<new file>

How do you remove a file? Right Ans - rm <file>

How do you remove a directory containing files? Right Ans - rm -r
<directory>

How do you remove an empty directory? Right Ans - rmdir <directory>

How do you create parent directories while creating a new directory? Right
Ans - mkdir -p <new parent directories>/<new directory>

, How do you list the contents of a directory? Right Ans - ls

How do you list all contents of a directory including hidden files? Right Ans
- ls -a

How do you list the contents of a directory and subdirectories? Right Ans -
ls -R

How do you list the contents of a directory with more detailed information?
Right Ans - ls -l

How do you change directories? Right Ans - cd <directory path>

How do you change directories to the last directory you were in? Right Ans
- cd -

How do you change directories to the parent directory of your current
directory? Right Ans - cd ..

How do you list the contents of a file? Right Ans - cat <file>

How do you create an empty file/update an existing file's "last changed"
timestamp without making any changes? Right Ans - touch <file>

How do you check the working directory? Right Ans - pwd

How do you list directories that are on different file systems? Right Ans - df

How do you create a soft link between two files/directories? Right Ans - ln
-s <existing file path> <link path>

How can you view information about the current user? Right Ans - id

How do you view information another user? Right Ans - id <user>

How do you view process information? Right Ans - ps

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 LeCrae. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

85169 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
$17.99
  • (0)
  Add to cart