exercises:2015_uzh_molsim:bash_terminal
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
exercises:2015_uzh_molsim:bash_terminal [2015/04/23 12:20] – external edit 127.0.0.1 | exercises:2015_uzh_molsim:bash_terminal [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== The bash terminal | + | ====== The bash terminal====== |
Many tasks in the following weeks will need to be performed on the terminal (or ' | Many tasks in the following weeks will need to be performed on the terminal (or ' | ||
- | Hit '' | + | <note tip> |
- | <note tip>In order to keep the terminal in the dock also after you close it, right click on the symbol and select ' | + | If you use Mac OS X: |
+ | In order to keep the terminal in the dock also after you close it, right click on the symbol and select ' | ||
</ | </ | ||
- | Let' | + | |
+ | Let' | ||
<code bash> | <code bash> | ||
ls # get list of files in the current directory | ls # get list of files in the current directory | ||
Line 14: | Line 16: | ||
cd .. # go up one directory | cd .. # go up one directory | ||
pwd # print path to the current working directory | pwd # print path to the current working directory | ||
- | open . # opens current directory in Finder | + | open . # opens current directory in Finder |
</ | </ | ||
Line 21: | Line 23: | ||
<code bash> | <code bash> | ||
cd # change into your home directory | cd # change into your home directory | ||
- | cp ~c329s00/ | + | cp ~student10/.bashrc |
- | cd molsim | + | cd intro |
- | cp -r ~c329s00/ | + | |
</ | </ | ||
Line 32: | Line 33: | ||
<code bash> | <code bash> | ||
- | open myfile | + | nano myfile |
- | open -t myfile | + | vim myfile |
- | vim myfile | + | |
</ | </ | ||
- | In order to take a screen shot, hit '' | + | (on Mac OS X): In order to take a screen shot, hit '' |
exercises/2015_uzh_molsim/bash_terminal.1429791640.txt.gz · Last modified: 2020/08/21 10:15 (external edit)