Linux commands: Difference between revisions

Jump to navigation Jump to search
10 bytes added ,  3 November 2014
m
Line 107: Line 107:
* {{Win}}: {{kbd | key= echo %cd%}} (current directory) <ref>[http://stackoverflow.com/questions/921741/windows-equivilent-to-unix-pwd Windows equivilent to UNIX pwd - Stack Overflow]</ref>
* {{Win}}: {{kbd | key= echo %cd%}} (current directory) <ref>[http://stackoverflow.com/questions/921741/windows-equivilent-to-unix-pwd Windows equivilent to UNIX pwd - Stack Overflow]</ref>


=== switch to my home directory ===
=== change directory to my home directory ===
* {{kbd | key= cd ~/}} or {{kbd | key= cd $HOME}}  ({{Linux}}) will switch to my home directory ex: /Users/ACCOUNT<ref>[http://superuser.com/questions/271925/where-is-the-home-environment-variable-set linux - Where is the $HOME environment variable set? - Super User]</ref>
* {{kbd | key= cd ~/}} or {{kbd | key= cd $HOME}}  ({{Linux}}) will switch to my home directory ex: /Users/ACCOUNT<ref>[http://superuser.com/questions/271925/where-is-the-home-environment-variable-set linux - Where is the $HOME environment variable set? - Super User]</ref>
* {{kbd | key= cd %UserProfile%}} ({{Win}}) will switch to my home directory ex: C:\Users\ACCOUNT more on [[MS_Windows_Explorer]]<ref>[http://weka.wikispaces.com/Where+is+my+home+directory+located%3F weka - Where is my home directory located?]</ref>
* {{kbd | key= cd %UserProfile%}} ({{Win}}) will switch to my home directory ex: C:\Users\ACCOUNT more on [[MS_Windows_Explorer]]<ref>[http://weka.wikispaces.com/Where+is+my+home+directory+located%3F weka - Where is my home directory located?]</ref>

Navigation menu