RHCSA Exam Questions & Answers 2023/2024
How do you Secure Shell into another system? - ANSWER-ssh <user>@<host>
How do you execute commands on a remote system via Secure Shell without actually opening a new shell? - ANSWER-ssh <user>@<host> <command>
How do...
RHCSA Exam Questions & Answers 2023/2024
How do you Secure Shell into another system? - ANSWER-ssh <user>@<host>
How do you execute commands on a remote system via Secure Shell without actually opening a new shell? - ANSWER-ssh <user>@<host> <command>
How do you generate a public key and private key file for SSH authentication? - ANSWER-ssh-keygen
How do you export a public key for SSH authentication on a different machine? - ANSWER-ssh-copy-id <user>@<host>
How do you export a *specific* public key for SSH authentication on a different machine? - ANSWER-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? - ANSWER-1. eval $(ssh-agent)
2. ssh-add <key file path>
What is Cockpit? - ANSWER-A server Management Tool
How do you check if a service is running? - ANSWER-systemctl status <service>
How do you start a service? - ANSWER-systemctl start <service>
How do you enable a service on startup? - ANSWER-systemctl 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? - ANSWER-mkdir <directory name>
How do you copy a file? - ANSWER-cp <old file> <new file>
How do you copy a directory and its contents? - ANSWER-cp -r <old directory> <new directory>
How do you move (or rename) a file or directory? - ANSWER-mv <old file> <new file>
How do you remove a file? - ANSWER-rm <file>
How do you remove a directory containing files? - ANSWER-rm -r <directory> How do you remove an empty directory? - ANSWER-rmdir <directory>
How do you create parent directories while creating a new directory? - ANSWER-mkdir -p <new parent directories>/<new directory>
How do you list the contents of a directory? - ANSWER-ls
How do you list all contents of a directory including hidden files? - ANSWER-ls -a
How do you list the contents of a directory and subdirectories? - ANSWER-ls -R
How do you list the contents of a directory with more detailed information? - ANSWER-ls -l
How do you change directories? - ANSWER-cd <directory path>
How do you change directories to the last directory you were in? - ANSWER-cd -
How do you change directories to the parent directory of your current directory? - ANSWER-cd ..
How do you list the contents of a file? - ANSWER-cat <file>
How do you create an empty file/update an existing file's "last changed" timestamp without making any changes? - ANSWER-touch <file>
How do you check the working directory? - ANSWER-pwd
How do you list directories that are on different file systems? - ANSWER-df
How do you create a soft link between two files/directories? - ANSWER-ln -s <existing file path> <link path>
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
√ Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, Bancontact of creditcard voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper Bensuda. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €10,21. Je zit daarna nergens aan vast.