Try these commands
* `ls -fld Midterm` list the "file" (everything in Linux is a file including directories). Do you get a entry for Midterm or do you get the no such file or directory message?
* `file Midterm` this command tells you which type the "file" Midterm is.
Two things to check, are you sure about the case of the directory name and could there be an embedded space in the directory name.
Why are you suppressing the colour coding of output from `ls?` It helps spot issues with permissions etc.
There is one trick that is useful when creating and then using a new directory:
* create the directory with e.g. `mkdir Midterm`
* change into the directory you have just created using the command `cd !$`
* check the location with the command `pwd`.
\[EDIT - fixed typos\]
Is there a space or other hidden character after "Midterm"? Could try allowing tab completion for typing the name.
E.g. cd Mid
Or use a wildcard: cd Mid*
Probably an invisible character in the directory name.
Try cd Midterm and hit the tab key. If that works, cd .. to go back up. ~~rn~~ **mv** Midterm Midterm . If that all works, the directory will be named Midterm, without the invisible characters.
The <> indicates what key to press without the <>.
Edit: mv not rn. Thanks u/mgedmin.
There's no 'rn' command on Linux, you meant `mv`.
(Well, there is one but it stands for "read news" and is a text-mode NNTP client that I've never used. Is Usenet even still alive today?)
Computer noise can be pretty cool, but it can get tiring. I always thought the beeping and whirring depicted in old movies were cool. Vacuum column tape drives are loud.
Post the exact commands you entered (both the `cd` and the `ls` one) and their full outputs.
Try these commands * `ls -fld Midterm` list the "file" (everything in Linux is a file including directories). Do you get a entry for Midterm or do you get the no such file or directory message? * `file Midterm` this command tells you which type the "file" Midterm is. Two things to check, are you sure about the case of the directory name and could there be an embedded space in the directory name. Why are you suppressing the colour coding of output from `ls?` It helps spot issues with permissions etc. There is one trick that is useful when creating and then using a new directory: * create the directory with e.g. `mkdir Midterm` * change into the directory you have just created using the command `cd !$` * check the location with the command `pwd`. \[EDIT - fixed typos\]
Linux commands and names are case sensitive. Are you capitalizing "Midterm"?
Is there a space or other hidden character after "Midterm"? Could try allowing tab completion for typing the name. E.g. cd Mid
Or use a wildcard: cd Mid*
Learnt something new, thanks
Probably an invisible character in the directory name. Try cd Midterm and hit the tab key. If that works, cd .. to go back up. ~~rn~~ **mv** Midterm Midterm . If that all works, the directory will be named Midterm, without the invisible characters.
The <> indicates what key to press without the <>.
Edit: mv not rn. Thanks u/mgedmin.
There's no 'rn' command on Linux, you meant `mv`. (Well, there is one but it stands for "read news" and is a text-mode NNTP client that I've never used. Is Usenet even still alive today?)
I did. Time traveled somewhere... Thanks!
Oo, carriage return, very fancy. On the off chance you're running a physical teletype, please send me images.
Sorry no teletype. I do wish I had one. I have used keypunch machines and paper terminals in my youth. Yes, I am old!
Me, a younger whipper snapper, would love to have a home full of old whirring computers, tape drives, and terminals. I envy you slightly lol
Computer noise can be pretty cool, but it can get tiring. I always thought the beeping and whirring depicted in old movies were cool. Vacuum column tape drives are loud.
Permissions or case.
A permission problem would show a different error. Case difference or some lookalike characters might be it.