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

RHCSA Exam | Questions And Answers Latest {} A+ Graded | 100% Verified

Rating
-
Sold
-
Pages
46
Grade
A+
Uploaded on
25-08-2024
Written in
2024/2025

RHCSA Exam | Questions And Answers Latest {} A+ Graded | 100% Verified

Institution
Top Academic Resources 2024/2025
Course
Top Academic Resources 2024/2025











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

Written for

Institution
Top Academic Resources 2024/2025
Course
Top Academic Resources 2024/2025

Document information

Uploaded on
August 25, 2024
Number of pages
46
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA Exam | Questions And Answers Latest {2024- 2025} A+ Graded | 100% Verified




Repeat last command - !!



Repeat last argument in current command - !$



Kernel log message command - dmesg



File usage - du -hsx

h - human, s - summarize,

x - single fs



Umount a busy drive - kill -9 'lsof +D /mnt/cdrom'

(list open files, +D=directory and contents)



Compare file contents - diff



Search for all gzip files, not dirs - find -type f -name *.gz



Command to tell crond what to do - crontab



crontab order - Min, hour, date, month, day, command



Show what's in crond - crontab -l



Turn on firewall for run levels 2-5 - chkconfig iptables on



Check if <cmd> is running - service <cmd> status <=old

,systemctl status <cmd> <=new



Set tasks for crond - crontab -e

e = edit



Mail location - /var/spool/mail



Command to check messages - mail



Check <cmd> run level schedule - chkconfig --list <cmd>



Print a file's number of lines - wc -I <file>

l=line



User account commands - useradd, userdel, usermod



usermod switches - G second group, g main group, u user ID num, d home, s shell



Set user password - passwd --stdin <user>



Delete user account AND home dir - userdel -r

r = remove



Force user password change - chage -d 0 <user>

change + age

-d = last day



Group-file field categories - /etc/group gname:x:gid:users

,User account lock cmd - usermod -L or -U <usr>

U = unlock



Check if user account is locked - less /etc/passwd

user:! means locked

:!! means no password set



Show password parameters - chage -l <login>

l = list



Set password max life - chage -M <# of days>



Firewall settings GUI - system-config-firewall



Scan for open ports - netstat -tulpn (as root)

nmap 192.168.1.10

tu=tcp/udp, l=only listening, p=sh pid, n=numeric address



Yum repo location - /etc/yum.repos.d



Turn <cmd> on for important run levels - chkconfig <cmd> on



cmd to see if crond is running - ps -ef | grep crond

e=every process, f=ASCII process hierarchy

or

service crond status <=old

systemctl status crond <=new



start crond - service crond start <=old

, systemctl start crond <=new



turn <cmd> on for important run levels - chkconfig <cmd> on



check what levels <cmd> is set to run at - chkconfig --list <cmd>



cmd to set instructions for crond - crontab -e



script comment symbol - #



crontab format - min hr date month day command



what day number is Sunday - zero



cmd to get crontab help - man 5 crontab



cmd to view email - mail



where are emails stored - /var/spool/mail



show list of crond tasks - crontab -l



be careful of this when creating crond tasks - the created task will run as the user you are logged in as



cmd for disk usage - du -hsx

h - human, s - summarize, x - single fs



cmd to find all open instances of cdrom - lsof +D /dev/cdrom

list open files, +D is for all instances and included files

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.
SpencerHenderson Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
225
Member since
2 year
Number of followers
115
Documents
30185
Last sold
3 weeks ago
Spencer Henderson

Spencer Henderson I offer updated and 100% verified exam materials for ATI, Nursing, PMHNP, TNCC, USMLE, ACLS, WGU, and more. Success is guaranteed. You’ll find everything you need for nursing exams and test banks here. If you don’t see what you’re looking for, just contact me— I will get it for you within minutes. Shop with confidence! And please remember to leave a review after your purchase to help ensure all our customers stay satisfied.

Read more Read less
3.7

46 reviews

5
18
4
9
3
12
2
1
1
6

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