So I´m learning some short commands, like mkdir, rm, cd, cp and they are not working in my terminal window at the moment. The only one that seems to be working is ctrl l as in taking away text
These are examples of what is happening:
When i try mkdir:
/ $
/ $ mkdir switches
mkdir: cannot create directory ‘switches’: Permission denied
/ $ mkdir switches/
mkdir: cannot create directory ‘switches/’: Permission denied
/ $
when I write pwd nothing comes up:
/ $ pwd
/
/ $
when i try cd:
/ $ cd meow
bash: cd: meow: No such file or directory
/ $
when i try cp
/ $ cp meow.c mjau.c
cp: cannot stat 'meow.c': No such file or directory
/ $
cd
andcp
commands, are you sure you are in the correct directory? Because terminal commands vary by system, are you in a Linux or Mac terminal (I assume you are not in a Windows shell as some of these are not Command Prompt or PowerShell commands)?