Open main menu

CDOT Wiki β

Changes

ULI101 Week 3

2 bytes added, 15:53, 31 August 2017
Relative-to-Home Pathnames
= Relative-to-Home Pathnames =
=== You can specify a pathname as relative-to-home by using a tilde and slash at the start, e.g. <code>~/uli101/notes.html</code> === === . The tilde ~ is replaced by your home directory (typically ''home/your.account'') to make the pathname absolute. === === You can immediately place a username after the tilde to represent another user’s home directory, for example: ===
* <code>~jane.somebody</code> expands to <code>/home/jane.somebody</code> but <code>~</code> expands to <code>/home/your_home_dir</code>
$ echo \*
</source>
* To quote a <code>\</code> another <code>\\</code> is used, this means <code>\\</code>
== ' ' Quotes ==
221
edits