100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam Study Guide with Complete Solutions $12.49   Add to cart

Exam (elaborations)

RHCSA Exam Study Guide with Complete Solutions

 4 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Exam Study Guide with Complete Solutions Repeat last command - Answer️️ -!! Repeat last argument in current command - Answer️️ -!$ Kernel log message command - Answer️️ -dmesg File usage - Answer️️ -du -hsx h - human, s - summarize, x - single fs Umount a busy drive - A...

[Show more]

Preview 4 out of 49  pages

  • August 28, 2024
  • 49
  • 2024/2025
  • Exam (elaborations)
  • Unknown
  • RHCSA
  • RHCSA
avatar-seller
SophiaBennett
©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

RHCSA Exam Study Guide with Complete Solutions

Repeat last command - Answer✔️✔️-!!

Repeat last argument in current command - Answer✔️✔️-!$

Kernel log message command - Answer✔️✔️-dmesg

File usage - Answer✔️✔️-du -hsx

h - human, s - summarize,

x - single fs

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

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

Compare file contents - Answer✔️✔️-diff

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

Command to tell crond what to do - Answer✔️✔️-crontab

crontab order - Answer✔️✔️-Min, hour, date, month, day, command

Show what's in crond - Answer✔️✔️-crontab -l

Turn on firewall for run levels 2-5 - Answer✔️✔️-chkconfig iptables on

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

systemctl status <cmd> <=new

Set tasks for crond - Answer✔️✔️-crontab -e


1

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

e = edit

Mail location - Answer✔️✔️-/var/spool/mail

Command to check messages - Answer✔️✔️-mail

Check <cmd> run level schedule - Answer✔️✔️-chkconfig --list <cmd>

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

l=line

User account commands - Answer✔️✔️-useradd, userdel, usermod

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

Set user password - Answer✔️✔️-passwd --stdin <user>

Delete user account AND home dir - Answer✔️✔️-userdel -r

r = remove

Force user password change - Answer✔️✔️-chage -d 0 <user>

change + age

-d = last day

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

User account lock cmd - Answer✔️✔️-usermod -L or -U <usr>

U = unlock




2

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

Check if user account is locked - Answer✔️✔️-less /etc/passwd

user:! means locked

:!! means no password set

Show password parameters - Answer✔️✔️-chage -l <login>

l = list

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

Firewall settings GUI - Answer✔️✔️-system-config-firewall

Scan for open ports - Answer✔️✔️-netstat -tulpn (as root)

nmap 192.168.1.10

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

Yum repo location - Answer✔️✔️-/etc/yum.repos.d

Turn <cmd> on for important run levels - Answer✔️✔️-chkconfig <cmd> on

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

e=every process, f=ASCII process hierarchy

or

service crond status <=old

systemctl status crond <=new

start crond - Answer✔️✔️-service crond start <=old




3

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

systemctl start crond <=new

turn <cmd> on for important run levels - Answer✔️✔️-chkconfig <cmd> on

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

cmd to set instructions for crond - Answer✔️✔️-crontab -e

script comment symbol - Answer✔️✔️-#

crontab format - Answer✔️✔️-min hr date month day command

what day number is Sunday - Answer✔️✔️-zero

cmd to get crontab help - Answer✔️✔️-man 5 crontab

cmd to view email - Answer✔️✔️-mail

where are emails stored - Answer✔️✔️-/var/spool/mail

show list of crond tasks - Answer✔️✔️-crontab -l

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

cmd for disk usage - Answer✔️✔️-du -hsx

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

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

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

repeat previous argument - Answer✔️✔️-!$


4

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 SophiaBennett. 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.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67866 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart