Open main menu

CDOT Wiki β

Changes

ULI101 Week 3

67 bytes added, 21:30, 4 September 2019
no edit summary
<li><p>Not all relative pathnames begin with <code>..</code></p></li>
<li><p>When using relative pathname, make sure you know your present working directory.</p>
<source lang="bash"># Change pwd to another directory branch from ipc144 (.. means parent directory: of pwd)cd../ipc144
# copy file sample.c file (location is relative to parent of pwd) # from joe.professordoe's home directory to your current directory:pwd (. means pwd)cp ../joe.professor/uli101doe/sample.c .
</source></li></ol>
* Prevent shell variable substitution
* Stop escape characters interpretation
 
[[Category:ULI101]]
[[Category:ULI101-2018]]