Chapter 6 (Web site traffic) . Study Guide 273 16. D.
Monday, October 22nd, 2007Chapter 6 . Study Guide 273 16. D. Permissions on files and directories is changed using the chmodcommand. The chown command is used to change ownership while the chgrpcommand changes the group assigned to the files or directories. The chpermcommand is invalid. See the User and group permissions section for more information. 17. A. The sticky bit value is (1) while the SUID value is 4 and SGID value is 2. See the SUID and SGID and Sticky bit sections for more information. 18. tar czf ang_home.tar.gz /home/angie. The tar command is used with the c option to create a new archive and the zoption specifies that the archive is compressed using the gzip utility. The f option specifies that the archive should be created as the specified file. Utilizing the absolute path ensures that all data within that directory is included in the archive. See the tar section for more information. 19. B. Quotas for specific users are viewed with the quotacommand. The repquota command will provide a report of quota usage for all users. The edquota command is used to edit quotas, and quotaonis used to enable quotas on the system. See the Managing quotas section for more information. 20. C. File systems utilizing quotas are configured in the /etc/fstab file. See the quotaon and quotaoff section for more information. Scenarios 1. which ls The which command uses the ls command as an argument. It locates the ls command that would run at the command line and displays the full path to that command. This allows you to verify that the command being executed is in the correct location. 2. /bin/ls If the results from the first scenario aren t what you expect, then you can specify the absolute path to the lscommand. This ensures that only the ls command at the specified location, in this case the /bin directory, is executed.
We recommend high quality webhost to host and run your jsp application: christian web host services.