Changes

Jump to: navigation, search
Relative-to-home Pathnames
<table align="right"><tr><td>[[Image:relative-to-home-1.png|thumb|right|250px|Directories in red display the path from the home directory of the current user (which is '''userid''') to the '''examples''' directory (i.e. the relative-to-home pathname: '''~/uli101/examples'''.]]</td><td>[[Image:relative-to-home-2.png|thumb|right|250px|Directories in red display the path from another user's home directory location to their '''notes''' directory (i.e. the relative-to-home pathname: '''~jane/uli101/notes''']]</td></tr></table>
You can specify a pathname as relative-to-home by using a tilde and possibly a slash at the beginning of the pathname<br><br>The '''tilde ''' character ~' is replaced by your home directory (typically /home/current-user-id)<br><br>You can immediately place a username after the tilde to represent another user’s home directory (for example: '''~jane = /home/jane''')
Examples:<br><span style="color:blue;font-family:courier">~/uli101/practice<br>~murray.saul/uli101/tutorials<br>~uli101/assign1</span>
13,420
edits

Navigation menu