korshad
January 27, 2022, 9:20pm
#1
Hi !
I am stuck https://www.codecademy.com/courses/learn-the-command-line/lessons/command-line-manipulation/exercises/cp-part-i-command-line-manipulation
I try to copy
cp cleoptatra.txt historica/
but keep getting
cannot create regular file ‘historical/’: Not a directory
I cannot go on to next can anyone help?
mtf
January 27, 2022, 9:52pm
#2
Check the hint. The file is in the biopic directory of the drama directory which should be you present working directory.
korshad
January 28, 2022, 8:21pm
#3
Thanks, but I refreshed the task and it went through I just dont know why in the begining it didnt went through
1 Like
mtf
January 28, 2022, 9:16pm
#4
Could be any number of reasons. Remember to check your working directory
? pwd
and
? ls
before entering a command so you get a lay of the land, and can confirm files are where you expect them.
system
closed
March 11, 2022, 1:17pm
#5
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.