Which terminal command is used to navigate to a different directory before running a Python script?
Suggested Answer: C
Get Premium Foundations of Programming (Python) (E010) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The command cd means ''change directory.'' It is used in a terminal to move from one folder to another.
Example:
cd Desktop
After navigating to the correct folder, a Python script can be run with a command such as:
python script.py
Therefore, the correct answer isC. cd.
12 comments · newest first
CE
Ceola
3 days ago
Wait, is it really that simple?
GE
Geraldine
8 days ago
Agreed, cd is the command!
NU
Nu
13 days ago
It's definitely C) cd.
TA
Tandra
18 days ago
Nope, it's not A) or B) for sure!
DO
Dorothea
23 days ago
I thought it was A) move at first.
ED
Edison
29 days ago
Wait, is it really that simple?
CA
Casey
1 month ago
Agreed, that's the command!
LA
Lawrence
1 month ago
It's definitely C) cd.
AS
Ashleigh
1 month ago
I’m pretty confident that "cd" is the correct answer. We definitely covered that in our study group!
MA
Maryann
2 months ago
"goto" seems like it could be a command, but I don't recall using it for navigation in the terminal.
TE
Teri
2 months ago
I remember something about "move," but that doesn't seem right for changing directories.
NO
Noble
2 months ago
I think the command is "cd," but I’m not completely sure. It sounds familiar from the practice questions.