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

exercises:2015_uzh_molsim:bash_terminal [2015/05/04 22:26]
yakutovich
exercises:2015_uzh_molsim:bash_terminal [2020/08/21 10:15]
Line 1: Line 1:
-====== The bash terminal====== 
  
-Many tasks in the following weeks will need to be performed on the terminal (or 'command line'). 
- 
-<note tip> 
-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 'Options' -> 'keep in dock'. 
-</note> 
- 
- 
-Let's start with a list of useful commands -- just type them into the command line and confirm with ''RETURN''. 
-<code bash> 
-ls             # get list of files in the current directory 
-mkdir molsim   # make directory 'molsim' 
-cd molsim      # change into directory 'molsim' 
-cd ..          # go up one directory 
-pwd            # print path to the current working directory 
-open .         # opens current directory in Finder (Mac OS X) 
-</code> 
- 
-Now it is time to copy some files from the teacher account. 
- 
-<code bash> 
-cd                                    # change into your home directory 
-cp ~student10/.bashrc .               # copy course-specific system settings 
-cd intro                              # change into directory 'intro' 
-</code> 
- 
-After this, please close and reopen your terminal in order to activate the course-specific  
-settings you copied. 
- 
-We are now ready to get started. Below you find some additional commands that will come in handy later. 
- 
-<code bash> 
-nano myfile     # opens 'myfile' in nano (an 'easy' command line text editor) 
-vim myfile      # opens 'myfile' in vim (less intuitive but more powerful command line text editor) 
-</code> 
- 
-(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 (external edit)