Learn Bash by Building a Boilerplate - Build a Boilerplate

Tell us what’s happening:

My test case is not passing despite typing in the exact same code ,my problem statemnet reads"Umm, first I think you should move them back to the website folder. Move header.png back to the website folder. The destination for the file is … " .And the code that I am entering is mv header.png …

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn Bash by Building a Boilerplate - Build a Boilerplate

Are you literally typing that as

mv header.png ...

If that’s the case the three dots is a place holder (stands for) something else you have to type (a destination)

Actually, the command the validation is looking for is

mv header.png ..

With two dots. The two dots is an alias for the parent directory (the destination). In order to work you must be then in a specific directory. In this case, /workspace/project/website/images
If you are not, issue first

cd /workspace/project/website/images

All this I am writing about is an educated guess on my part. I am guessing based on what you posted.

I am sorry for the misunderstanding, I am using TWO dots only, the last one was supposed to be a full stop while writing my query

1 Like

Are you in the correct directory when you issue the command?
What’s the output of pwd?
What does ls -l output?
I am asking these questions to you to determine if this is a user error or a bug in the environment.

ls -l output show background.jpg ,footer and header.png . The directory I am in is images.
I wanted to attatch a screenshot here but I seem have lost my progress as soon as i changed tabs

You appear to be in the right directory based on the output.
Tell us some more details about what you mean here

How do you know that you lost your progress? What’s the behavior you experience?
Yeah, a snapshot would show something to us in this case.

by losing progress I mean this


the problem statement is resuming from where it is supposed to but my entire workspace is cleaned

Thank you very much for the snapshot. It shows that you are in the directory project and in this instance you need to be two more directories down, in website/images.
Every time you open a new terminal, it is going to place you in the directory project
Try, first

cd /workspace/project/website/images

Try the command ls or ls -la in that folder to see what’s there.

Also there is a sync error in the “Problems” tab there. Try this to fix it: