Difference between revisions of "Linux1"

From SourceWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
=Introduction=
 
=Introduction=
 +
Linux or GNU/Linux is an operating system, i.e. the middle man between you and the computer hardware. Therefore Linux is a full replacement for Microsoft Windows or Mac OS X. Linux comes with a range of graphical user interfaces where you can use the mouse to interact with the computer as you are used to. However, in most setup within the University (and particularly for the HPC facilities), you will not have access to this graphical user interface. Instead, you will be using Linux at the command line. Therefore this practical introduces some fundamentals commands so that you can carry out your research in a Linux based environment.
  
Linux or GNU/Linux is an operating system, i.e. the midle mand between you and the computer hardware. Therefore Linux is a full replacement for Microsoft Windows or mac OS X.
+
The user interface on a computer is technically called a [http://en.wikipedia.org/wiki/Shell_(computing) shell]. When using Linux at the command line, most often the [http://en.wikipedia.org/wiki/Bash <tt>bash</tt> shell] is used. There are a range of shells for Linux with slightly different syntaxes. The <tt>bash</tt> shell is often the default and we will use <tt>bash</tt> syntax in this practical.
  
 
=Logging in=
 
=Logging in=

Revision as of 11:01, 1 February 2008


Introduction

Linux or GNU/Linux is an operating system, i.e. the middle man between you and the computer hardware. Therefore Linux is a full replacement for Microsoft Windows or Mac OS X. Linux comes with a range of graphical user interfaces where you can use the mouse to interact with the computer as you are used to. However, in most setup within the University (and particularly for the HPC facilities), you will not have access to this graphical user interface. Instead, you will be using Linux at the command line. Therefore this practical introduces some fundamentals commands so that you can carry out your research in a Linux based environment.

The user interface on a computer is technically called a shell. When using Linux at the command line, most often the bash shell is used. There are a range of shells for Linux with slightly different syntaxes. The bash shell is often the default and we will use bash syntax in this practical.

Logging in

Getting the content for this practical

The necessary files for this practical are hosted in a version control system. To obtain them, just type the following command:

svn export http://source.ggy.bris.ac.uk/subversion-open/intro-to-linux/trunk intro-to-linux

This will fetch all necessary files and put them in a folder called intro-to-linux/.

Navigation

To change directories, the command cd is used. It stands for ... "change directory" (!) To navigate to the directory folder containing the file, type:

cd intro-to-linux


Creating/deleting/modifying