Using the MaRC2 HPC Cluster

Size: px
Start display at page:

Download "Using the MaRC2 HPC Cluster"

Transcription

1 Using the MaRC2 HPC Cluster René Sitt / Manuel Haim, 09/2016

2

3

4

5 Get access rights and permissions Students / Staff account needed Ask your workgroup leader if MaRC2 is already being used he/she must accept the terms of use he/she nominates people who may tell us to grant you access Ask the nominated people at your workgroup to get access For further questions, terms of use etc., send us an marc@hrz.uni-marburg.de

6

7 Starting a terminal session (Linux, Mac) Start your favourite Terminal application Connect to MaRC2 via SSH (Secure Shell) by entering: ssh ssh -p223 -p223 username@marc2.hrz.uni-marburg.de username@marc2.hrz.uni-marburg.de replace username with your Students / Staff account name remember that your account name is case-sensitive! You are then prompted for your account's password: username@marc2.hrz.uni-marburg.de's username@marc2.hrz.uni-marburg.de's password: password:

8 Starting a terminal session (Linux) Example

9 Starting a terminal session (Windows) Start an SSH client, e.g. PuTTY ( Select SSH, then insert host name and port number Finally, click open A terminal window opens where you will be prompted for username (case-sensitive!) and password

10 Generating SSH keys (Linux/Mac) Needed if you want to access compute nodes directly Connect to MaRC2 and use ssh-keygen ~]$ ~]$ ssh-keygen ssh-keygen The resulting key pair with default names id_rsa and id_rsa.pub will be created in the /home/username/.ssh folder If wanted, put in a passphrase to protect the key (otherwise just leave it empty) Append your public key to the authorized_keys file ~]$ ~]$ cd cd.ssh]$.ssh]$.ssh.ssh cat cat id_rsa.pub id_rsa.pub >> >> authorized_keys authorized_keys

11 Generating SSH keys (Linux/Mac) You should now be able to connect to MaRC2 compute nodes: ~]$ ~]$ ssh ssh node001 node001 The The authenticity authenticity of of host host 'node001 'node001 (<ip (<ip address>)' address>)' can't can't be be established. established. RSA RSA key key fingerprint fingerprint is is <rsa <rsa fingerprint>. fingerprint>. Are Are you you sure sure you you want want to to continue continue connecting connecting (yes/no)? (yes/no)? yes yes Warning: Warning: Permanently Permanently added added 'node001,<ip 'node001,<ip address>' address>' (RSA) (RSA) to to the list of known hosts. the list of known hosts. ~]$ ~]$ Don't use this to start calculations directly on a node!! (see below how to submit jobs to the task scheduler)

12 Some hints To exit the terminal session, just enter exit or press Ctrl+D By default, your login shell is set to /bin/bash. You may change this setting globally (and choose another login shell like csh, ksh or tcsh) for your account here: Staff account: Students account:

13

14 Introduction to the BASH Shell (Bourne-again shell) Right after login, the BASH Shell is started by default and shows a command prompt like this: ~]$ ~]$ Input cursor $ for user, # for superuser (root) Current directory name ( ~ for home directory, / for root directory) Server name Your username To exit, simply enter the command exit or press Ctrl+D

15 First steps with BASH-builtin commands pwd print current (working) directory: ~]$ ~]$ pwd pwd /home/username /home/username cd change current directory: cd.. go to parent directory cd <dirname> go to subdirectory /home /home /home/username /home/username ~]$ ~]$ cd cd home]$ home]$.... pwd pwd home]$ home]$ cd cd username username ~]$ ~]$ pwd pwd

16 Additional commands ls list directory contents: ~]$ ~]$ ls ls mydata mydata readme readme script.sh script.sh ls -l list contents in long format ~]$ ~]$ ls ls -l -l drwxrwxr-x drwxrwxr-x 22 username username username username Jun Jun 11:12 11:12 mydata mydata -rw-rw-r-1 username username Jun 11:37 readme -rw-rw-r-- 1 username username Jun 11:37 readme -rwxr-xr-x 26 -rwxr-xr-x 11 username username username username Jun Jun 11:35 11:35 script.sh script.sh permissions (see later) user file type (d=directory) group last change file size (bytes) file name

17 Additional commands (2) ls -a show all files (even hidden ones):...bash_history.bash_history...bash_logout...bash_logout ~]$ ~]$ ls ls -a -a.bash_profile.bash_profile mydata mydata script.sh script.sh.bashrc readme.bashrc readme (files starting with. are usually not shown)

18 Additional commands (3) mkdir <dirname> make subdirectory: ~]$ ~]$ mkdir mkdir temp temp ~]$ ~]$ cd cd temp temp temp]$ pwd temp]$ pwd /home/username/temp /home/username/temp rmdir <dirname> remove directory (must be empty): temp]$ temp]$ cd cd ~]$ rmdir ~]$ rmdir.... temp temp rm <filename> remove (delete) file rm -R <dirname> remove (delete) directory recursively! rm -Rf <dirname> just as above, but force, don't ask ;-)

19 Available directories on a typical Linux system The Unix/Linux filesystem is organized in a tree-like structure The top-most directory / is called the root directory All filesystem entries (including mounted filesystems) are branches of this root. / /boot /bin executable boot files binaries /dev devices /lib /usr... /home /etc UNIX configuration home dirs libraries system files ressources /home/username personal home directory ~

20

21 Getting help man <command> Show man(ual) page for command: ~]$ ~]$ man man ls ls Press space for next page, b for previous page Arrow keys and PgUp/PgDn will also work nowadays Press q to quit <command> --help or <command> -h Show help (not supported by all commands)

22 Change file owner and permissions This is what ls -l shows: -rwxr-xr-x -rwxr-xr-x 11 username username username username user other group permissions user Jun Jun 11:35 11:35 script.sh script.sh group r = read w = write x = execute chmod <permissions> <file> Change permissions example: chmod u=rwx,g=rx,o=rx script.sh chown <user>:<group> <file> Change owner and group

23 Some tips and tricks Select text to copy, then paste with middlemouse button (PuTTY: Use right mouse button) Tab auto-completes your input Shift+PgUp/PgDn scrolls the screen buffer up and down (maximum scrollback buffer size can be set in your terminal options) ArrowUp and ArrowDown allows you to navigate through your former input Ctrl-R allows you to reverse-i-search in your former input Edit your.bashrc and.bash_profile for personal settings

24 Using the Environment Modules package

25 Using the Environment Modules package why? Each piece of software typically needs a set of environment variables to be set, in order to run properly e.g. the $PATH variable which points to the bin directories On a HPC cluster like MaRC2, there may be many different toolsets and toolset versions with the same purpose and/or the same command names Conflict! With the Environment Modules package, you can dynamically modify your environment by loading so-called modulefiles Use our predefined modulefiles, no need to create your own :-)

26 Using the Environment Modules package how? module avail show available modules ~]$ ~]$ module module avail avail /usr/share/modules/modulefiles /usr/share/modules/modulefiles dot module-cvs module-info modules null use.own dot module-cvs module-info modules null use.own /usr/share/moduleslocal /usr/share/moduleslocal acml/gfortran-5.1.0(default) openmpi/pgi/1.4.3-qlc acml/gfortran-5.1.0(default) openmpi/pgi/1.4.3-qlc acml/gfortran openmpi-1.6.3/gcc/1.6.3 acml/gfortran openmpi-1.6.3/gcc/1.6.3 acml/ifort openmpi-1.6.3/icc/1.6.3 acml/ifort (AMD Core Math Library) openmpi-1.6.3/icc/1.6.3 acml/pgi openmpi-1.6.3/pgi/1.6.3 acml/pgi openmpi-1.6.3/pgi/1.6.3 gcc/4.4.6 parastation/mpi2-gcc (default) gcc/4.4.6 parastation/mpi2-gcc (default) gcc/4.6.2(default) parastation/mpi2-gcc-mt gcc/4.6.2(default) parastation/mpi2-gcc-mt gcc/4.7.2 parastation/mpi2-intel gcc/4.7.2 parastation/mpi2-intel intel/intelpsxe2011sp1-32 parastation/mpi2-intel-mt intel/intelpsxe2011sp1-32 parastation/mpi2-intel-mt intel/intelpsxe2011sp1-64 parastation/mpi2-pgi intel/intelpsxe2011sp1-64 parastation/mpi2-pgi intel/intelpsxe2013sp1-64 parastation/mpi2-pgi-mt intel/intelpsxe2013sp1-64 parastation/mpi2-pgi-mt openmpi/gcc/1.4.3-qlc pgi/12.2(default) openmpi/gcc/1.4.3-qlc pgi/12.2(default) (Portland Group Inc. Compiler) openmpi/intel/1.4.3-qlc pgi/13.2 openmpi/intel/1.4.3-qlc pgi/13.2 module load <modulefile> load module You do not need to specify the full path in order to load the default, e.g.: ~]$ ~]$ module module load load gcc gcc

27 Using the Environment Modules package how (2) module list show loaded modules ~]$ ~]$ module module list list Currently Currently Loaded Loaded Modulefiles: Modulefiles: 1) acml/gfortran ) acml/gfortran ) 2) gcc/4.6.2 gcc/ ) 3) parastation/mpi2-gcc parastation/mpi2-gcc module unload <modulefile> unload module Again, you do not need to specify the full path: ~]$ ~]$ module module unload unload gcc gcc module purge unload all loaded modules

28 Using the Environment Modules package how (3) module switch <module1> <module2> unload module1 and load module2 (works for conflicting modules!) ~]$ ~]$ module module switch switch gcc gcc pgi pgi More information: man module

29 Compiling your programs

30 Compiling your programs Choose a compiler Several compilers available: gcc GNU C Compiler gfortran GNU Fortran Compiler icc Intel C Compiler ifort Intel Fortran Compiler pgcc Portland Group Inc. (PGI) C Compiler pgfortran Portland Group Inc. (PGI) Fortran Compiler MPI Compilers (OpenMPI or Parastation MPI, GNU/Intel/PGI): mpicc MPI C Compiler mpicxx MPI C++ Compiler mpif77 MPI Fortran77 Compiler

31 A simple C program Create a file hello-world.c with the following content: #include #include #include #include <stdio.h> <stdio.h> <stdlib.h> <stdlib.h> int int main() main() {{ printf("hello printf("hello World!\n"); World!\n"); exit(0); exit(0); }} Compile using gcc: (remember to have the module loaded first!) [haimm@marc2-h1 [haimm@marc2-h1 ~]$ ~]$ gcc gcc hello-world.c hello-world.c -o -o hello-world hello-world Then test locally: (don't do this with huge complex programs!) [haimm@marc2-h1 [haimm@marc2-h1 ~]$ ~]$./hello-world./hello-world Hello World! Hello World!

32 We could also use a Makefile Create a file Makefile with the following content: PROG=hello-world PROG=hello-world SRC=hello-world.c SRC=hello-world.c CC=gcc CC=gcc You must insert a tab here! all: all: clean clean build build clean: clean: build: build: rm rm -f -f $(PROG) $(PROG) $(CC) $(CC) $(SRC) $(SRC) -o -o $(PROG) $(PROG) run: run: all all./$(prog)./$(prog) Now just enter make or make run to compile/run your code

33 Submitting jobs to the SUN Grid Engine (SGE)

34 SUN Grid Engine??? The SUN Grid Engine (SGE) implements a queueing system Users can submit jobs to the SGE queues and define boundary conditions (like runtime, memory etc.) The SGE permanently reviews the available resources, evaluates pending jobs and executes them on the compute nodes The SGE is open source software with a free-to-use license Its successor, the Oracle Grid Engine, is only available commercially

35 How to submit a new job to the SGE First, write a start script for your software: (e.g. hello-world.sh) #!/bin/bash #!/bin/bash -S -S -e -e -o -o -l -l /bin/bash /bin/bash./stderr-file./stderr-file./stdout-file./stdout-file h_rt=10 h_rt=10 echo echo "hello-world "hello-world running running on on host host $(hostname)" $(hostname)"./hello-world./hello-world Then submit your start script: (-cwd: execute from current working dir) $$ qsub qsub -cwd -cwd hello-world.sh hello-world.sh Your job Your job ("hello-world.sh") ("hello-world.sh") has has been been submitted submitted

36 How to submit a new job to the SGE(2) Important: Requesting 'h_rt' (max. job runtime in seconds) is mandatory h_rt limits: (3d) standard queues, (10d) long queues RAM requests are counted per core, so h_vmem=4g with 4 cores reserves 16G When using a full node, h_vmem>4g is impossible 4G*64 = 256G = node maximum

37 How to submit a new job to the SGE(3) To use the module environment, include.. /etc/profile.d/modules.sh /etc/profile.d/modules.sh in your script before any module commands If the script file was written on Windows, use dos2linux dos2linux <yourscript> <yourscript> before submitting to enforce UNIX text formatting

38 How to submit a new job to the SGE(4) For parallel application, choose parallel environment and # of CPUs with -pe <parallel_environment> <# of cores> -pe -pe smp* smp* this reserves 32 cores on one node (smp=symmetric multiprocessing) For more than 64 cores, use preferrably 'orte_sl64*' Other PEs exist mostly to achieve specific process distributions

39 How to submit a new job to the SGE(5)

40 How to submit a new job to the SGE(5) With many little calculations that can be indexed, consider using a task array -t n[-m[:s]] -t n n=# of tasks, IDs 1-n -t n-m range of task indices, IDs n-m -t n-m:s range of task indices n-m, stepsize s -t -t 2-10:2 2-10:2 spawns jobs with SGE_TASK_ID = 2, 4, 6, 8, 10 In the job script, get the index with ${SGE_TASK_ID}

41 How to submit a new job to the SGE(6) Recommended: Submit job as 'binary' when using task arrays Prerequisites: Make script 'executable', don't move or edit it as long as job is running, must give all parameters in commandline chmod chmod ugo+x ugo+x <jobscript> <jobscript> qsub qsub -b -b yy <parameters> <parameters> <jobscript> <jobscript> Alternatively, leave parameters in the script but use 'arsub' wrapper (script still needs to be executable!) module module load load arsub.py arsub.py -t -t tools/python-3.5 tools/python-3.5 tools/arsub tools/arsub <from-to:step> <from-to:step> <jobscript> <jobscript>

42 Get information on your submitted jobs qstat List all your jobs $$ qstat qstat job-id user state queue slots job-id prior prior name name user state submit/start submit/start at at queue slots ja-task-id ja-task-id /19/ start.sh start.sh haimm haimm qw qw 06/19/ :43:26 12:43:26 SGE may take a few seconds q=queued, w=waiting, to give your job a non-zero priority E=Error, r=running 1 CPU slot (core) qstat -u "*" List all jobs from all users qstat -j <job-id> Get information on a single job $$ qstat qstat -j -j ============================================================== ============================================================== job_number: job_number: exec_file: job_scripts/ exec_file: job_scripts/ submission_time: Wed submission_time: Wed Jun Jun :40:43 12:40: owner: haimm owner: haimm uid: uid:

43 Get information on your submitted jobs (2) qalter -w v <job-id> Get scheduler information for job (may be helpful if your job won't run) $$ qalter qalter -w -w vv Job Job queue queue instance instance "parallel_long@node028.marc2" "parallel_long@node028.marc2" dropped dropped because because it it is is temporarily not available temporarily not available Job Job queue queue instance instance "parallel_long@node032.marc2" "parallel_long@node032.marc2" dropped dropped because because it it is is temporarily not available temporarily not available Job Job queue queue instance instance "parallel_long@node043.marc2" "parallel_long@node043.marc2" dropped dropped because because it it is is temporarily not available temporarily not available......

44 Get information on your submitted jobs (3) qalter <options> <job-id> - Change submit options for a queued job To change memory and runtime requests: $$ qalter qalter -l -l h_rt=150000,h_vmem=2500m h_rt=150000,h_vmem=2500m To change parallel environment and CPU reservation: $$ qalter qalter -pe -pe orte_sl32* orte_sl32* Can be used if a Job won't run because of wrong submit parameters qdel <job-id> Delete (terminate) a submitted job

45 Get information on your submitted jobs (4) qhost -j -u <username> - see on which nodes your jobs are running (MASTER is the spawning process) [sittr@marc2-h2 [sittr@marc2-h2 mpiperftest]$ mpiperftest]$ qhost qhost -j -j -u -u sittr sittr HOSTNAME ARCH NCPU HOSTNAME ARCH NCPU LOAD LOAD MEMTOT MEMTOT MEMUSE MEMUSE SWAPTO SWAPTO SWAPUS SWAPUS global global node001 node001 -lx24-amd64 lx24-amd64 node002 node002 node003 node003 lx24-amd64 lx24-amd64 lx24-amd64 lx24-amd64 <---snip---(node004-node013)---> <---snip---(node004-node013)---> node014 lx24-amd64 node014 lx24-amd G 252.4G G G G 252.4G -2.1G 2.1G -8.0G 8.0G G 9.0G 4.6G 4.6G 8.0G 8.0G 772.0M 772.0M 8.0G 2.5G 8.0G 2.5G 8.0G G 0.0 job-id prior name user queue master job-id prior name user queue master ja-task-id ja-task-id mpiperf_ mpiperf_ sittr sittr G G 252.4G 2.7G state submit/start state submit/start at at rr 10/12/ /12/ :33:34 14:33:34 parallel@n parallel@n SLAVE SLAVE parallel@n SLAVE parallel@n SLAVE <---snip---(62 <---snip---(62 more more SLAVE SLAVE processes)---> processes)---> node015 lx24-amd64 64 node015 lx24-amd G 252.4G <---snip---(node016-node072)---> <---snip---(node016-node072)---> node073 lx24-amd64 node073 lx24-amd mpiperf_ mpiperf_ sittr sittr 8.0G 8.0G 2.4G 2.4G G 8.0G G 252.4G 2.4G 8.0G 19.9M 19.9M rr 10/12/ :33:34 parallel@n 10/12/ :33:34 parallel@n MASTER MASTER parallel@n SLAVE parallel@n SLAVE <---snip---(62 <---snip---(62 more more SLAVE SLAVE processes)---> processes)---> node074 lx24-amd64 64 node074 lx24-amd G 252.4G (...) (...) 2.5G 2.5G 2.4G 2.4G 8.0G 8.0G 941.7M 941.7M

46 Hint for Java users (memory boundaries) Java usually takes more memory than you think it takes SGE's h_vmem value must be larger than Java's -Xmx value, you may test it with a simple Hello world program like this: #!/bin/bash #!/bin/bash -S -S -e -e -o -o -l -l /bin/bash /bin/bash./stderr-file./stderr-file./stdout-file./stdout-file h_vmem=9g, h_vmem=9g, h_rt=60 h_rt=60 java java -Xms5120m -Xms5120m -Xmx5120m -Xmx5120m -cp -cp./hello.jar./hello.jar Hello Hello exit exit 00

47

48 Performance optimization Code has to be optimized to not waste energy, time, and money Performance optimization is complex and sometimes hard to get right How do we approach this?

49 Performance optimization (2) Parallel code analysis tools can help to identify problems We are mostly using the Scalasca suite and the Vampir trace analyzer to do this With potential performance bottlenecks identified, we can start making suggestions for code optimizations If you don't have the time or in-depth knowledge to optimize on your own, we're glad to help!

50

Using the MaRC2 HPC Cluster

Using the MaRC2 HPC Cluster Using the MaRC2 HPC Cluster Manuel Haim, 06/2013 Using MaRC2??? 2 Using MaRC2 Overview Get access rights and permissions Starting a terminal session (Linux, Windows, Mac) Intro to the BASH Shell (and available

More information

Using the computational resources at the GACRC

Using the computational resources at the GACRC An introduction to zcluster Georgia Advanced Computing Resource Center (GACRC) University of Georgia Dr. Landau s PHYS4601/6601 course - Spring 2017 What is GACRC? Georgia Advanced Computing Resource Center

More information

A Hands-On Tutorial: RNA Sequencing Using High-Performance Computing

A Hands-On Tutorial: RNA Sequencing Using High-Performance Computing A Hands-On Tutorial: RNA Sequencing Using Computing February 11th and 12th, 2016 1st session (Thursday) Preliminaries: Linux, HPC, command line interface Using HPC: modules, queuing system Presented by:

More information

Introduction to Linux Basics

Introduction to Linux Basics Introduction to Linux Basics Part-I Georgia Advanced Computing Resource Center University of Georgia Zhuofei Hou, HPC Trainer zhuofei@uga.edu Outline What is GACRC? What is Linux? Linux Command, Shell

More information

Supercomputing environment TMA4280 Introduction to Supercomputing

Supercomputing environment TMA4280 Introduction to Supercomputing Supercomputing environment TMA4280 Introduction to Supercomputing NTNU, IMF February 21. 2018 1 Supercomputing environment Supercomputers use UNIX-type operating systems. Predominantly Linux. Using a shell

More information

SGE Roll: Users Guide. Version Edition

SGE Roll: Users Guide. Version Edition SGE Roll: Users Guide Version 4.2.1 Edition SGE Roll: Users Guide : Version 4.2.1 Edition Published Sep 2006 Copyright 2006 University of California and Scalable Systems This document is subject to the

More information

Grid Engine Users Guide. 5.5 Edition

Grid Engine Users Guide. 5.5 Edition Grid Engine Users Guide 5.5 Edition Grid Engine Users Guide : 5.5 Edition Published May 08 2012 Copyright 2012 University of California and Scalable Systems This document is subject to the Rocks License

More information

Mills HPC Tutorial Series. Mills HPC Basics

Mills HPC Tutorial Series. Mills HPC Basics Mills HPC Tutorial Series Mills HPC Basics Objectives Overview: Mills Community Cluster Part I: Get your feet wet Part II: Jump in Overview: Mills HPC Basics Mills Community Cluster Background What is

More information

An Introduction to Cluster Computing Using Newton

An Introduction to Cluster Computing Using Newton An Introduction to Cluster Computing Using Newton Jason Harris and Dylan Storey March 25th, 2014 Jason Harris and Dylan Storey Introduction to Cluster Computing March 25th, 2014 1 / 26 Workshop design.

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

National Biochemical Computational Research https://nbcr.net/accounts/apply.php. Familiarize yourself with the account policy

National Biochemical Computational Research  https://nbcr.net/accounts/apply.php. Familiarize yourself with the account policy Track 3: Molecular Visualization and Virtual Screening NBCR Summer Institute Session: NBCR clusters introduction August 11, 2006 Nadya Williams nadya@sdsc.edu Where to start National Biochemical Computational

More information

MVAPICH MPI and Open MPI

MVAPICH MPI and Open MPI CHAPTER 6 The following sections appear in this chapter: Introduction, page 6-1 Initial Setup, page 6-2 Configure SSH, page 6-2 Edit Environment Variables, page 6-5 Perform MPI Bandwidth Test, page 6-8

More information

Using a Linux System 6

Using a Linux System 6 Canaan User Guide Connecting to the Cluster 1 SSH (Secure Shell) 1 Starting an ssh session from a Mac or Linux system 1 Starting an ssh session from a Windows PC 1 Once you're connected... 1 Ending an

More information

Cluster Clonetroop: HowTo 2014

Cluster Clonetroop: HowTo 2014 2014/02/25 16:53 1/13 Cluster Clonetroop: HowTo 2014 Cluster Clonetroop: HowTo 2014 This section contains information about how to access, compile and execute jobs on Clonetroop, Laboratori de Càlcul Numeric's

More information

Shark Cluster Overview

Shark Cluster Overview Shark Cluster Overview 51 Execution Nodes 1 Head Node (shark) 1 Graphical login node (rivershark) 800 Cores = slots 714 TB Storage RAW Slide 1/14 Introduction What is a cluster? A cluster is a group of

More information

Tech Computer Center Documentation

Tech Computer Center Documentation Tech Computer Center Documentation Release 0 TCC Doc February 17, 2014 Contents 1 TCC s User Documentation 1 1.1 TCC SGI Altix ICE Cluster User s Guide................................ 1 i ii CHAPTER 1

More information

Introduction to PICO Parallel & Production Enviroment

Introduction to PICO Parallel & Production Enviroment Introduction to PICO Parallel & Production Enviroment Mirko Cestari m.cestari@cineca.it Alessandro Marani a.marani@cineca.it Domenico Guida d.guida@cineca.it Nicola Spallanzani n.spallanzani@cineca.it

More information

Introduction to the Marc2 Cluster

Introduction to the Marc2 Cluster Introduction to the Marc2 Cluster René Sitt 29.10.2018 HKHLR is funded by the Hessian Ministry of Sciences and Arts 1/30 Table of Contents 1 Preliminaries 2 Cluster Architecture and Access 3 Working on

More information

Working with Basic Linux. Daniel Balagué

Working with Basic Linux. Daniel Balagué Working with Basic Linux Daniel Balagué How Linux Works? Everything in Linux is either a file or a process. A process is an executing program identified with a PID number. It runs in short or long duration

More information

Commands are in black

Commands are in black Starting From the Shell Prompt (Terminal) Commands are in black / +--------+---------+-------+---------+---------+------ +------ +------ +------ +------ +------ +-- Bin boot dev etc home media sbin bin

More information

Week 2 Lecture 3. Unix

Week 2 Lecture 3. Unix Lecture 3 Unix Terminal and Shell 2 Terminal Prompt Command Argument Result 3 Shell Intro A system program that allows a user to execute: shell functions (e.g., ls -la) other programs (e.g., eclipse) shell

More information

Our new HPC-Cluster An overview

Our new HPC-Cluster An overview Our new HPC-Cluster An overview Christian Hagen Universität Regensburg Regensburg, 15.05.2009 Outline 1 Layout 2 Hardware 3 Software 4 Getting an account 5 Compiling 6 Queueing system 7 Parallelization

More information

SGE Roll: Users Guide. Version 5.3 Edition

SGE Roll: Users Guide. Version 5.3 Edition SGE Roll: Users Guide Version 5.3 Edition SGE Roll: Users Guide : Version 5.3 Edition Published Dec 2009 Copyright 2009 University of California and Scalable Systems This document is subject to the Rocks

More information

Shark Cluster Overview

Shark Cluster Overview Shark Cluster Overview 51 Execution Nodes 1 Head Node (shark) 2 Graphical login nodes 800 Cores = slots 714 TB Storage RAW Slide 1/17 Introduction What is a High Performance Compute (HPC) cluster? A HPC

More information

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016 Linux Boot Camp Jack, Matthew, Nishad, Stanley 6 Sep 2016 1 Connecting SSH Windows users: MobaXterm, PuTTY, SSH Tectia Mac & Linux users: Terminal (Just type ssh) andrewid@shark.ics.cs.cmu.edu 2 Let s

More information

Grid Engine Users Guide. 7.0 Edition

Grid Engine Users Guide. 7.0 Edition Grid Engine Users Guide 7.0 Edition Grid Engine Users Guide : 7.0 Edition Published Dec 01 2017 Copyright 2017 University of California and Scalable Systems This document is subject to the Rocks License

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

Introduction to GALILEO

Introduction to GALILEO Introduction to GALILEO Parallel & production environment Mirko Cestari m.cestari@cineca.it Alessandro Marani a.marani@cineca.it Domenico Guida d.guida@cineca.it Maurizio Cremonesi m.cremonesi@cineca.it

More information

Center for Mathematical Modeling University of Chile HPC 101. HPC systems basics and concepts. Juan Carlos Maureira B.

Center for Mathematical Modeling University of Chile HPC 101. HPC systems basics and concepts. Juan Carlos Maureira B. Center for Mathematical Modeling University of Chile HPC 101 HPC systems basics and concepts By Juan Carlos Maureira B. BioMedicina II Calculo Masivo en Biomedicina CMM - FCFM - University

More information

Introduction to GALILEO

Introduction to GALILEO November 27, 2016 Introduction to GALILEO Parallel & production environment Mirko Cestari m.cestari@cineca.it Alessandro Marani a.marani@cineca.it SuperComputing Applications and Innovation Department

More information

Introduction to HPC Using zcluster at GACRC

Introduction to HPC Using zcluster at GACRC Introduction to HPC Using zcluster at GACRC On-class STAT8330 Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu Slides courtesy: Zhoufei Hou 1 Outline What

More information

Gridengine. Contents. Aim. Configuration of gridengine. From reading group / nlp lunch

Gridengine. Contents. Aim. Configuration of gridengine. From reading group / nlp lunch Gridengine From reading group / nlp lunch Contents 1 Aim 2 Configuration of gridengine 3 Preparation (Login info) 4 How to use gridengine (Hello World Example) 5 Useful Commands 6 Other environmental variables

More information

CISC 220 fall 2011, set 1: Linux basics

CISC 220 fall 2011, set 1: Linux basics CISC 220: System-Level Programming instructor: Margaret Lamb e-mail: malamb@cs.queensu.ca office: Goodwin 554 office phone: 533-6059 (internal extension 36059) office hours: Tues/Wed/Thurs 2-3 (this week

More information

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3.

Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3. Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3. Enter stargate.ncc.edu in the text field labeled Host Name: 4. Enter the

More information

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Computing with the Moore Cluster

Computing with the Moore Cluster Computing with the Moore Cluster Edward Walter An overview of data management and job processing in the Moore compute cluster. Overview Getting access to the cluster Data management Submitting jobs (MPI

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

ACEnet for CS6702 Ross Dickson, Computational Research Consultant 29 Sep 2009

ACEnet for CS6702 Ross Dickson, Computational Research Consultant 29 Sep 2009 ACEnet for CS6702 Ross Dickson, Computational Research Consultant 29 Sep 2009 What is ACEnet? Shared resource......for research computing... physics, chemistry, oceanography, biology, math, engineering,

More information

Introduction to the Linux Command Line

Introduction to the Linux Command Line Introduction to the Linux Command Line May, 2015 How to Connect (securely) ssh sftp scp Basic Unix or Linux Commands Files & directories Environment variables Not necessarily in this order.? Getting Connected

More information

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

Using ISMLL Cluster. Tutorial Lec 5. Mohsan Jameel, Information Systems and Machine Learning Lab, University of Hildesheim

Using ISMLL Cluster. Tutorial Lec 5. Mohsan Jameel, Information Systems and Machine Learning Lab, University of Hildesheim Using ISMLL Cluster Tutorial Lec 5 1 Agenda Hardware Useful command Submitting job 2 Computing Cluster http://www.admin-magazine.com/hpc/articles/building-an-hpc-cluster Any problem or query regarding

More information

Intermediate Programming, Spring Misha Kazhdan

Intermediate Programming, Spring Misha Kazhdan 600.120 Intermediate Programming, Spring 2017 Misha Kazhdan Outline Unix/Linux command line Basics of the Emacs editor Compiling and running a simple C program Cloning a repository Connecting to ugrad

More information

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala Linux Training for New Users of Cluster Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu 1 Overview GACRC Linux Operating System Shell, Filesystem, and Common

More information

Practical: a sample code

Practical: a sample code Practical: a sample code Alistair Hart Cray Exascale Research Initiative Europe 1 Aims The aim of this practical is to examine, compile and run a simple, pre-prepared OpenACC code The aims of this are:

More information

Cluster User Training

Cluster User Training Cluster User Training From Bash to parallel jobs under SGE in one terrifying hour Christopher Dwan, Bioteam First delivered at IICB, Kolkata, India December 14, 2009 UNIX ESSENTIALS Unix command line essentials

More information

Center for Mathematical Modeling University of Chile HPC 101. Scientific Computing on HPC systems. Juan Carlos Maureira B.

Center for Mathematical Modeling University of Chile HPC 101. Scientific Computing on HPC systems. Juan Carlos Maureira B. Center for Mathematical Modeling University of Chile HPC 101 Scientific Computing on HPC systems By Juan Carlos Maureira B. Third La Serena School for Data Science: Applied Tools for

More information

Siemens PLM Software. HEEDS MDO Setting up a Windows-to- Linux Compute Resource.

Siemens PLM Software. HEEDS MDO Setting up a Windows-to- Linux Compute Resource. Siemens PLM Software HEEDS MDO 2018.04 Setting up a Windows-to- Linux Compute Resource www.redcedartech.com. Contents Introduction 1 On Remote Machine B 2 Installing the SSH Server 2 Configuring the SSH

More information

Introduction to Linux for BlueBEAR. January

Introduction to Linux for BlueBEAR. January Introduction to Linux for BlueBEAR January 2019 http://intranet.birmingham.ac.uk/bear Overview Understanding of the BlueBEAR workflow Logging in to BlueBEAR Introduction to basic Linux commands Basic file

More information

Parallel Programming Pre-Assignment. Setting up the Software Environment

Parallel Programming Pre-Assignment. Setting up the Software Environment Parallel Programming Pre-Assignment Setting up the Software Environment Authors: B. Wilkinson and C. Ferner. Modification date: Aug 21, 2014 (Minor correction Aug 27, 2014.) Software The purpose of this

More information

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018 GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux

More information

Mills HPC Tutorial Series. Linux Basics I

Mills HPC Tutorial Series. Linux Basics I Mills HPC Tutorial Series Linux Basics I Objectives Command Line Window Anatomy Command Structure Command Examples Help Files and Directories Permissions Wildcards and Home (~) Redirection and Pipe Create

More information

Quick Start Guide. by Burak Himmetoglu. Supercomputing Consultant. Enterprise Technology Services & Center for Scientific Computing

Quick Start Guide. by Burak Himmetoglu. Supercomputing Consultant. Enterprise Technology Services & Center for Scientific Computing Quick Start Guide by Burak Himmetoglu Supercomputing Consultant Enterprise Technology Services & Center for Scientific Computing E-mail: bhimmetoglu@ucsb.edu Contents User access, logging in Linux/Unix

More information

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80 CSE 303 Lecture 2 Introduction to bash shell read Linux Pocket Guide pp. 37-46, 58-59, 60, 65-70, 71-72, 77-80 slides created by Marty Stepp http://www.cs.washington.edu/303/ 1 Unix file system structure

More information

A Brief Introduction to The Center for Advanced Computing

A Brief Introduction to The Center for Advanced Computing A Brief Introduction to The Center for Advanced Computing May 1, 2006 Hardware 324 Opteron nodes, over 700 cores 105 Athlon nodes, 210 cores 64 Apple nodes, 128 cores Gigabit networking, Myrinet networking,

More information

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011 Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Spring 2011 Outline Using Secure Shell Clients GCC Some Examples Intro to C * * Windows File transfer client:

More information

Introduction to Linux

Introduction to Linux Introduction to Linux The command-line interface A command-line interface (CLI) is a type of interface, that is, a way to interact with a computer. Window systems, punched cards or a bunch of dials, buttons

More information

Introduction to Linux. Fundamentals of Computer Science

Introduction to Linux. Fundamentals of Computer Science Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard

More information

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 3: UNIX Operating System Organization Tian Guo CICS, Umass Amherst 1 Reminders Assignment 2 is due THURSDAY 09/24 at 3:45 pm Directions are on the website

More information

Session 1: Accessing MUGrid and Command Line Basics

Session 1: Accessing MUGrid and Command Line Basics Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources

More information

Introduction to GALILEO

Introduction to GALILEO Introduction to GALILEO Parallel & production environment Mirko Cestari m.cestari@cineca.it Alessandro Marani a.marani@cineca.it Alessandro Grottesi a.grottesi@cineca.it SuperComputing Applications and

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

Practical Session 0 Introduction to Linux

Practical Session 0 Introduction to Linux School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student

More information

Introduction to the SHARCNET Environment May-25 Pre-(summer)school webinar Speaker: Alex Razoumov University of Ontario Institute of Technology

Introduction to the SHARCNET Environment May-25 Pre-(summer)school webinar Speaker: Alex Razoumov University of Ontario Institute of Technology Introduction to the SHARCNET Environment 2010-May-25 Pre-(summer)school webinar Speaker: Alex Razoumov University of Ontario Institute of Technology available hardware and software resources our web portal

More information

High Performance Beowulf Cluster Environment User Manual

High Performance Beowulf Cluster Environment User Manual High Performance Beowulf Cluster Environment User Manual Version 3.1c 2 This guide is intended for cluster users who want a quick introduction to the Compusys Beowulf Cluster Environment. It explains how

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,

More information

Beginner's Guide for UK IBM systems

Beginner's Guide for UK IBM systems Beginner's Guide for UK IBM systems This document is intended to provide some basic guidelines for those who already had certain programming knowledge with high level computer languages (e.g. Fortran,

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

Outline. Structure of a UNIX command

Outline. Structure of a UNIX command Outline Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission (owner, group, rwx) File and directory

More information

Introduction to Unix: Fundamental Commands

Introduction to Unix: Fundamental Commands Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza Sommario Shell command language Introduction A

More information

Introduction to UNIX I: Command Line 1 / 21

Introduction to UNIX I: Command Line 1 / 21 Introduction to UNIX I: Command Line 1 / 21 UNIX Command line The UNIX Shell: command line interface Navigating Directories and Files Running applications Reminder about helpful tutorial: http://korflab.ucdavis.edu/unix_and_perl/current.html

More information

Effective Use of CCV Resources

Effective Use of CCV Resources Effective Use of CCV Resources Mark Howison User Services & Support This talk... Assumes you have some familiarity with a Unix shell Provides examples and best practices for typical usage of CCV systems

More information

Operating Systems. Copyleft 2005, Binnur Kurt

Operating Systems. Copyleft 2005, Binnur Kurt 3 Operating Systems Copyleft 2005, Binnur Kurt Content The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail.

More information

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing Content 3 Operating Systems The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail. How to log into (and out

More information

Center for Mathematical Modeling University of Chile HPC 101. Scientific Computing on HPC systems. Juan Carlos Maureira B.

Center for Mathematical Modeling University of Chile HPC 101. Scientific Computing on HPC systems. Juan Carlos Maureira B. Center for Mathematical Modeling University of Chile HPC 101 Scientific Computing on HPC systems By Juan Carlos Maureira B. Second La Serena School for Data Science: Applied Tools for

More information

Using WestGrid from the desktop Oct on Access Grid

Using WestGrid from the desktop Oct on Access Grid Using WestGrid from the desktop Oct 11 2007 on Access Grid Introduction Simon Sharpe, UCIT Client Services The best way to contact WestGrid support is to email support@westgrid.ca This seminar gives you

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

AMS 200: Working on Linux/Unix Machines

AMS 200: Working on Linux/Unix Machines AMS 200, Oct 20, 2014 AMS 200: Working on Linux/Unix Machines Profs. Nic Brummell (brummell@soe.ucsc.edu) & Dongwook Lee (dlee79@ucsc.edu) Department of Applied Mathematics and Statistics University of

More information

Programming Environment on Ranger Cluster

Programming Environment on Ranger Cluster Programming Environment on Ranger Cluster Cornell Center for Advanced Computing December 8, 2010 12/8/2010 www.cac.cornell.edu 1 User Guides TACC Ranger (http://services.tacc.utexas.edu/index.php/ranger-user-guide)

More information

CS 261 Recitation 1 Compiling C on UNIX

CS 261 Recitation 1 Compiling C on UNIX Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Compiling C on UNIX Winter 2017 Outline Secure Shell Basic UNIX commands Editing text The GNU Compiler

More information

X Grid Engine. Where X stands for Oracle Univa Open Son of more to come...?!?

X Grid Engine. Where X stands for Oracle Univa Open Son of more to come...?!? X Grid Engine Where X stands for Oracle Univa Open Son of more to come...?!? Carsten Preuss on behalf of Scientific Computing High Performance Computing Scheduler candidates LSF too expensive PBS / Torque

More information

Introduction to Linux

Introduction to Linux Introduction to Linux January 2011 Don Bahls User Consultant (Group Leader) bahls@arsc.edu (907) 450-8674 Overview The shell Common Commands File System Organization Permissions Environment Variables I/O

More information

Introduction to Linux Environment. Yun-Wen Chen

Introduction to Linux Environment. Yun-Wen Chen Introduction to Linux Environment Yun-Wen Chen 1 The Text (Command) Mode in Linux Environment 2 The Main Operating Systems We May Meet 1. Windows 2. Mac 3. Linux (Unix) 3 Windows Command Mode and DOS Type

More information

Sharpen Exercise: Using HPC resources and running parallel applications

Sharpen Exercise: Using HPC resources and running parallel applications Sharpen Exercise: Using HPC resources and running parallel applications Andrew Turner, Dominic Sloan-Murphy, David Henty, Adrian Jackson Contents 1 Aims 2 2 Introduction 2 3 Instructions 3 3.1 Log into

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Esercitazione Introduzione al linguaggio di shell Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza

More information

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou EECS 2031 - Software Tools Lab 2 Tutorial: Introduction to UNIX/Linux Tilemachos Pechlivanoglou (tipech@eecs.yorku.ca) Sep 22 & 25, 2017 Material marked with will be in your exams Sep 22 & 25, 2017 Introduction

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Phil Mercurio The Scripps Research Institute mercurio@scripps.edu 1 Session Overview What is Linux Shells & Windows The Linux File System Assorted Commands 2 What Is Linux? Linux

More information

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one] Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of

More information

Week Overview. Unix file system File types and file naming Basic file system commands: pwd,cd,ls,mkdir,rmdir,mv,cp,rm man pages

Week Overview. Unix file system File types and file naming Basic file system commands: pwd,cd,ls,mkdir,rmdir,mv,cp,rm man pages ULI101 Week 02 Week Overview Unix file system File types and file naming Basic file system commands: pwd,cd,ls,mkdir,rmdir,mv,cp,rm man pages Text editing Common file utilities: cat,more,less,touch,file,find

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot

More information

Unix Introduction to UNIX

Unix Introduction to UNIX Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various

More information

Introduction to Linux Workshop 1

Introduction to Linux Workshop 1 Introduction to Linux Workshop 1 The George Washington University SEAS Computing Facility Created by Jason Hurlburt, Hadi Mohammadi, Marco Suarez hurlburj@gwu.edu Logging In The lab computers will authenticate

More information

PROGRAMMAZIONE I A.A. 2015/2016

PROGRAMMAZIONE I A.A. 2015/2016 PROGRAMMAZIONE I A.A. 2015/2016 SHELL SHELL SHELL A program that interprets commands Allows a user to execute commands by typing them manually at a terminal, or automatically in programs called shell scripts.

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-3. Introduction to Unix: Fundamental Commands Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system

More information

HPC Introductory Course - Exercises

HPC Introductory Course - Exercises HPC Introductory Course - Exercises The exercises in the following sections will guide you understand and become more familiar with how to use the Balena HPC service. Lines which start with $ are commands

More information