User Tools

Site Tools


exercises:2015_uzh_molsim:bash_terminal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
exercises:2015_uzh_molsim:bash_terminal [2015/05/04 12:15] yakutovichexercises:2015_uzh_molsim:bash_terminal [2015/05/04 22:26] yakutovich
Line 5: Line 5:
 <note tip> <note tip>
 If you use Mac OS X: If you use Mac OS X:
-  - Hit ''CMD'' + ''SPACE'' to open the search window, enter 'terminal' and hit ''RETURN''. 
-  - ssh -X studentXX@tcopt3.chem.uzh.ch 
- 
 In order to keep the terminal in the dock also after you close it, right click on the symbol and select 'Options' -> 'keep in dock'. In order to keep the terminal in the dock also after you close it, right click on the symbol and select 'Options' -> 'keep in dock'.
 </note> </note>
  
-<note tip> 
-If you use Windows: 
-  - Run PuTTY 
-  - In "Host  
  
-Let'continue with a list of useful commands -- just type them into the command line and confirm with ''RETURN''.+Let'start with a list of useful commands -- just type them into the command line and confirm with ''RETURN''.
 <code bash> <code bash>
 ls             # get list of files in the current directory ls             # get list of files in the current directory
Line 23: 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 (Mac OS X)
 </code> </code>
  
Line 30: Line 23:
 <code bash> <code bash>
 cd                                    # change into your home directory cd                                    # change into your home directory
-cp ~c329s00/exercises/.bash_profile . # copy course-specific system settings +cp ~student10/.bashrc               # copy course-specific system settings 
-cd molsim                             # change into directory 'molsim' +cd intro                              # change into directory 'intro'
-cp -r ~c329s00/exercises/intro .      # copy directory 'intro' from teacher account+
 </code> </code>
  
Line 41: Line 33:
  
 <code bash> <code bash>
-open myfile     # opens 'myfile' with default program +nano myfile     # opens 'myfile' in nano (an 'easycommand line text editor) 
-open -t myfile  # opens 'myfilein text editor +vim myfile      # opens 'myfile' in vim (less intuitive but more powerful command line text editor)
-vim myfile      # opens 'myfile' in vim (powerful command line text editor)+
 </code> </code>
  
-In order to take a screen shot, hit ''CMD''+ ''SHIFT'' + ''4''.+(on Mac OS X): In order to take a screen shot, hit ''CMD''+ ''SHIFT'' + ''4''.
exercises/2015_uzh_molsim/bash_terminal.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1