RHCE試験無料問題集「RedHat Red Hat Certified Engineer - RHCE 認定」

CORRECT TEXT
Locate all the files owned by ira and copy them to the / root/findresults directory.
正解:
#find/-userira>/root/findresults(if/root/findfilesisafile)
#mkdir-p/root/findresults
#find/-userira-execcp-a{}/root/findresults\;[if/root/findfilesisadirectory]ls/root/findresults
CORRECT TEXT
1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.
2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.
正解:
(1)find/etc-size10k-execcp{}/tmp/findfiles\;(2)find/-userlucy-execcp-a{}/tmp/findfiles\;Note:Iffindusersandpermissionsyouneedtousecp-aoptionstokeepfilepermissionsanduserattributesetc.
CORRECT TEXT
Add admin group and set gid=600
正解:
#groupadd-g600admin
CORRECT TEXT
Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP Forwarding.
1. echo "1" >/proc/sys/net/ipv4/ip_forward
2. vi /etc/sysctl.conf net.ipv4.ip_forward=1
正解:
/procisthevirtualfilesystemcontainingtheinformationabouttherunningkernel.Tochangetheparameterofrunningkernelyoushouldmodifyon/proc.FromNextrebootthesystemkernelwilltakethevaluefrom/etc/sysctl.conf.
CORRECT TEXT
Search a String
Find out all the columns that contains the string seismic within /usr/share/dict/words, then copy all these columns to /root/lines.tx in original order, there is no blank line, all columns must be the accurate copy of the original columns.
正解:
grepseismic/usr/share/dict/words>/root/lines.txt
CORRECT TEXT
Create a user named alex, and the user id should be 1234, and the password should be alex111.
正解:
#useradd-u1234alex
#passwdalexalex111alex111ORechoalex111|passwd-stdinalex