MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
pwd and echo $HOME will display the same output.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -PWD is a environment variable in bash and other shells, which is updated by the shell on cd. So when you do echo $PWD, shell replaces $PWD as whatever its currently storing. $XYZ means a variable for the shell, and PWD is a varibale which it itself does create, while there is no such $pwd present.

Detailed explanation-2: -PWD stands for “person with a disability” i.e. A person who has long-term physical, mental, intellectual, or sensory impairments that prevent him from participating fully and effectively in society.

Detailed explanation-3: -The pwd command writes to standard output the full path name of your current directory (from the root directory).

Detailed explanation-4: -Explanation: PWD Stand for present working directory.

There is 1 question to complete.