0

I'm new to Linux environment, I've installed Ubuntu 20.04 on ssd and placed /home dir on another partition on hdd. It's ok with data like documents, films, photos and so on. But I want to keep my work files (code) and things like yarn or npm caches on ssd for obvious reasons (read/write speeds).

The question is: where can I store this files outside the /home dir and have comfortable access to this files, I mean in order to not write each time in terminal something like /usr/local/projects?

1 Answers1

0

I assume your / partition is on SSD and /home partition is on HDD? Then just create some new directory under /, for example /workdata and change ownership of that directory to your user account. Then you can keep anything you want in /workdata. For convenience, you may create a symbolic link to this directory within your /home directory.

raj
  • 11,409