What directory can you make crontab use by dropping just a script file in and the directories
control timing - ✔✔/etc/cron.hourly
/etc/cron.daily
/etc/cron.weekly
/etc/cron.montly
What command is used to adjust performing profiles of the system - ✔✔tuned-adm
What command do you use to initialize the swap partition after the swap filesystem is on it -
✔✔mkswap
what command do you use to activate the new swap spaces after they have been added to
/etc/fstab - ✔✔swapon -a
What commands are needed to reset the root password - ✔✔rd.break
mount -o rw,remount /sysroot
chroot /sysroot
passwd
touch /.autorelabel
What is a easy method to test a nfs share from another system? - ✔✔mount it
Ex: mount -t nfs serverb:/shares/public /public
,What command do you use to remove a mount - ✔✔umount
Ex: umount /public
What command for SELinux will add a port to an existing type - ✔✔semanage port --add --
type http_port_t -p tcp 1001
What is the old tool to interact with container image registries - ✔✔skopeo
What directory do you need to put podman systemd configuration files you want to run under a
user context - ✔✔~/.config/systemd/user
What command do you need to run to ensure that systemd user services auto start with the
server - ✔✔loginctl enable-linger
Command to see how long a system has been powered on - ✔✔uptime
, What option with ls lets you see the inode of a file - ✔✔inode
i
What command can be used to rename part of a file name and can be done to multiple files at
once - ✔✔rename
Ex: rename .htm .html *
What is the escape character for bash? - ✔✔Backslash
\
What option with man lets you search for words in the name of the manual - ✔✔-k
Ex: man -k yum
What command will find what file path a command and manuals are located at - ✔✔whereis
Ex: whereis passwd
What command will give you the description of what a command does - ✔✔whatis
What is /etc/profile used for - ✔✔login script for all shells for all users
What is ~/.profile used for - ✔✔login script for specific user
What is /etc/bashrc used for - ✔✔login script for the bash shell for all users
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 Examsplug. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.