Next, I changed the directory to /official (not /var/www/html/official) and did ls there and get the next prompt without any listing of any files or sub-directories (review attached Linux_Find_Command_2.jpeg).
When I didn’t find any .js file in /var/www/html/official, I kind of expected that nothing will be copied to /official. This is one of the possible outcomes..
Anyhow, the task was marked failed. Can you please advise of the shortcomings?
Yeah, It’s working. But actual reason is you not found ‘.js’ file in the above directory. Did you try to see manually or ran command like find official/ -name '*.js' -type f.
ls command will only list the current directory files, Have you tried tree command or went inside another directory to inspect “*.js” files? If you did already then wait for the KKE team. They will look into it. But I haven’t seen this kind of case in the past. Files should be there what is mentioned in the question.
@arjitn Hey dude, I had the same task, it has been completed successfully, I can say the task and its environment works fine, I believe you have missed something