Information Technology > QUESTIONS & ANSWERS > The /etc/localtime has been removed. Which command will change the local system time zone from New Y (All)
QUESTION 1 The /etc/localtime has been removed. Which command will change the local system time zone from New York to Chicago? ln -s /usr/share/zoneinfo/America/chicago /etc/localtime cp /usr/sha... re/zoneinfo/America/Chicago /etc/localtime ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime cp /usr/share/zoneinfo/America/New_York /etc/localtime 1 points QUESTION 2 You are unable to run custom scripts from the current session. The PATH variable is not searching the custom script directory. Which command will you execute to update the PATH directory to contain the /custom/admins/scripts/ and /custom/users/scripts/ directories? export PATH=/custom/admins/scripts:/custom/users/scripts export PATH=$PATH:/custom/admins/scripts export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export PATH=$PATH:/custom/users/scripts 1 points QUESTION 3 You wish to run a few commands with modified environment variables but only for that particular session. No arguments will be used. Which command will you use? alias printenv echo export 1 points QUESTION 4 Asystem_info.sh bash script has been created and includes several commands which return some basic system information. Which command will display information for the host, available disk space, and available memory all at once? hostnamectl df -h free ./system_info.sh 1 points QUESTION 5 Select two operators that can process logical operations in bash scripting. + = AND NOT [Show More]
Last updated: 1 year ago
Preview 1 out of 9 pages
Connected school, study & course
About the document
Uploaded On
Sep 20, 2021
Number of pages
9
Written in
This document has been written for:
Uploaded
Sep 20, 2021
Downloads
0
Views
119
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·