100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA - RH124: Questions & Answers (Expert Verified) $10.49   Add to cart

Exam (elaborations)

RHCSA - RH124: Questions & Answers (Expert Verified)

 4 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA - RH124: Questions & Answers (Expert Verified)

Preview 2 out of 10  pages

  • October 24, 2024
  • 10
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA - RH124: Questions & Answers (Expert Verified)

View previously run commands in current shell Right Ans - history

Run previous command by matching string Right Ans - !string

Clear from cursor to end of line Right Ans - Ctrl+e

Clear from cursor to beginning of line Right Ans - Ctrl+u

Repeat previous command arguments Right Ans - Esc+.

Copy file4 to /tmp Right Ans - cp file4 /tmp

Move file3 and file4 into the directory /files Right Ans - mv file3 file4 /files

Delete file6 Right Ans - rm file6

Remove the directory /home/me/backup and its contents Right Ans - rm -r
/home/me/backup

Copy directory2 and its contents to /home/me Right Ans - cp -r
directory2 /home/me

Create the directory /backup/files in one command Right Ans - mkdir -p
/backup/files

This character represents a string of zero or more characters in the shell
Right Ans - *

This character represents a single character in the shell Right Ans - ?

In the shell, this will match the letters within the range a-l Right Ans - [a-l]

In the shell, this will match the characters NOT in the range g-k Right Ans -
[^g-k] or [!g-k]

Create 3 files Month_ ending with the numbers 1-3 Right Ans - touch
Month_{1..3}

, Two methods of command substitution Right Ans - `command` or $
(command)

These characters will suppress globbing and shell expansion Right Ans -
"command"

These characters will force the shell to interpret each character literally
Right Ans - 'command'

This will suppress a single character Right Ans - \

Search man pages intro for string Right Ans - man -a string

Search man page topics for string Right Ans - man -k string or apropos
string

Location where packages may place more detailed info Right Ans -
/usr/share/doc

Redirect STDERR to file and append Right Ans - 2>>file

Redirect STDOUT and STDERR to overwrite file Right Ans - >file 2>&1 OR
&>file

Redirect STDOUT and STDERR to append fiel Right Ans - >>file 2>&1 OR
&>>file

Pipe output into this command and it will send output to terminal and a
specified file, appending Right Ans - command | tee -a file.txt

In VIM, delete selected text Right Ans - x

In VIM, write and quit Right Ans - :wq

Show info about current logged in user Right Ans - id

Modify sudoers Right Ans - sudo visudo

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