Close Menu
Home
Questions
Facebook
X (Twitter)
Instagram
Home
Debian
Ubuntu
CentOS
Commands
Questions
DWQA Questions
Consider the following value of PATH variable: /bin:/usr/local/sbin:/home/joe/bin:/home/joe/test Joe modifies the my_scr.sh script, which is stored in the directory /home/joe/bin then places a copy of my_scr.sh in /home/joe/test. Executing my_scr.sh will:
Linux Questions asked 1 year ago
•
Introduction to Linux II
The command PATH=$PATH:/home/John does the following:
Linux Questions asked 1 year ago
•
Introduction to Linux II
Which of the following is NOT a valid option for executing a command that is not in the directories listed in the PATH variable?
Linux Questions asked 1 year ago
•
Introduction to Linux II
Which command can be used to delete a variable?
Linux Questions asked 1 year ago
•
Introduction to Linux II
A variable once declared cannot be deleted. True or False?
Linux Questions asked 1 year ago
•
Introduction to Linux II
Which command can be used to display both local and environment variables?
Linux Questions asked 1 year ago
•
Introduction to Linux II
The _ command is used to display the value of a specific variable.
Linux Questions asked 1 year ago
•
Introduction to Linux II
Which of the following is NOT a valid command for variable declaration?
Linux Questions asked 1 year ago
•
Introduction to Linux II
A new environment variable can be “exported” and assigned a value with a single command. True or False?
Linux Questions asked 1 year ago
•
Introduction to Linux II
Which of the following is NOT a valid variable name?
Linux Questions asked 1 year ago
•
Introduction to Linux II
Shell variables are case insensitive. True or False?
Linux Questions asked 1 year ago
•
Introduction to Linux II
Which of the following is a valid variable assignment?
Linux Questions asked 1 year ago
•
Introduction to Linux II
Command substitution can be used to insert the output of a command as another command’s argument. True or False?
Linux Questions asked 1 year ago
•
Introduction to Linux II
A user wants to execute a script called test1_script. What type of permission does she need on the test1_script file?
Linux Questions asked 1 year ago
•
Introduction to Linux II
The statement if [ -d file ] will be true, if the file:
Linux Questions asked 1 year ago
•
Introduction to Linux II
Submit
Type above and press
Enter
to search. Press
Esc
to cancel.