fstab

Directory hard links in Linux

Directory hard links in Linux are forbidden. To emulate something similar, you can mount any file system path into any other directory. However, you need to be careful because you can get the same problems as with directory hard links, namely circular and thus infinite file paths...
sudo mount --bind /home/user/Documents/Desktop/ /home/user/Desktop/
Such a link disappears after a reboot. If you want to make it permanent, you can add the mount to /etc/fstab:
/home/user/Documents/Desktop/ /home/user/Desktop none bind

Mounting group directories via the fstab

At the University of Helsinki, one can apply for group directories, which is simply disk space on a NAS. These are easily mounted when you use a university-managed computer via the university menu, but what about if you use your own machine? At least for Ubuntu Linux, the way to mount these directories has changed multiple times during the years and it again broke recently. The current entry in the /etc/fstab file in my (Vanilla, non-university-managed) Ubuntu 16.04 is as follows:

# HY group directories

Mount Samba shares (why doesn't Nautilus work?) and making smb mounts permanent

Mount Samba shares
Apparently it is very easy to connectfrom within Nautilus to Windows computers (or rather to computers running smb services). The only thing you have to do is to type smb:/// into the URL bar and the network is browsed for available domains, workgroups and services. However when one tries to open some files (e.g. some image) there often appears the error message that those files cannot be accessed via samba.

Pages