Multiple Choice
An administrator is reviewing updates in the master online Git repository and notices a file named .htaccess . The file contains passwords and should only be in the administrator's local repository, not the online one. Which of the following would prevent this file from appearing online in the future?
A) git commit -m "File Update" -x .htaccess
B) sed -i 's/#Preserve Hidden=True/Preserve Hidden=True/g' .git/config
C) chown nobody:nodoby .htaccess
D) echo ".htaccess" >> .gitignore
Correct Answer:

Verified
Correct Answer:
Verified
Q154: A systems administrator is receiving errors while
Q155: A systems administrator needs to connect to
Q156: A Linux administrator needs the "tech" account
Q157: A systems administrator wants to download a
Q158: A junior systems administrator is configuring localization
Q160: Which of the following configuration files should
Q161: A Linux administrator needs to switch from
Q162: An administrator needs to mount the shared
Q163: A user needs to modify the IP
Q164: Which of the following are Linux desktop