New to command line

cp biopic/ray.txt biopic/notorious.txt historical/

How to navigate to drama/biopic directory
cd drama/biopic/
cd drama/2015/ bash: cd: drama/2015/: No such file or directory ls drama/directory
ls: cannot access drama/directory: No such file or directory
cp biopic/cleopatra.txt historical/ cp: cannot stat ‘biopic/cleopatra.txt’: No such file or directory cd drama/historical/
bash: cd: drama/historical/: No such file or directory
cd historical/ bash: cd: historical/: No such file or directory cd drama/historical/
bash: cd: drama/historical/: No such file or directory
cd drama/ bash: cd: drama/: No such file or directory cd drama

Same as in a graphical file explorer, you may want to look at what directories there are before moving into one of them. Typing in a path that doesn’t exist results in you getting told so.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.