After creating a shell script and assigning execute permissions, how do you define its stored location and why must you do this?

What will be an ideal response?


After creating a shell script and assigning execute permissions, you must enter the absolute or relative path to where it's stored to run it. For example, to run a script called scr1 that's stored in you current directory, you use the command ./scr1. The reason you can't simply type the script name to run it is that when you run a program in this manner, the kernel looks in the directory paths defined by the PATH variable.

Computer Science & Information Technology

You might also like to view...

m++; is equivalent to

a. m = m + 1; b. m = m - 1; c. m = 1 - m; d. m + m;

Computer Science & Information Technology

Emily, a professor, uses Microsoft Access 2016 to manage student information. She refines queries to display selected records and enters criteria using operators to filter the records and display required information. Emily wants to retrieve records of students who are from China, Italy, and Mexico. Which of the following operators should Emily use for this purpose?

A. ?In () B. ?Between … C. ?= D. ?<>

Computer Science & Information Technology

Any version of Windows 7 can be a Remote Desktop client

Indicate whether the statement is true or false

Computer Science & Information Technology

?A _____ is a data validation rule that identifies values that are questionable, but not necessarily wrong.

A. ?sequence check B. ?range check C. ?validity check D. ?reasonableness check

Computer Science & Information Technology