BE CAREFUL! The Summer Research Student s Guide to UNIX
|
|
- Adela Hardy
- 5 years ago
- Views:
Transcription
1 BE CAREFUL! The Summer Research Student s Guide to UNIX Luke Leisman adapted from Andrew Butler June 2011 This is a guide designed to help summer researchers navigate the complexities of using a unix/linux machine, along with several key programs useful in doing astronomy and physics research. The guide contains the following: 1. Basic unix commands a. navigation b. manipulating files (saving/moving/copying/renaming files) c. displaying information about the system/files d. opening other terminals e. opening programs f. other helpful commands 2. More advanced unix commands 3. Guides to the following programs/languages/software: a. DS9 (imaging software)
2 b. EMACS (programming/text editing) c. IDL (astronomy programming language, similar to Python) d. IRAF (collection of tool for working with astronomical data) e. LATEX (excellent paper writing/formatting software) f. OOFFICE (Microsoft office for linux/unix, text/powerpoint/spreadsheet editing) I. Basic unix/linux commands ** a few Important Tips: 1.) UNIX doesn t like spaces in filenames! 2.) UNIX is case sensitive. 3.) If you don t feel like completely typing in the name of a directory or filename, just hit the tab key, and as long as there is nothing else in the folder that starts with the same string of characters that you already have typed in, UNIX will complete the typing for you. If it won t tab complete for you, type in more characters in the folder or filename until it deviates from everything else, then hit the tab key. 4.) If you don t feel like typing anything to copy something, just highlight the text you want copied, and then hit the middle mouse button in the terminal or program that you want the text copied into, and the text will automatically appear. 5.) If you want to use the same command or part of the command you just used, hit the up arrow key and it will reappear. In fact, if you keep hitting the up arrow, all of the commands you entered before that will reappear. Essentially, UNIX keeps a history of all the commands you entered since logging in, and these commands are accessed by hitting the up arrow key 1. 6.) Be sure to type an "&" after opening anything that will pop up a new window, otherwise you will lose your command prompt!! Example: "emacs somefile.txt &" opens somefile.txt in a new emacs window, and returns the command prompt 7). google is an excellent resource for learning about computers and computing. Google "linux help" or "unix help" or "ubuntu help" for lots of helpful info. has a nice list of some helpful commands as well. A. Navigation between directories Command: Meaning: cd cd new_directory cd.. cd changes to the home directory moves you from your current directory into [new_directory] Example: cd research/records moves you into the folder records, assuming records is contained in the folder research moves you into the folder up one level Example: if you re in the folder research, which is contained in the folder summer_2007, cd.. will bring you into summer_2007 Moves you into the previous directory 1 One should note that UNIX encourages lazy behavior. The authors of this guide are not responsible for consequences of such behavior.
3 ls ls l ls lrt pwd lists the files in a directory shows details of each file Shows the details of each file with the most recently created first; shows the most recently created files along with their details Shows which folder you are currently in Helpful note: ~ signifies the home directory Example: cd ~/help moves you to the directory help in the home directory B. Manipulating files and directories 1. Basic Manipulation cp filename directory cp filename newfilename mv filename directory copies filename into directory Example: cp log research places a copy of the file log into the folder research copies filename into newfilename Example: cp log log_old copies the file log and saves it as log_old moves [filename] into [directory] Example: mv log research moves the file log into the folder research Example: mv research/records/log.. moves log into the folder up one level mv filename newfilename renames filename to newfilename Example: mv log log_old renames the file log to log_old rm filename mkdir new_directory rmdir directory rm R directory Deletes the file called filename makes a folder called new_directory deletes the folder called directory (directory must be empty first) deletes a folder and its entire contents ( R stands for recursive) 2. Unpacking Downloaded Files gunzip filename.gz unzips gz files tar zxvf [filename] unpacks file.tar files Helpful notes:. signifies the current directory Example: mv ~/help/ilovelinux.txt. moves Ilovelinux.txt from ~/help to your current directory See advanced commands for manipulating multiple files that contain the same sequence of characters C. Displaying Information about the System and Files
4 df shows hard disk space df h more filename less filename whoami grep somestring more */*fits shows hard disk space with abbreviations convenient for humans (thus the h ), like G for gigabyte and M for megabyte shows the contents of filename (use space to scroll by much at a time and enter to scroll by a line at a time; type q to quit) same as above but allows one to scroll up (use up arrow key) tells you which user you currently are searches directories to view all fits files in subdirectories Note: * is a wildcard, and can be very helpful when searching directories. For more info see advanced commands. D. opening other terminals Sometimes it is inconvenient/impossible to run programs from the command terminal. From within the command terminal it is possible to open up other terminals. Here are the commands/terminals we most often use: xterm & xgterm & sb Opens a new terminal which we use for running idl opens a terminal which we use to run iraf adds a scroll bar to the new terminal so one can scroll up to view previous information. Example: xgterm sb opens xgterm window with a scroll bar E. program commands 1.) To open a program, type the program name (or alias), then the filename to open a given file in the program. Example: emacs logsummer2011.txt & 2.)***remember to type an & after opening anything that will pop up a new window, otherwise you will lose your command prompt!! 3.) To close a program usually type exit/ logout, or something of that nature, depending on the program. If all else fails, use ctrl c to quit a program. 4.) Here are a few of the commands for opening some of the main programs we use on Cecelia: acroread opens adobe reader ds9 opens image editing software emacs opens text editor firefox opens internet browser. ggv use to view.ps files kview one way to view jpeg files latex use for formating papers ooffice like microsoft office
5 2. A selection of more advanced unix/linux commands A. Setting up symbolic links Sometimes it is useful to have a special kind of file called a symbolic link stored in a directory. No data is actually stored in this file, rather opening this file links to data stored in another file elsewhere. ln s path/file.txt path2/link.txt creates a symbolic link at path2/link.txt to path.file.txt B. setting up an alias which [command] unalias [command] alias [command] [command] i shows the alias [command] is associated with (the most common alias is one in which the command asks you if you really want to do something) Example: which rm shows what alias rm is associated with. If it displays /bin/rm, then it is not aliased at all. It will delete whatever you want to delete without question (most of the time not a good situation to be in!). If it displays rm: aliased to rm i, then if you use the rm command, it will ask you if you really want to delete whatever you have attempted to delete. makes [command] not aliased to anything associates the are you sure? mentality mentioned above to [command]. Example: alias rm rm i makes it so that when you attempt to delete something, rm will ask you if you are sure you want to do that. In the case of mv or cp, it will ask you if you want to overwrite a file if that file happens to have the same filename of the file you want to move, rename, or copy C. Manipulating multiple files that contain the same sequence of characters The key to moving multiple files with similar parts is to use the wildcard symbol * to replace any parts of the names that do not match. mv *[string]* [directory] moves files that contain [string] anywhere in the filename into another directory Example: mv *dark* dark moves all files that contain dark anywhere in the filename into the folder dark mv [string]* [directory]: moves files that start with [string] in the filename into another directory
6 Example: mv bias00* bias moves all files that start with bias00 in the filename into the folder bias mv *[string] [directory]: moves files that end with [string] in the filename into another directory Example: mv *flat15 flat moves all files that end with flat15 in the filename into the folder flat mv [string1]*[string2] [directory]: moves files that start with [string1] and end in [string2] in the filename into another directory Example: mv image*.fits images moves all files that start with image and end in.fits in the filename into the folder images mv *[string1]*[string2]* [directory]: moves files that contain [string1] and [string2] anywhere in the filename into another directory Example: mv *image*.fits* images moves all files that contain image and.fits anywhere in the filename (but in that order) into the folder images Note: this technique doesn t work with mv or cp if you re using them to rename files because you can t rename multiple files to have the same filename. This same format works with cp (if you re using it for copying files into different directories) and rm (you obviously don t need to specify a directory with this command). other operations passwd: allows you to change your password (beware: it won t let you use easy passwords!) ls > making lists 3. Guides to helpful programs DS9 opening images: select File then Open then navigate to your image and open it. To make it easier on the eye, select Color then Invert Color Map so that you see black galaxies on a white background. To bring up the histogram, select Scale then Scale Parameters. right clicking the mouse also adjusts contrast. In the upper right, you'll see two snapshots. One shows the whole image, with a blue box to indicate the part of the image displayed in the large lower frame. Move the blue box around, and use zoom to view all parts of your image. The other snapshot shows a close up around your cursor position, File: Edit: View: Frame:
7 Bin: Zoom: Color: Region: WCS: Analysis: EMACS 1. introduction Emacs is a text editor which is useful for programming, logging, and viewing text and csv files. Most basic commands, such as save as, copy, paste, etc., can be seen by viewing the drop down menus at the top of the emacs window, abbreviate where C = ctrl, and M = alt esc Otherwise, here is a pretty nice list: ctrl a moves to beginning of line ctrl e moves to end of line ctrl k kills a whole line ctrl g unhighlights ctrl g quits out of command line below ctrl space marks set (marks the beginning of a highlighted region) ctrl w cuts highlighted region ctrl y pastes highlighted region alt u makes the word after where the cursor is CAPS alt q might realign your text at least in a latex file find and replace Emacs is especially useful for editing long lists of data. Macros and find and replace commands facilitate this. To use find and replace in emacs: first type: alt shift 5 [old phrase] enter [new phrase] then: space or `y' to replace one match! to replace all remaining matches with no more questions additionally, you can type: delete or `n' to skip to next, RET or `q' to exit, period to replace one match and exit Comma to replace but not move point immediately C r to enter recursive edit (C M c to get out again) C w to delete match and recursive edit C l to clear the screen, redisplay, and offer same replacement again ^ to move point back to previous match,
8 E to edit the replacement string 3. Macros Macros are basically a sequence of commands that the user defines which can be run over and over again. Setting up the macro: 1.) Place cursor where you want to edit the text. 2.) Type ctrl x ( (the dash means hold down ctrl while typing x). At the bottom of the emacs window, it should say Defining keyboard macro. 3.) Edit the text the way you want each line to appear, and then arrow down to the next line and stop on the spot you started at on the first line. 4.) Type ctrl x ). At the bottom of the emacs window, it should say Keyboard macro defined. Using the macro: 1.) Place the cursor where you want each line to be edited. 2.) Type ctrl x e (this executes the macro once). 3.) Type esc [# of times you want the macro to run] ctrl x e. Example: esc 54 ctrl x e runs whatever macro you defined 54 times IDL 2.run in an xterm window $ in front to do a unix command 3. Type idl to log in 4. command,[stuff about command] format 5. script can be run in both the command line and a txt document 6. keeping track of what things are is key #'s verses strings verses float verses real etc. '1234' gives a string gives a float 1234 gives an integer **some useful commands: help, [some variable] gives the number and the data type! print, [some variable] gives just the number 7.writing script: write in comment lines and command lines: comments have ; in front the computer just reads the commands, the comments help you read it start by defining variables you want to list all the things you might want to change this way I can plug in something different & the whole code will run fine 8. "verbs"
9 mrdfits( ) reads the fits file tv draws the fits file tvcircle,radius,120,150 plots a circle on the file curval gives the pixel value where ever you hover your cursor IRAF logging in... open in an xgterm window by typing xgterm & xgterm sb & gives a scrollbar with the xgterm window cd to iraf cl logs in in help commandname gives manual of what commandname does epar commandname edits parameters on commandname ctrl d to leave epar :go to run command from epar imputs... you need.fits endings for iraf to read.fits files to make a long list of imputs, make a text file, 1 imput per line,and enter the text file name on the imput line with OOFFICE an early version of microsoft office, works very similar to excel and word help tab tells you more LATEX This is the program we use to format papers for publication. Most of it can be figured out from just looking at the syntax of previous publications. A few helpful notes, none the less: general running latex strategy: run latex (just type latex [filename.tex] in the command terminal) run bibtex (type bibtex [filename])
10 run latex run latex you can otherwise just type the filename without extension and it is smart about choosing the extension. so latex paper1.tex can be latex paper1 and xdvi paper1.dvi & can be xdvi paper1 & to make the latex file: latex [filename] to view the latex file: xdvi [filename] to print the latex file: dvips Psb157 paper.dvi Specific symbols have specific meanings in latex. Thus, if you want to type them in the text, you have to use the escape character, a backslash ( "\") to remove their special meaning. Thus: make sure each & in your text is a \& make sure each _ id a or \_ % is the comment symbol. To actually type % in the text type \% citations: ~dhaarsma/help/bibtex.in.aastex.help lists all the different commands for citations: a few key ones: \citep{author99a} (Author 1999) \citep{smith94a,jones95b,chen84a} (Smith 1994, Jones et al 1995, Chen 1984) \cite{author99a} Author (1999) \citet{author99a} Author (1999) \citealp{author99a} Author 1999
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 informationPhysics REU Unix Tutorial
Physics REU Unix Tutorial What is unix? Unix is an operating system. In simple terms, its the set of programs that makes a computer work. It can be broken down into three parts. (1) kernel: The component
More informationIntroduction to Unix - Lab Exercise 0
Introduction to Unix - Lab Exercise 0 Along with this document you should also receive a printout entitled First Year Survival Guide which is a (very) basic introduction to Unix and your life in the CSE
More informationUsing 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 informationIntroduction 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 informationTutorial 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 informationGetting 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 informationPart 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 informationIntroduction. 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 information1 Installation (briefly)
Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB
More informationCommand 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 informationMills 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 informationUnix 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 informationContents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...
Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing
More informationChapter-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 informationEssential 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 informationA Brief Introduction to the Linux Shell for Data Science
A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like
More informationWhen you first log in, you will be placed in your home directory. To see what this directory is named, type:
Chem 7520 Unix Crash Course Throughout this page, the command prompt will be signified by > at the beginning of a line (you do not type this symbol, just everything after it). Navigation When you first
More informationWindows XP. A Quick Tour of Windows XP Features
Windows XP A Quick Tour of Windows XP Features Windows XP Windows XP is an operating system, which comes in several versions: Home, Media, Professional. The Windows XP computer uses a graphics-based operating
More informationTiny 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 informationLinux 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 informationAn 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 informationIntroduction 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 informationUnix/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 informationIntroduction 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 informationUsing IRAF in Swain West 311
Using IRAF in Swain West 311 About IRAF: The IRAF software package (Image Reduction and Analysis Facility) was developed at the National Optical Astronomy Observatories for use with astronomical data in
More informationLinux Command Line Interface. December 27, 2017
Linux Command Line Interface December 27, 2017 Foreword It is supposed to be a refresher (?!) If you are familiar with UNIX/Linux/MacOS X CLI, this is going to be boring... I will not talk about editors
More informationTable Of Contents. 1. Zoo Information a. Logging in b. Transferring files 2. Unix Basics 3. Homework Commands
Table Of Contents 1. Zoo Information a. Logging in b. Transferring files 2. Unix Basics 3. Homework Commands Getting onto the Zoo Type ssh @node.zoo.cs.yale.edu, and enter your netid pass when prompted.
More informationIntroduction 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 informationIntro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab
Basic Terminal Intro to Linux ssh short for s ecure sh ell usage: ssh [host]@[computer].[otheripstuff] for lab computers: ssh [CSID]@[comp].cs.utexas.edu can get a list of active computers from the UTCS
More informationWhen talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used:
Linux Tutorial How to read the examples When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: $ application file.txt
More informationUnix 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 informationThis 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 informationBasic Shell Commands
Basic Shell Commands Jeremy Sanders October 2011 1. acroread - Read or print a PDF file. 2. cat - Send a file to the screen in one go. Useful for piping to other programs cat file1 # list file1 to screen
More informationUnix/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 informationIntroduction 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 informationCarnegie 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 informationacmteam/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 informationUsing Microsoft Excel
About Excel Using Microsoft Excel What is a Spreadsheet? Microsoft Excel is a program that s used for creating spreadsheets. So what is a spreadsheet? Before personal computers were common, spreadsheet
More informationSTA 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 informationCSE115 Lab exercises for week 1 of recitations Spring 2011
Introduction In this first lab you will be introduced to the computing environment in the Baldy 21 lab. If you are familiar with Unix or Linux you may know how to do some or all of the following tasks.
More informationIntroduction 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 informationGetting Started With Linux and Fortran Part 2
Getting Started With Linux and Fortran Part 2 by Simon Campbell [The K Desktop Environment, one of the many desktops available for Linux] ASP 3012 (Stars) Computer Tutorial 2 1 Contents 1 Some Funky Linux
More informationBioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny.
Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny stefano.gaiarsa@unimi.it Linux and the command line PART 1 Survival kit for the bash environment Purpose of the
More informationShell Programming Overview
Overview Shell programming is a way of taking several command line instructions that you would use in a Unix command prompt and incorporating them into one program. There are many versions of Unix. Some
More informationExcel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller
Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing
More informationUsing UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program
Using UNIX. UNIX is mainly a command line interface. This means that you write the commands you want executed. In the beginning that will seem inferior to windows point-and-click, but in the long run the
More informationCS 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 informationFor this class we are going to create a file in Microsoft Word. Open Word on the desktop.
File Management Windows 10 What is File Management? As you use your computer and create files you may need some help in storing and retrieving those files. File management shows you how to create, move,
More informationCOMS 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 informationHelpful 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 informationXnView Image Viewer. a ZOOMERS guide
XnView Image Viewer a ZOOMERS guide Introduction...2 Browser Mode... 5 Image View Mode...14 Printing... 22 Image Editing...26 Configuration... 34 Note that this guide is for XnView version 1.8. The current
More informationIntroduction 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 informationCMSC 201 Spring 2018 Lab 01 Hello World
CMSC 201 Spring 2018 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 4th by 8:59:59 PM Value: 10 points At UMBC, the GL system is designed to grant students the privileges
More informationOutline. 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 informationRefresher 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 informationFILE MAINTENANCE COMMANDS
Birla Institute of Technology & Science, Pilani Computer Programming (CS F111) Lab-2 ----------------------------------------------------------------------------------------------------------------------
More informationGuided 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 informationAn introduction to Linux Part 4
An introduction to Linux Part 4 Open a terminal window (Ctrl-Alt-T) and follow along with these step-by-step instruction to learn some more about how to navigate in the Linux Environment. Open the terminal
More informationLab 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 informationHYPERSTUDIO TOOLS. THE GRAPHIC TOOL Use this tool to select graphics to edit. SPRAY PAINT CAN Scatter lots of tiny dots with this tool.
THE BROWSE TOOL Us it to go through the stack and click on buttons THE BUTTON TOOL Use this tool to select buttons to edit.. RECTANGLE TOOL This tool lets you capture a rectangular area to copy, cut, move,
More informationIntroduction 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 informationPython for Astronomers. Week 1- Basic Python
Python for Astronomers Week 1- Basic Python UNIX UNIX is the operating system of Linux (and in fact Mac). It comprises primarily of a certain type of file-system which you can interact with via the terminal
More informationCSE 391 Lecture 3. bash shell continued: processes; multi-user systems; remote login; editors
CSE 391 Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/391/
More informationBasic Unix and Matlab Logging in from another Unix machine, e.g. ECS lab Dells
Basic Unix and Matlab 101 1 Logging in from another Unix machine, e.g. ECS lab Dells The computer we will be using for our assignments is called malkhut.engr.umbc.edu which is a Unix/Linux machine that
More informationCMSC 201 Spring 2017 Lab 01 Hello World
CMSC 201 Spring 2017 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 5th by 8:59:59 PM Value: 10 points At UMBC, our General Lab (GL) system is designed to grant students the
More informationAdobe illustrator Introduction
Adobe illustrator Introduction This document was prepared by Luke Easterbrook 2013 1 Summary This document is an introduction to using adobe illustrator for scientific illustration. The document is a filleable
More informationIntroduction to the UNIX command line
Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands
More informationMicrosoft Excel 2007
Learning computers is Show ezy Microsoft Excel 2007 301 Excel screen, toolbars, views, sheets, and uses for Excel 2005-8 Steve Slisar 2005-8 COPYRIGHT: The copyright for this publication is owned by Steve
More informationA Linux Virtual Machine for CS-2011 Projects
CS-2011, Machine Organization and Assembly Language, D-term 2013 A Linux Virtual Machine for CS-2011 Projects Hugh C. Lauer Adjunct Professor Worcester Polytechnic Institute As an alternative to working
More informationLab Working with Linux Command Line
Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed
More informationIntroduction. SSH Secure Shell Client 1
SSH Secure Shell Client 1 Introduction An SSH Secure Shell Client is a piece of software that allows a user to do a number of functions. Some of these functions are: file transferring, setting permissions,
More informationIntroduction: 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 information213/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 informationIn the fourth unit you will learn how to upload and add images and PDF files.
Introduction Here at SUNY New Paltz, we use the Terminal Four (T4) web content management system (CMS). This puts the power of editing content on our college s webpage in the hands of our authorized users.
More informationWeek 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 informationGuided 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 informationSolidWorks 2½D Parts
SolidWorks 2½D Parts IDeATe Laser Micro Part 1b Dave Touretzky and Susan Finger 1. Create a new part In this lab, you ll create a CAD model of the 2 ½ D key fob below to make on the laser cutter. Select
More information200" LFC Test and Checkout (Rev )
200" LFC Test and Checkout (Rev 02 22 08) It is assumed that LFC is mounted and cabled properly at prime focus, and that the LFC computer (oasis) is cabled and running properly in the computer room. Completed
More informationIntroduction 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 informationEditors in Unix come in two general flavours:
Review notes #2 1. Unix account 2.Login: with a terminal or using telnet or ssh 3. Change password 4. Must logout! 5. Emails: (a) mutt (b) pine (c).forward file 6.Basic commands: who, ls, cat, more, man
More informationPractical 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 informationUnix File System. Learning command-line navigation of the file system is essential for efficient system usage
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 informationLinux File System and Basic Commands
Linux File System and Basic Commands 0.1 Files, directories, and pwd The GNU/Linux operating system is much different from your typical Microsoft Windows PC, and probably looks different from Apple OS
More informationCSC111 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 informationCHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows
CHAPTER 1 Getting to Know AutoCAD Opening a new drawing Getting familiar with the AutoCAD and AutoCAD LT Graphics windows Modifying the display Displaying and arranging toolbars COPYRIGHTED MATERIAL 2
More informationThe Directory Structure
The Directory Structure All the files are grouped together in the directory structure. The file-system is arranged in a hierarchical structure, like an inverted tree. The top of the hierarchy is traditionally
More informationIntroduction 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 informationGetting Started With Linux and Fortran Part 3
Getting Started With Linux and Fortran Part 3 by Simon Campbell [A Coronal Mass Ejection (CME) from our star. Taken by the SOHO spacecraft in July 1999. Image Credit: NASA and European Space Agency] ASP
More informationCENG 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 informationCSE 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 informationCENG393 Computer Networks Labwork 1
CENG393 Computer Networks Labwork 1 Linux is the common name given to a large family of operating systems. All Linux-based operating systems are essentially a large set of computer software that are bound
More informationXnView 1.9. a ZOOMERS guide. Introduction...2 Browser Mode... 5 Image View Mode...15 Printing Image Editing...28 Configuration...
XnView 1.9 a ZOOMERS guide Introduction...2 Browser Mode... 5 Image View Mode...15 Printing... 22 Image Editing...28 Configuration... 36 Written by Chorlton Workshop for hsbp Introduction This is a guide
More informationA new clients guide to: Activating a new Studio 3.0 Account Creating a Photo Album Starting a Project Submitting a Project Publishing Tips
Getting Started With Heritage Makers A Guide to the Heritage Studio 3.0 Drag and Drop Publishing System presented by Heritage Makers A new clients guide to: Activating a new Studio 3.0 Account Creating
More informationUnix basics exercise MBV-INFX410
Unix basics exercise MBV-INFX410 In order to start this exercise, you need to be logged in on a UNIX computer with a terminal window open on your computer. It is best if you are logged in on freebee.abel.uio.no.
More informationWorking 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 informationSolidWorks Intro Part 1b
SolidWorks Intro Part 1b Dave Touretzky and Susan Finger 1. Create a new part We ll create a CAD model of the 2 ½ D key fob below to make on the laser cutter. Select File New Templates IPSpart If the SolidWorks
More informationIntroduction 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 informationIntroduction 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 informationEECS 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