ramfs or tmpfs without root ? Use /dev/shm

Sometimes you need to use RAM as a filesystem, tmpfs can be used to mount such a filesystem. But in general, your Linux distribution should already mount a tmpfs on /dev/shm. $ mkdir /dev/shm/mydata $ ln -s /dev/shm/mydata ~/mydata $ echo 'Some data' > ~/mydata/sample.txt