Tell us what’s happening:
i have just started the coderoad tutorial and when im asked to do something like list the contents of a file(ls src) the command will go through but instead of listing the contents it gives me this feedback: (ls: cannot access ‘src’: No such file or directory). i have no idea why the contents of the file are missing but its doing this for every directory i list.
Your code so far
camper: /has$ ls has
ls: cannot access ‘has’: No such file or directory
camper: /has$ IdentifyFile has
bash: IdentifyFile: command not found
camper: /has$ ls has\
c
ls: cannot access ‘hasc’: No such file or directory
camper: /has$ ls has
ls: cannot access ‘has’: No such file or directory
camper: /has$ cw src
bash: cw: command not found
camper: /has$ list src
bash: list: command not found
camper: /has$ cd serc
bash: cd: serc: No such file or directory
camper: /has$ ls src
index.js
camper: /has$ cd src
camper: /src$ list -l src
bash: list: command not found
camper: /src$ ls -l src
ls: cannot access ‘src’: No such file or directory
camper: /src$ pwd src
/workspace/project/freeCodeCamp/node_modules/has/src
camper: /src$ ls src
ls: cannot access ‘src’: No such file or directory
camper: /src$ more
more: bad usage
Try ‘more --help’ for more information.
camper: /src$ more src
more: cannot open src: No such file or directory
camper: /src$
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn Bash by Building a Boilerplate - Build a Boilerplate