Question: njit instructure.com > Question 5 6.67 pts Assume a Linux instance with the foo program installed at both Yusr/bin/foo and Pusr/local/bin/fon. Given a PATH of

njit instructure.com > Question 5 6.67 pts Assume a Linux instance with the foo program installed at both Yusr/bin/foo and Pusr/local/bin/fon. Given a PATH of /home/user/local/bin:/home/user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin, which for program will be executed when the user runs foo? o /usr/sbin/foo Vusr/bin/foo usr/local/sbin/foo O sr/local/bin/foo Question 6 6.67 pts Given a PATH of home/user/local/bin:/home/user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin, what will the command echo "${PATHS print to the screen? PATH /home/user/local/bin:/homeuser/bin/usr/local/bin:/usr/bin:/usr/local/bin:/usr/sbin) mome/user/local/bin:/home/user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin SIPATIO Question 7 6.67 pts What command is used to print the value of a variable? cat . Is O touch echo Question 8 6,67 pts What command is used to print the contents of a file? echo Is cat touch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
