I did a little research on where personal files should be stored on Linux PCs, servers, or Ubuntu, and I’m sharing it. Personal files can be various things like scripts, programs, document files, videos, images, etc., but where should such files be stored?
/home/
seems to be the right place.
e.g. /home/data/
In my case, I do it this way. The “/home” root directory tends to get messy. When you install various programs with apt and such, directories, dot directories, and dot files accumulate. Even from the beginning, there are files like “.bashrc” and “.bash_profile” making things somewhat cluttered, so doing it this way might be a best practice.
directory - Where should I keep my personal files while keeping the pathname short? - Ask Ubuntu