meta data for this page
  •  

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
general:computerenvironment:openterminal [2019/10/01 14:13] – [Linux] ingogeneral:computerenvironment:openterminal [2024/04/15 10:57] (current) – [Linux] freya
Line 1: Line 1:
-====== The Linux Shell ====== 
-In this course we will make heavy use of the terminal (a.k.a shell). With its help, we can interact with the computer via the command line. Whenever we give you some piece of code in grey shaded boxes,  
-<code> 
-$ whoami 
-</code> 
-you can execute the corresponding commands in the shell. Note, the '<color blue>$</color>' sign represents the prompt in your shell((This is the bit of text that is written next to your cursor)). Please **do not** copy it, when trying to copy-past commands from the DokuWiki to the shell. Depending on your settings, this prompt can look different, but typically it includes your user name, the name of the computer you are working with, and the directory you are currently located in. 
- 
 ===== Opening a shell ===== ===== Opening a shell =====
  
Line 12: Line 5:
 ===== Linux ===== ===== Linux =====
  
-Linux is installed on the course computers. Just right click on the screen and a pop-up window will appear.+If you are working on a linux box and you have [[wp>X_Window_System|X window]] support((Not when you are connecting to a remote computer via //ssh//, then you don't have to worry about opening a shell because you already in it)), right click on the screen and a pop-up window will appear.
  
 <figure> <figure>
 {{general:images:computerenvironment:open-terminal.png?400 |}} {{general:images:computerenvironment:open-terminal.png?400 |}}
-<caption><fs 0.8em>The desktop of a typical Ubuntu Linux distribution</fs></caption>+<caption><fs 0.9em>The desktop of a typical Ubuntu Linux distribution</fs></caption>
 </figure> </figure>
  
Line 23: Line 16:
 <figure> <figure>
  
-{{:general:images:diverse:shell.png?400 |}} +{{:general:images:computerenvironment:terminal.png?400|}} 
-<caption><fs 0.8em>A Linux terminal+<caption><fs 0.9em>A Linux terminal
 </fs></caption></figure> </fs></caption></figure>
  
 +
 +If that doesn't work, simply open the "Activities" menu by either clicking on the text in the upper left corner or by hitting the "Windows" key. Then, type 'terminal' and click on "Terminal" or "Terminator".  
  
 ===== Mac OS ===== ===== Mac OS =====
Line 35: Line 30:
 <figure> <figure>
 {{general:images:computerenvironment:terminal-mac.png?400|}} {{general:images:computerenvironment:terminal-mac.png?400|}}
 +<caption><fs 0.8 em>Opening the terminal application in Mac OS</fs></caption>
 </figure> </figure>
 +
 +Once you have started the terminal something like the following will appear
 +<figure>
 +{{:general:images:diverse:shell.png?400|}}
 +<caption><fs 0.8 em>The terminal in Mac OS</fs></caption>
 +</figure>
 +
 +===== Windows =====
 +Most Windows operating systems don't ship with a terminal application. We suggest to install [[https://mobaxterm.mobatek.net/|MobaXterm]].
 +
 +After downloading the installer, double-click it and click through the installation process.
 +
 +Once you have started MobaXterm, you can start an emulated BASH shell by clicking on "Start local terminal" on the welcome screen (Figure {{ref>mobax}}).
 +
 +<figure mobax>
 +{{ :general:computerenvironment:mobaxterm.png?600 |}}
 +<caption>
 +**Starting a local session with MobaXterm opens a BASH-like terminal.**
 +</caption>
 +</figure>
 +
 +<WRAP tabs>
 +   * [[general:computerenvironment|Computer Environment]]
 +</WRAP>