100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

RHCSA Exam 100% Correct!!

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
16-10-2024
Written in
2024/2025

How do you Secure Shell into another system? - ANSWERssh <user>@<host> How do you execute commands on a remote system via Secure Shell without actually opening a new shell? - ANSWERssh <user>@<host> <command> How do you generate a public key and private key file for SSH authentication? - ANSWERssh-keygen How do you export a public key for SSH authentication on a different machine? - ANSWERssh-copy-id <user>@<host> How do you export a *specific* public key for SSH authentication on a different machine? - ANSWERssh-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? - ANSWER1. eval $(ssh-agent) 2. ssh-add <key file path> What is Cockpit? - ANSWERA server Management Tool How do you check if a service is running? - ANSWERsystemctl status <service> How do you start a service? - ANSWERsystemctl start <service> How do you enable a service on startup? - ANSWERsystemctl enable <service> Which directory contains persistent, system-specific configuration data? - ANSWER/etc Which directory is the top of the system's file hierarchy? - ANSWER/ Which directory contains user home directories? - ANSWER/home Which directory contains temporary files? - ANSWER/tmp

Show more Read less
Institution
RHCSA
Course
RHCSA









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
RHCSA
Course
RHCSA

Document information

Uploaded on
October 16, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA Exam 100% Correct!!

How do you Secure Shell into another system? - ANSWERssh <user>@<host>

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

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

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

How do you export a *specific* public key for SSH authentication on a different machine? -
ANSWERssh-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? - ANSWER1. eval $(ssh-agent)

2. ssh-add <key file path>

What is Cockpit? - ANSWERA server Management Tool

How do you check if a service is running? - ANSWERsystemctl status <service>

How do you start a service? - ANSWERsystemctl start <service>

How do you enable a service on startup? - ANSWERsystemctl enable <service>

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

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

Which directory contains user home directories? - ANSWER/home

Which directory contains temporary files? - ANSWER/tmp

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

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

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

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

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

How do you create a directory? - ANSWERmkdir <directory name>

How do you copy a file? - ANSWERcp <old file> <new file>

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

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

How do you remove a file? - ANSWERrm <file>

, How do you remove a directory containing files? - ANSWERrm -r <directory>

How do you remove an empty directory? - ANSWERrmdir <directory>

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

How do you list the contents of a directory? - ANSWERls

How do you list all contents of a directory including hidden files? - ANSWERls -a

How do you list the contents of a directory and subdirectories? - ANSWERls -R

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

How do you change directories? - ANSWERcd <directory path>

How do you change directories to the last directory you were in? - ANSWERcd -

How do you change directories to the parent directory of your current directory? - ANSWERcd ..

How do you list the contents of a file? - ANSWERcat <file>

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

How do you check the working directory? - ANSWERpwd

How do you list directories that are on different file systems? - ANSWERdf

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

How can you view information about the current user? - ANSWERid

How do you view information another user? - ANSWERid <user>

How do you view process information? - ANSWERps

How do you view process information for all processes in a terminal? - ANSWERps -a

How do you view process information and users associated with those processes? - ANSWERps -u

How many primary groups can a user have? - ANSWER1

How many supplementary groups can a user have? - ANSWERUnlimited

What is a GID? - ANSWERA Group ID number that is unique to a group on a local machine.

What is a UID? - ANSWERA User ID number that is unique to a user on a local machine.

What item represents a number that identifies users at the most fundamental level? - ANSWERUID

What item represents the program that provides the user's command-line prompt? - ANSWERLogin
shell

What is the location of the local group information? - ANSWER/etc/group

What is the location of the user's personal files? - ANSWER/home/<user>

Get to know the seller

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.
Papersbylee Chowan University
View profile
Follow You need to be logged in order to follow users or courses
Sold
22
Member since
2 year
Number of followers
14
Documents
1264
Last sold
2 months ago

3.3

7 reviews

5
1
4
1
3
4
2
1
1
0

Recently viewed by you

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

Frequently asked questions