RHCSA Practice Exam with Complete Solutions Graded A+
7 views 0 purchase
Course
RHCSA
Institution
RHCSA
RHCSA Practice Exam with Complete Solutions Graded A+
Gnome control center command - Answer-gnome-control-center
Linux Window Managers - Answer-sawfish, metacity, kwin, etc. Control windows like minimize, resize, full screen
Linux Display Manager - Answer-X Server. Server application which i...
$DISPLAY - Answer-Contains location of the display manager server, which is usually
the local machine. Contents: <hostname>:<# of display sequence for multiple machines
running the same server>.<#of the screen>
Configure the RPM update util. for the first time - Answer-up2date-config
Check if RPMs are up to date - Answer-up2date
Cmd to examine file system - Answer-fsck
*can't be used on mounted disks
Cmd to alter partitions, etc - Answer-fdisk
parted
Cmd to create a rescue/boot/recovery device - Answer-mkbootdisk --device /dev/sdb
2.4.18
last number is kernel version
Check kernel version - Answer-ls /lib/modules
Cmd to make sure memory buffer states are actually written to disk - Answer-sync
Add a user account and default group - Answer-useradd -g <group> <user>
Add an additional group to a user account - Answer-usermod -G <group> <user>
Open webmin - Answer-http://<host machine>:10000
Lock a user account - Answer-usermod -L <user>
,Location of stock user home directory files used for new user accounts - Answer-
/etc/skel
bash initialization files - Answer-/etc/profile => sets env var's system wide
/etc/bashrc => system wide definitions
~/.bash_profile => individual preferred config
~/.bash_login => indiv. login settings
~/.profile => next up for indiv. config
~/.bashrc => common for non-login shells
~/.bash_logout => indiv. logout settings
See a <DIR> Tree - Answer-<DIR> tree
Linux command
vi undo command - Answer-U (upper case)
command to go up two DIR levels - Answer-../../
cmd to see open processes - Answer-ps -aux
or jobs
cmd to see ntp peer status - Answer-ntpq -p
p = print list of peers w/summary of their state
cmd to set time and date from ntp service - Answer-ntpdate
ssh command to avoid host key conflicts during connection - Answer-ssh -o -X
StrictHostKeyChecking=no <host>
cmd to open VMM GUI - Answer-virt-manager
operator for "right here, in pwd" - Answer-"."
cmd to display active user and group IDs - Answer-id
search with an index file - Answer-locate <file>
pause a process - Answer-ctrl + z
cmd to see what's running in the background - Answer-jobs
bring process to foreground - Answer-fg <pid>
show current environment variables and configuration - Answer-env
, show environment variables being used - Answer-set
what ver Linux are you on - Answer-cat /etc/*release
what kind of processor - Answer-cat /proc/cpuinfo
lscpu
what's the memory status - Answer-free -h
for human readable
print system information - Answer-uname -a
hostnamectl
dmesg in pretty version - Answer-dmesg -H
H=human readable
cmds similar to forward and back window navigation - Answer-pushd
popd
update the locate index - Answer-updatedb
search for a term recursively inside files and report line numbers w/grep - Answer-grep -
rn /etc/ -e <term>
r=recursive
e=find a pattern (examine)
n=prefix each hit w/line number
info on common commands not in man - Answer-help <term>
search through the man pages - Answer-apropos
show file/dir sizes in MB summary - Answer-du -hsMB
h - human readable
s - summarize
show processes in a branch format - Answer-pstree -pa
p=show pids
a=show cmd line arguments
create physical volume on a disk - Answer-pvcreate
create volume group on a physical volume - Answer-lvcreate -L <size> <volgroup> -n
<logVOLname>
L=logical
n=name
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 Scholarsstudyguide. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.