D-PST-MN-A-24 practice question 13 of 15
A Storage Administrator ran a PSTCLI command on a Linux host. The error " -bash: pstcli: command not found" appears. How is the problem resolved?
Full set: 61 questionsThe error message -bash: pstcli: command not found is a standard Linux shell error indicating that the pstcli executable cannot be found in any of the directories specified in the PATH environment variable. The correct and standard procedure to resolve this is to modify the PATH variable to include the directory where the pstcli binary is located. This is typically done by adding an export PATH command to a shell initialization file (e.g., ~/.bashrc or ~/.bashprofile), ensuring the command is available in future shell sessions.
A. PSTCLI.sh is not a standard shell initialization file for environment configuration; modifying it is improper and may not be persistent.
B. The error does not imply a corrupted or failed installation, but rather a shell configuration issue. Reinstalling the software is unnecessary.
C. This describes a choice made during the installation process, not a method to resolve a pathing issue for an existing installation.
1. Dell PowerStore Command Line Interface 3.0 User Guide
Page 11
"Install the PowerStore CLI on Linux"
Step 5.
The document explicitly states: "To run the pstcli commands from any directory
add the installation path to the PATH environment variable. For example: export PATH=$PATH:/opt/dellemc/pstcli/bin". This directly supports the correct answer (D) as the official procedure.
2. Sobell
M. G.
& Helmke
M. (2018). A Practical Guide to Linux Commands
Editors
and Shell Programming. Pearson Education. Chapter 4
"The Shell".
This academic-level text explains that a "command not found" error occurs when the shell searches the directories in the PATH variable and fails to find a matching executable. It confirms that the solution is to add the command's directory to the PATH.
Keep practicing
Take the free D-PST-MN-A-24 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other D-PST-MN-A-24 practice questions
- Question 2What is the alert severity if the license expiration date is within a week?
- Question 3Which component is an FRU?
- Question 4How is a defective embedded module displayed in Dell EMC PowerStore Manager?
- Question 5While on-site troubleshooting a Dell EMC PowerStore system, the node B embedded module fa…
- Question 6Which network traffic is encrypted using IPsec?
- Question 7Which reference source provides service information and FRU procedures for Dell EMC Power…
