13,420
edits
Changes
→Relative-to-home Pathnames
You can specify a pathname as relative-to-home by using a tilde and slash at the start, e.g. '''~/uli101/notes.html'''
The tilde character '''~ '''' is replaced by your home directory (typically '''/home/current-user-id''') to make the pathname absolute.
You can immediately place a username after the tilde to represent another user’s home directory. For example:'''~jane = /home/jane'''