2024-08-09, 06:57 AM
(This post was last modified: 2024-08-09, 07:00 AM by tepsys. Edited 2 times in total.)
"/" indicates the "root" of your filesystem, so
is creating folders at the very root of your filesystem, not within any other folder.
Also, I notice from your prompt you are running as ROOT user! I would highly recommend creating a regular user and giving that user admin privileges. You risk breaking your system very easily running as root
Edit:
If you are in the directory in which you want to create another directory, just remove the leading slash, e.g.
Code:
mkdir /movies
is creating folders at the very root of your filesystem, not within any other folder.
Also, I notice from your prompt you are running as ROOT user! I would highly recommend creating a regular user and giving that user admin privileges. You risk breaking your system very easily running as root
Edit:
If you are in the directory in which you want to create another directory, just remove the leading slash, e.g.
Code:
mkdir Movies