Copy only different files from /etc to /backup Correct Ans-rsync /etc /backup
Search for a package named 'httpd' Correct Ans-yum search httpd
Where to add a yum repo and format Correct Ans-/etc/yum.repos.d
[name]
name=name
baseurl=http://www.
gpgcheck=0
enabled=1
Show all yum repos and status Correct Ans-yum repolist all
Option in yum repo to specify gpg key Correct Ans-gpgkey=file:///etc/...
Use rpm to query a file to find out which package provides it Correct Ans-rpm -q -f filename
Use yum to search all installed packages Correct Ans-yum list installed
,display file systems and mount points Correct Ans-df -h
Display all mounted systems Correct Ans-mount
Display disk usage Correct Ans-du
Temporary mount /dev/sda3 by UUID to /mnt/temp Correct Ans-blkid /dev/sda3; mkdir -p
/dev/temp; mount UUID="asdf" /mnt/temp
List open files and processes accessing /mnt/temp Correct Ans-lsof /mnt/temp
Create softlink to /home/student in / called softlink Correct Ans-ln -s /home/student /softlink
Find all directories owned by joe on entire system and copy to /backup Correct Ans-find -type
d -user joe -exec cp {} /backup \;
Find files in /root modified within last hour Correct Ans-find /root -mmin -100
Find files whose name contains 'test' Correct Ans-find -name '*test*'
GUI tool to manage VMs Correct Ans-virt-manager
, Kickstart tool to generate anaconda kickstart file Correct Ans-system-config-kickstart
Tool to check kickstart file for errors Correct Ans-ksvalidator
Reg exp: line only contains "test" Correct Ans-'^test$'
Reg exp: line begins with any letter in range l-z Correct Ans-'^[l-z]'
Reg exp: single character wildcard Correct Ans-.
Reg exp: modifies previous character to match 0 to infinity times Correct Ans-*
Reg exp: modifies previous character to match 0 or 1 times Correct Ans-?
Reg exp: modifies previous character to match exactly 5 times Correct Ans-\{5\}
Vim: enter visual block mode Correct Ans-Ctrl+v
Vim: enter visual line mode Correct Ans-V
Copy only different files from /etc to /backup Correct Ans-rsync /etc /backup
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 TheeGrades. 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.