CHEM 5412 Spring 2017: Introduction to Maestro and Linux Command Line

Size: px
Start display at page:

Download "CHEM 5412 Spring 2017: Introduction to Maestro and Linux Command Line"

Transcription

1 CHEM 5412 Spring 2017: Introduction to Maestro and Linux Command Line March 28, Introduction Molecular modeling, as with other computational sciences, has rapidly grown and taken advantage of the exponential growth in computational resource and tool development over the past few decades. Computational laboratory experiments become popular in many research areas including the structural biology an computational chemistry. The labs are built on the conceptual and theoretical foundation you have gained so far in this course, but the labs will also require you to delve into using modern computers in ways that you may be unfamiliar with, such as using a terminal and command-line interfaces and using technical scientific software. This lab will briefly introduce you to common command-line usage and the graphical interface of the main software tool we will use, Maestro. The Command Line Most computational science is done on Unix-based operating systems, and a large portion of this work is done using a command line interface. This semester, we will be using MacOS, and you should be able to access the command-line by either: using Finder to navigate to /Applications/Utilities and double clicking the Terminal application, or using Launcher and typing Terminal<Enter>. A new window should open, and should have the following prompt: mac-ip-addr:~ username$ From here, any commands you type will appear after the $. We have designed a small scavenger hunt based around the command line. The commands you need to complete it (along with some other helpful commands) are described below. Read through the commands below, or skip the next section to start the scavenger hunt right away. 1

2 2 Basic Commands Type single terminal commands with spaces separating a command and its arguments and use Enter to execute the command. Multiple commands can be entered on the same line when separated by ; (semicolon). Some common commands are listed below, grouped by category. Navigation pwd Displays your current location. Directory levels are separated by / (forward slash) cd <dir> Changes your directory. For example, cd newdir will change your directory to newdir if it exists in your current directory. The root, or top-most, directory is denoted by /. All other directories can be specified using their path relative to /, such as /home/yourname/chem5302/, which is called the absolute path of that directory. Alternatively, you can move around quickly relative to where you currently are by using the two aliases:. represents the current directory, and.. represents the current parent directory. Thus, cd.. and../../.. move you up a single directory and 3 directories, respectively. Another helpful alias is which represents your home directory. If you ever get lost, cd will take you to your home. mkdir <dir> Makes a new directory relative to the current directory. For example, cd /home/yourname; mkdir newfiles will create the directory /home/yourname/newfiles. ls <dir> Lists the contents (files and directories) of the current or specified directory. Use ls -l to get more detailed information, such as time last modified. File manipulation cp <src> <dst> Copies files at <src> to <dst>. mv <src> <dst> Moves files from <src> to <dst>. cat <file> Output all contents of a file to the terminal. less <file> Open a file for viewing. compared with cat. Allows searching and more controlled viewing when vi <file> rm <file> Open a file for editing. vi is just one of several editors. Others in Mac OS X include pico, open -e, nano, vim, emacs, and /Applications/TextEdit.app. Deletes a file. Be careful, as unlike with some other operating systems, rm does not place the deleted file in a trashcan incase you want to recover it later.

3 2. MAESTRO 3 rmdir <dir> Deletes an empty directory. *,? Not commands, but wildcard characters. Used to specify patterns of filenames and other text strings in use with other commands.? represents any one character, and * represents any string of characters. For example, rm *.txt will delete all files in the current directory that end in.txt. Similarly, cp../q??.maegz. will copy all.maegz files that are three characters long starting with q located in the parent directory to the current directory. (Un)Compression zip <dst.zip> <things to be zipped> Zip files into dst.zip. Add the recursive option zip -r to zip entire directories. unzip <src.zip> Unzip a zip archive. tar -cf <dst.tar> <things to be tarred> Create a tar archive dst.tar. Add the gzip option tar -czf to create a tar.gz (tgz) archive. tar -xf <src.tar> Untar a tar archive. Just as above, add -z to extract a tgz archive. Other man <cmd> Displays the manual or help page for a command. ssh <username@remote-host> Log into a remote machine using your username and password. Note that if you want to use gui-applications, use the optional flag ssh -X. scp <src-host:src-files> <dst-host:dst-files> Copy files between different computers (hosts). The two common usages are copying files to a remote machine: scp local-files username@remote.host.temple.edu:/home/username/dst, and copying files from a remote machine: scp username@remove.host.temple.edu:src-files. If you want to include directories as well as files, add the recursive optional flag: scp -R <src-host:src-files> <dst-host:dst-files> curl -O <URL> Retrieve a file from a web URL. 2 Maestro In your working directory, open Maestro by supplying the command line with its entire path: /opt/schrodinger/suites2015-2/maestro & Running commands with an ampersand (&) after them will run them in the background. This is optional.

4 4 Using Maestro In the main window, you should see both a row of drop-down menus (File, Edit, etc.) and row of buttons. First, let s set up the main window. Enable toolbars by selecting from the top drop-down menus: Window Toolbars. Enable the following toolbars: View Edit Let s start with a molecule that we can manipulate with Maestro. Under Edit, go to Build and select Fragments... A new window will appear titled Build. Currently this window will show Organic fragments, but in the Fragments: window, you can select other options such as Amino acids. Under Amino acids, you will see the three letter abbreviation. Click on ARG for now. Move the pointer to the view window and left-click. An arginine will appear. Close the Build window. Move and rotate the arginine around with the different mouse buttons. Note: When using Mac OSX, you may need to adjust the machine s mouse settings for 2 or 3 button mouse controls to function. To do this, open System Preferences Mouse and change the middle button to Button 3 and the right button to Secondary. While pressing the center mouse button, you can rotate the arginine around. By pressing the right mouse button, you can translate the molecule. By clicking the left mouse button while pointing at an atom, that atom will be selected. To unselect that atom, you can click the left mouse button in any blank space. Furthermore, we can manipulate the view and which atoms are selected and deleted by using the bottons on the View and Edit toolbars we enabled earlier. To recenter the atom, press the button with four arrows pointing to the corners (Fig 2.1a). If you select an atom on the arginine and press the recenter button, Maestro will center about that atom and zoom into it. To unzoom, unselect the atom and press the recenter button. You can use the delete button (Fig 2.1b) to delete atoms, molecules, etc. Left-clicking the little triangle next to the X, a drop-down menu will appear letting you delete atoms, bonds, residues, etc. with one click of the mouse in the main viewing window. Select Atoms first. By left clicking on an atom, the atom will be erased. Now select Molecules. (a) Recenter button (b) Delete button (c) Select button Figure 2.1: View Toolbar buttons

5 3. SIMULATION OF ALANINE DIPEPTIDE (OPTIONAL) 5 left click on any atom and the entire arginine will disappear. When finished deleting, press the delete button to turn this feature off. You can also use the select button (Fig 2.1c) to turn the delete button off. Feel free to build many molecules. One last notable feature is the Project Table. Open the Project Table using the Table button on the main menu bar (or keyboard shortcut CMD + t. There should be a single entry listed in the Project Table labeled Structure 1. This entry contains all the molecules that you placed in the workspace. You can display separate entries for each molecule by right clicking on Structure 1 and selecting Split By molecule. By clicking the square in the In column, you can toggle which molecules are displayed in the workspace (hold shift or individually include/exclude by right clicking an entry and selecting Include or Exclude). When done, select all molecules in the project table so that all entries are highlighted in yellow and press the delete key. With the window cleared, you are ready to start the first lab. Before you do, make sure you can locate the Applications menu at the top of the window. If you do not see the Applications menu, enable it by selecting: Tasks Application View. 3 Simulation of Alanine Dipeptide (optional) Building the Water Box Open Maestro. /opt/schrodinger/suite2015-2/maestro & With an empty workspace, pull up the Build window using the Edit pull-down menu. In the Build menu, select Amino acids in the Fragments menu. Then around 25 buttons for all built amino acids should appear and the ALA should be highlighted in blue. If not, click ALA. Move the mouse to the center of the viewing window and left click. A three model of alanine dipeptide will appear. This molecule will be the center around which the water box will be placed. Close the Build window. Locate the Applications menu at the top of the window. If you do not see the Applications menu, enable it by selecting: Tasks Application View. In the Applications pull-down menu, go to the Impact submenu and select Soak... A Soak window will appear. Use the default box dimension which are 18.65Åin the XYZ directions. Open the Job Settings window by clicking the gear icon beside the Run button. A Soak window will appear. Ensure that the Host is localhost. Name the job impact soak 1. Select Run. When finished, a bunch of water molecules will appear around the alanine dipeptide (zoom out or press the Recenter button). We can view the progress of our project with the Project Table by going to the Project drop-down menu and selecting Show Table (or typing CMD + T). Right now there is not a lot to see in the table. There should be one entry. To see additional information about the water box, click Show... All from the row of icons at the top of the Project Table window. The main items you will need in a later step are the dimensions of the water box: PDB~CRYST1~a PDB~CRYST1~b PDB~CRYST1~c

6 6 Figure 3.1: An alanine dipeptide soaked in a SPC water box Currently they should all be The box should roughly look like Fig 3.1. You can change the representation of the water molecules by selecting under Workspace the option Molecular Representation. In the Molecular Representation window, you can set all to CPK, Tube, or Ball & Stick. The default is Wire. If you do change the representation, you must click the All button to apply the changes to the workspace. The image of this water box can be saved by clicking save image under Workspace. Energy Minimization Before performing any dynamics, we want to energy minimize the water box to take care of any overlaps that may occur in the soak process. Under Applications and the Impact submenu, select Minimization... to open the Impact Energy Minimization window. We want Use structures from: to be Workspace (included entry). There are three tabs: Potential, Constraints, and Minimization. 1. In the Potential tab, click on the Use periodic boundary conditions. Click on Settings... to the right to see the dimensions of the water box (18.650Å Å Å as shown in the Project Table). 2. Go to the Minimization tab. The defaults should be fine. You will need less than 100 cycles to relax any problems in the initial box. 3. Name the job impact mini. 4. Open the Job Settings window by clicking the gear icon beside the Run button. Make sure the Host is set to localhost. Click Run.

7 3. SIMULATION OF ALANINE DIPEPTIDE (OPTIONAL) 7 This will take about 10 seconds. Close Impact Energy Minimization window. When finished, notice that there is a new entry in the Project Table and that the box size has not changed. Thermalization of the Water Box to 298K Minimization tends to freeze molecules. We need to warm up the water box. We will perform a 1ps MD simulation to thermalize the waters. Go to Applications Impact Dynamics In the Impact Dynamics window, Use structure from: Workspace. 2. Under the Potential tab, make sure Use periodic boundary conditions is clicked on. 3. Under the MD Parameters, the Stop overall motion is clicked on, but Record trajectory is clicked off. We will record the trajectory later, but not for the thermalization. Set Frequency of printing information: to 100 to save disc space. 4. The Dynamics tab contains the bulk of your settings. Set Number of MD steps to 1000 (with a time step of 0.001ps, 1000 steps will be 1ps total). The Ensemble type is Constant temperature (NVT). Set the Target temperature to K and the Temperature relaxation time (ps): to Set the Initial temperature (K) to 100 to reflect that we are starting with a cooled box of water. In 1000 steps, the system will heat from 100K to K. 5. Open the Job Settings window by clicking the gear icon beside the Run button. Run this job locally by setting the Host to localhost. Name the job impact dyn therm1 (we will refer back to this job later). It will take under 1 minute. Production Run at 298K After completing the thermalization, you will see a new entry in the project table. Because we ran at constant volume, the box dimensions have not changed. Return to the Impact Dynamics window. Set Use structures from: to Workspace. Check to be sure in the Potential tab that periodic boundary conditions are still turned on and the box dimensions are still Go to the MD Parameters tab and set frequency of printing information to 500 or Turn on Record trajectory. Change Frames written every to 1000 and turn off Sample velocities. Go to the Dynamics tab. Set the number of MD steps to (which will give us 100ps of trajectory and 100 frames in the trajectory file). Use the NVT ensemble and set the target and initial temperature to Set the temperature relaxation time to 0.2. Start. Name it impact dyn 298. Submit this job locally by setting Host to localhost. It will take about 30 minutes. To monitor the progress of the job, you can select the button with a circle on it in the Impact Dynamics window next to the Job Settings gear icon. Once the job is complete, there will be a new entry with a blue T button in the Aux column of the Project Table. Click on the T to open the Trajectory window. At the bottom,

8 8 click on the Structure... button to open the Export Structure window. Export to file impact dyn 298 traj.maegz with Structures: set to Selected frames. To view the trajectory, return to the Trajectory window and press the Structure... button. Instead of exporting to a file, Export to the Project Table. The frames will be listed in the Project Table. In the second row of the project table are some round blue buttons to play through the frames in the Project Table. Press the right-pointing triangle to play forward through the frames. When everything is done, save the project by selecting Save As under the Project manu.

CHEM5302 Fall 2015: Introduction to Maestro and the command line

CHEM5302 Fall 2015: Introduction to Maestro and the command line CHEM5302 Fall 2015: Introduction to Maestro and the command line Ronald Levy October 29, 2015 1 Introduction As this course has evolved through the years, the landscape of computational hardware and software

More information

History. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME

History. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME Introduction to the Unix command line History Many contemporary computer operating systems, like Microsoft Windows and Mac OS X, offer primarily (but not exclusively) graphical user interfaces. The user

More information

Unix Tutorial Haverford Astronomy 2014/2015

Unix Tutorial Haverford Astronomy 2014/2015 Unix Tutorial Haverford Astronomy 2014/2015 Overview of Haverford astronomy computing resources This tutorial is intended for use on computers running the Linux operating system, including those in the

More information

User Guide Version 2.0

User Guide Version 2.0 User Guide Version 2.0 Page 2 of 8 Summary Contents 1 INTRODUCTION... 3 2 SECURESHELL (SSH)... 4 2.1 ENABLING SSH... 4 2.2 DISABLING SSH... 4 2.2.1 Change Password... 4 2.2.2 Secure Shell Connection Information...

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

Unix/Linux Primer. Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois

Unix/Linux Primer. Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois Unix/Linux Primer Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois August 25, 2017 This primer is designed to introduce basic UNIX/Linux concepts and commands. No

More information

Unix tutorial. Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based.

Unix tutorial. Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based. Unix tutorial Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based. Terminal windows You will use terminal windows to enter and execute

More information

Unit 10. Linux Operating System

Unit 10. Linux Operating System 1 Unit 10 Linux Operating System 2 Linux Based on the Unix operating system Developed as an open-source ("free") alternative by Linux Torvalds and several others starting in 1991 Originally only for Intel

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text

More information

Part I. Introduction to Linux

Part I. Introduction to Linux Part I Introduction to Linux 7 Chapter 1 Linux operating system Goal-of-the-Day Familiarisation with basic Linux commands and creation of data plots. 1.1 What is Linux? All astronomical data processing

More information

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011)

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011) UoW HPC Quick Start Information Technology Services University of Wollongong ( Last updated on October 10, 2011) 1 Contents 1 Logging into the HPC Cluster 3 1.1 From within the UoW campus.......................

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

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

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

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

Linux Bootcamp Fall 2015

Linux Bootcamp Fall 2015 Linux Bootcamp Fall 2015 UWB CSS Based on: http://swcarpentry.github.io/shell-novice "Software Carpentry" and the Software Carpentry logo are registered trademarks of NumFOCUS. What this bootcamp is: A

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/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

Introduction. File System. Note. Achtung!

Introduction. File System. Note. Achtung! 3 Unix Shell 1: Introduction Lab Objective: Explore the basics of the Unix Shell. Understand how to navigate and manipulate file directories. Introduce the Vim text editor for easy writing and editing

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

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12)

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Objective: Learn some basic aspects of the UNIX operating system and how to use it. What is UNIX? UNIX is the operating system used by most computers

More information

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko 213/513/613 Linux/Git Bootcamp Cyrus, Eugene, Minji, Niko Outline 1. SSH, bash, and navigating Linux 2. Using VIM 3. Setting up VS Code 4. Git SSH 1. On macos/linux: $ ssh ANDREW-ID@shark.ics.cs.cmu.edu

More information

Tutorial 1: Unix Basics

Tutorial 1: Unix Basics Tutorial 1: Unix Basics To log in to your ece account, enter your ece username and password in the space provided in the login screen. Note that when you type your password, nothing will show up in the

More information

Introduction to the basics of UNIX

Introduction to the basics of UNIX Introduction to the basics of UNIX Joachim Hein Centre for Mathematical Sciences Lund University Outline 1 Operating system UNIX 2 Interacting with UNIX Manipulating files and directories Editing files:

More information

Eugene, Niko, Matt, and Oliver

Eugene, Niko, Matt, and Oliver 213/513 Linux/Git Bootcamp Eugene, Niko, Matt, and Oliver outline 1. ssh but also Windows ssh client especially 2. bash commands + navigating Linux 3. VIM and VS Code 4. Git how to ssh 1. on OS X/Linux:

More information

Introduction to Unix and Linux. Workshop 1: Directories and Files

Introduction to Unix and Linux. Workshop 1: Directories and Files Introduction to Unix and Linux Workshop 1: Directories and Files Genomics Core Lab TEXAS A&M UNIVERSITY CORPUS CHRISTI Anvesh Paidipala, Evan Krell, Kelly Pennoyer, Chris Bird Genomics Core Lab Informatics

More information

Introduction to UNIX command-line

Introduction to UNIX command-line Introduction to UNIX command-line Boyce Thompson Institute March 17, 2015 Lukas Mueller & Noe Fernandez Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions

More information

CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso

CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso CMSC 104 Lecture 2 by S Lupoli adapted by C Grasso A layer of software that runs between the hardware and the user. Controls how the CPU, memory and I/O devices work together to execute programs Keeps

More information

Lab III: MD II & Analysis Linux & OS X. In this lab you will:

Lab III: MD II & Analysis Linux & OS X. In this lab you will: Lab III: MD II & Analysis Linux & OS X In this lab you will: 1) Add water, ions, and set up and minimize a solvated protein system 2) Learn how to create fixed atom files and systematically minimize a

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

ROS-Industrial Basic Developer s Training Class: Linux Basics. Southwest Research Institute Last Updated 2017

ROS-Industrial Basic Developer s Training Class: Linux Basics. Southwest Research Institute Last Updated 2017 ROS-Industrial Basic Developer s Training Class: Linux Basics Southwest Research Institute Last Updated 2017 1 Outline What is Linux? Navigating the Ubuntu GUI Using the Terminal 2 An Introduction to Linux

More information

Lab III: MD II & Analysis Linux & OS X. In this lab you will:

Lab III: MD II & Analysis Linux & OS X. In this lab you will: Lab III: MD II & Analysis Linux & OS X In this lab you will: 1) Add water, ions, and set up and minimize a solvated protein system 2) Learn how to create fixed atom files and systematically minimize a

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

C++ Programming on Linux

C++ Programming on Linux C++ Programming on Linux What is Linux? CS 2308 Spring 2017 Jill Seaman Slides 14-end are for your information only, you will not be tested over that material. 1 l an operating system l Unix-like l Open

More information

Unix background. COMP9021, Session 2, Using the Terminal application, open an x-term window. You type your commands in an x-term window.

Unix background. COMP9021, Session 2, Using the Terminal application, open an x-term window. You type your commands in an x-term window. Unix background COMP9021, Session 2, 2016 1 Introduction Using the Terminal application, open an x-term window. You type your commands in an x-term window. Many commands take one or more arguments. Many

More information

Unit 13. Linux Operating System Debugging Programs

Unit 13. Linux Operating System Debugging Programs 1 Unit 13 Linux Operating System Debugging Programs COMPILATION 2 3 Editors "Real" developers use editors designed for writing code No word processors!! You need a text editor to write your code Eclipse,

More information

MD Workflow Single System Tutorial (LINUX OPERATION GPU Cluster) Written by Pek Ieong

MD Workflow Single System Tutorial (LINUX OPERATION GPU Cluster) Written by Pek Ieong MD Workflow Single System Tutorial (LINUX OPERATION GPU Cluster) Written by Pek Ieong The purpose of this tutorial is to introduce the Amber GPU Molecular Dynamic (MD) Kepler workflow developed by NBCR

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

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18 Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18 By Aftab Hussain (Adapted from Claudio A. Parra s Slides for Fall 18 CS-143A) October 5 2018 University of California, Irvine Andromeda

More information

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands 1 What is an Operating System? A computer program that: Controls how the CPU, memory

More information

RUNNING MOLECULAR DYNAMICS SIMULATIONS WITH CHARMM: A BRIEF TUTORIAL

RUNNING MOLECULAR DYNAMICS SIMULATIONS WITH CHARMM: A BRIEF TUTORIAL RUNNING MOLECULAR DYNAMICS SIMULATIONS WITH CHARMM: A BRIEF TUTORIAL While you can probably write a reasonable program that carries out molecular dynamics (MD) simulations, it s sometimes more efficient

More information

Introduction to Unix The Windows User perspective. Wes Frisby Kyle Horne Todd Johansen

Introduction to Unix The Windows User perspective. Wes Frisby Kyle Horne Todd Johansen Introduction to Unix The Windows User perspective Wes Frisby Kyle Horne Todd Johansen What is Unix? Portable, multi-tasking, and multi-user operating system Software development environment Hardware independent

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

Essential Linux Shell Commands

Essential Linux Shell Commands Essential Linux Shell Commands Special Characters Quoting and Escaping Change Directory Show Current Directory List Directory Contents Working with Files Working with Directories Special Characters There

More information

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C Welcome! Welcome to your CpSc 111 lab! For each lab this semester, you will be provided a document like this to guide you. This material, as

More information

Unix Basics. Systems Programming Concepts

Unix Basics. Systems Programming Concepts Concepts Unix directories Important Unix file commands man, pwd, ls, mkdir, cd, cp, mv File and directory access rights through permission settings Using chmod to change permissions Other important Unix

More information

1 Getting Started with Linux.

1 Getting Started with Linux. PHYS-4007/5007: omputational Physics Tutorial #1 Using Linux for the First Time 1 Getting Started with Linux. The information of logging in on the Linux side of the computers in Brown Hall 264 can be found

More information

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth This document was inspired by the Guided Tour written by Professor H. Roumani. His version of the tour can be accessed at

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

CSCI 2132 Software Development. Lecture 4: Files and Directories

CSCI 2132 Software Development. Lecture 4: Files and Directories CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts

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

Intro to Linux & Command Line

Intro to Linux & Command Line Intro to Linux & Command Line Based on slides from CSE 391 Edited by Andrew Hu slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/391/ 1 Lecture summary

More information

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory 1 Logging In When you sit down at a terminal and jiggle the mouse to turn off the screen saver, you will be confronted with a window

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

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

CSC 112 Lab 1: Introduction to Unix and C++ Fall 2009

CSC 112 Lab 1: Introduction to Unix and C++ Fall 2009 CSC 112 Lab 1: Introduction to Unix and C++ Fall 2009 Due: Friday, September 4 th, 9:00am Introduction The operating system of a computer is the coordinator of all of the computer s activities, including

More information

An Introduction to Unix

An Introduction to Unix An Introduction to Unix Sylvia Plöckinger March 3, 2011 Sylvia Plöckinger () An Introduction to Unix March 3, 2011 1 / 29 General Information Find this file on: http://homepage.univie.ac.at/nigel.mitchell/numprac/

More information

Short Read Sequencing Analysis Workshop

Short Read Sequencing Analysis Workshop Short Read Sequencing Analysis Workshop Day 2 Learning the Linux Compute Environment In-class Slides Matt Hynes-Grace Manager of IT Operations, BioFrontiers Institute Review of Day 2 Videos Video 1 Introduction

More information

Using the Zoo Workstations

Using the Zoo Workstations Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions

More information

COMS 6100 Class Notes 3

COMS 6100 Class Notes 3 COMS 6100 Class Notes 3 Daniel Solus September 1, 2016 1 General Remarks The class was split into two main sections. We finished our introduction to Linux commands by reviewing Linux commands I and II

More information

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.)

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) 1 Introduction 1 CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) This laboratory is intended to give you some brief experience using the editing/compiling/file

More information

Introduction to Linux Organizing Files

Introduction to Linux Organizing Files Introduction to Linux Organizing Files Computational Science and Engineering North Carolina A&T State University Instructor: Dr. K. M. Flurchick Email: kmflurch@ncat.edu Arranging, Organizing, Packing

More information

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Warnings Linux Commands 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material

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

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011 Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)

More information

Getting Started with UNIX

Getting Started with UNIX Getting Started with UNIX What is UNIX? Boston University Information Services & Technology Course Number: 4000 Course Instructor: Kenny Burns Operating System Interface between a user and the computer

More information

MD Workflow Single System Tutorial (LINUX OPERATION Local Execution) Written by Pek Ieong

MD Workflow Single System Tutorial (LINUX OPERATION Local Execution) Written by Pek Ieong MD Workflow Single System Tutorial (LINUX OPERATION Local Execution) Written by Pek Ieong The purpose of this tutorial is to introduce the Amber GPU Molecular Dynamic (MD) Kepler workflow developed by

More information

Introduction to Linux Spring 2014, Section 02, Lecture 3 Jason Tang

Introduction to Linux Spring 2014, Section 02, Lecture 3 Jason Tang Introduction to Linux Spring 2014, Section 02, Lecture 3 Jason Tang Topics What is an Operating System Overview of Linux Linux commands Shell Submit system What is an Operating System? Special type of

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

Section 2: Developer tools and you. Alex Mariakakis (staff-wide)

Section 2: Developer tools and you. Alex Mariakakis (staff-wide) Section 2: Developer tools and you Alex Mariakakis cse331-staff@cs.washington.edu (staff-wide) What is an SSH client? Uses the secure shell protocol (SSH) to connect to a remote computer o Enables you

More information

Linux command line basics II: downloading data and controlling files. Yanbin Yin

Linux command line basics II: downloading data and controlling files. Yanbin Yin Linux command line basics II: downloading data and controlling files Yanbin Yin 1 Things you should know about programming Learning programming has to go through the hands-on practice, a lot of practice

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

DATA 301 Introduction to Data Analytics Command Line. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Command Line. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Command Line Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Why learn the Command Line? The command line is the text interface

More information

Why learn the Command Line? The command line is the text interface to the computer. DATA 301 Introduction to Data Analytics Command Line

Why learn the Command Line? The command line is the text interface to the computer. DATA 301 Introduction to Data Analytics Command Line DATA 301 Introduction to Data Analytics Command Line Why learn the Command Line? The command line is the text interface to the computer. DATA 301: Data Analytics (2) Understanding the command line allows

More information

STA 303 / 1002 Using SAS on CQUEST

STA 303 / 1002 Using SAS on CQUEST STA 303 / 1002 Using SAS on CQUEST A review of the nuts and bolts A.L. Gibbs January 2012 Some Basics of CQUEST If you don t already have a CQUEST account, go to www.cquest.utoronto.ca and request one.

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

Command Line Interface The basics

Command Line Interface The basics Command Line Interface The basics Marco Berghoff, SCC, KIT Steinbuch Centre for Computing (SCC) Funding: www.bwhpc-c5.de Motivation In the Beginning was the Command Line by Neal Stephenson In contrast

More information

Guided Tour (Version 3.4) By Steven Castellucci

Guided Tour (Version 3.4) By Steven Castellucci Guided Tour (Version 3.4) By Steven Castellucci This document was inspired by the Guided Tour written by Professor H. Roumani. His version of the tour can be accessed at the following URL: http://www.cse.yorku.ca/~roumani/jbayork/guidedtour.pdf.

More information

Virtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/

Virtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/ Virtual Machine Anyone have problems installing it? VM: Virtual Box - allows you to run a different operating system within the current operating system of your machine. https://www.virtualbox.org/ Linux

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. 2 Conventions Used in This Book p. 2 Introduction to UNIX p. 5 An Overview

More information

In this exercise you will practice working with HDFS, the Hadoop. You will use the HDFS command line tool and the Hue File Browser

In this exercise you will practice working with HDFS, the Hadoop. You will use the HDFS command line tool and the Hue File Browser Access HDFS with Command Line and Hue Data Files (local): ~/labs/data/kb/* ~/labs/data/base_stations.tsv In this exercise you will practice working with HDFS, the Hadoop Distributed File System. You will

More information

Chapter 4. Unix Tutorial. Unix Shell

Chapter 4. Unix Tutorial. Unix Shell Chapter 4 Unix Tutorial Users and applications interact with hardware through an operating system (OS). Unix is a very basic operating system in that it has just the essentials. Many operating systems,

More information

Introduction to UNIX/Linux

Introduction to UNIX/Linux Introduction to UNIX/Linux Biochemistry Boot Camp 2018 Session #3 Nick Fitzkee nfitzkee@chemistry.msstate.edu Operating system (OS) Some terms Command-line interface (CLI) Graphical user interface (GUI)

More information

Linux hep.wisc.edu

Linux hep.wisc.edu Linux Environment @ hep.wisc.edu 1 Your Account : Login Name and usage You are given a unique login name (e.g. john) A temporary password is given to you Use this to login name and password to enter the

More information

Refresher workshop in programming for polytechnic graduates General Java Program Compilation Guide

Refresher workshop in programming for polytechnic graduates General Java Program Compilation Guide Refresher workshop in programming for polytechnic graduates General Java Program Compilation Guide Overview Welcome to this refresher workshop! This document will serve as a self-guided explanation to

More information

Lecture 01 - Working with Linux Servers and Git

Lecture 01 - Working with Linux Servers and Git Jan. 9, 2018 Working with Linux Servers: SSH SSH (named for Secure SHell) is a protocol commonly used for remote login. You can use it from a command line interface with the following syntax ssh username@server_url

More information

Helpful Tips for Labs. CS140, Spring 2015

Helpful Tips for Labs. CS140, Spring 2015 Helpful Tips for Labs CS140, Spring 2015 Linux/Unix Commands Creating, Entering, Changing Directories to Create a Directory (a Folder) on the command line type mkdir folder_name to Enter that Folder cd

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

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2 CSE Linux VM For Microsoft Windows Based on opensuse Leap 42.2 Dr. K. M. Flurchick February 2, 2017 Contents 1 Introduction 1 2 Requirements 1 3 Procedure 1 4 Usage 3 4.1 Start/Stop.................................................

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

You should see something like this, called the prompt :

You should see something like this, called the prompt : CSE 1030 Lab 1 Basic Use of the Command Line PLEASE NOTE this lab will not be graded and does not count towards your final grade. However, all of these techniques are considered testable in a labtest.

More information

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Brief Linux Presentation. July 10th, 2006 Elan Borenstein Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History

More information

The Command Line. Matthew Bender. September 10, CMSC Command Line Workshop. Matthew Bender (2015) The Command Line September 10, / 25

The Command Line. Matthew Bender. September 10, CMSC Command Line Workshop. Matthew Bender (2015) The Command Line September 10, / 25 The Command Line Matthew Bender CMSC Command Line Workshop September 10, 2015 Matthew Bender (2015) The Command Line September 10, 2015 1 / 25 Introduction Section 1 Introduction Matthew Bender (2015)

More information

CSC111 Computer Science II

CSC111 Computer Science II CSC111 Computer Science II Lab 1 Getting to know Linux Introduction The purpose of this lab is to introduce you to the command line interface in Linux. Getting started In our labs If you are in one of

More information

acmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs;

acmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs; Note: you can find this file under: http://www.cs.queensu.ca/ acmteam/unix.pdf Introduction to Unix Tutorial In this tutorial, you will learn: How to manage your account (user ID, password, shell); Navigating

More information

Getting Started With UNIX Lab Exercises

Getting Started With UNIX Lab Exercises Getting Started With UNIX Lab Exercises This is the lab exercise handout for the Getting Started with UNIX tutorial. The exercises provide hands-on experience with the topics discussed in the tutorial.

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

commandname flags arguments

commandname flags arguments Unix Review, additional Unix commands CS101, Mock Introduction This handout/lecture reviews some basic UNIX commands that you should know how to use. A more detailed description of this and other commands

More information