[Bug] cd command not working

This is an error report.


Screenshot of the error


Error details

The provided cd command given in this course does not function

Hi, thanks for reporting this. From the screenshot, the cd command actually appears to be working correctly.

After running:

cd /home/user/catkin_ws/src/linux_course_files/move_bb8_pkg/src/

the prompt changes to:

user:~/catkin_ws/src/linux_course_files/move_bb8_pkg/src$

This indicates that the current working directory was successfully updated, which is exactly what cd is supposed to do. Unlike some commands, cd does not display a success message when it runs correctly—it simply changes the prompt to reflect the new location.

So in this case, the command is functioning as expected.

1 Like