Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 76 pages
Exam (elaborations)

RHCSA Questions With Complete Answers

Document preview thumbnail
Preview 4 out of 76 pages

RHCSA Questions With Complete Answers 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)

Content preview

RHCSA Questions With Complete Answers

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

, RHCSA Questions With Complete Answers

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

, RHCSA Questions With Complete Answers
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>

, RHCSA Questions With Complete Answers
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

Document information

Uploaded on
February 11, 2025
Number of pages
76
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$17.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
StuviaTutors
3.3
(32)
Sold
150
Followers
22
Items
14656
Last sold
1 month ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions