Basic Unix. Set-up. Finding Terminal on the imac. Method 1. Biochemistry laboratories Jean-Yves Sgro

Similar documents
Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Introduction to Linux

CSCI 2132 Software Development. Lecture 4: Files and Directories

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

A Brief Introduction to the Command Line. Hautahi Kingi

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

The UNIX Operating System. HORT Lecture 2 Instructor: Kranthi Varala

Guidebook is currently supported as an app on the devices listed in this support article.

Exercise Sheet 2. (Classifications of Operating Systems)

Basic UNIX commands. HORT Lab 2 Instructor: Kranthi Varala

Introduction to Linux

CST Lab 2 Review #1

Flash Video Encoder CS3 Fetch Microsoft Office 2004 (Excel, imovie. Powerpoint, Word, Entourage) itunes

Introduction: What is Unix?

CS 200. User IDs, Passwords, Permissions & Groups. User IDs, Passwords, Permissions & Groups. CS 200 Spring 2017

Creating a distribution group

Using Qualtrics. ERL Workshop Social Psychology Lab Spring 2014

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

The Unix Shell. Permissions

CS Fundamentals of Programming II Fall Very Basic UNIX

Perl and R Scripting for Biologists

CS246 Spring14 Programming Paradigm Notes on Linux

CENG 334 Computer Networks. Laboratory I Linux Tutorial

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program

My Site. Introduction

Use the Apple menu to change settings, get Mac OS X software, open recent items, and restart or shut down your computer.

Apple Exam 9L0-412 OS X Support Essentials 10.8 Exam Version: 6.3 [ Total Questions: 86 ]

Introduction to the Linux Command Line

IT Essentials II: NOS Linux Labs Using Knoppix

Apple 9L OS X Support Essentials

Assignment 1: Communicating with Programs

When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used:

[301] The Terminal. Tyler Caraza-Harter

Unix Tutorial Haverford Astronomy 2014/2015

CISC 220 fall 2011, set 1: Linux basics

Introduction to the Shell

Center for Faculty Development and Support. Google Docs Tutorial

Principles of Bioinformatics. BIO540/STA569/CSI660 Fall 2010

User Guide Version 2.0

Introduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

Apple Pro Training Series: OS X Support Essentials Updates & Errata

Introduction to UNIX. SURF Research Boot Camp April Jeroen Engelberts Consultant Supercomputing

Linux File System and Basic Commands

WINDOWS CONFIGURATION

Files and Directories

UNIT 9 Introduction to Linux and Ubuntu

From using an External Harddrive, to a Google Cloud Drive; there is no one way to backup data.

: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group.

UNIX Tutorial One

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

DAVE LIDDAMENT INTRODUCTION TO BASH

Getting Started with Command Prompts

CSCI 2132 Software Development. Lecture 3: Unix Shells and Other Basic Concepts

your Apple warranty; see There are two main failure modes for a mirrored RAID 1 set:

Y115 Remote File Access. Use WebDav to Make Life Easier

Modern C++ for Computer Vision and Image Processing. Igor Bogoslavskyi and Cyrill Stachniss

The Command Shell. Fundamentals of Computer Science

Finder windows To open a new Finder window, click the Finder icon in the Dock, then select File > New Window.

Chapter 2 Text Processing with the Command Line Interface

Lec 1 add-on: Linux Intro

UNIVERSITY OF WISCONSIN MADISON. Biotechnology Center Bioinformatics Resource Center. Hands-on workshop

UNIX Kernel. UNIX History

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

Common UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface

Lab Working with Linux Command Line

Unix. 1 tblgrant projects 0 Jun 17 15:40 doc1.txt. documents]$ touch doc2.txt documents]$ ls -l total 0

Commands are in black

Set up your computer to sync your OneDrive for Business files in Office 365

Short Read Sequencing Analysis Workshop

Getting Started with UNIX

DEPARTMENT OF MATHEMATICS. RAMLab User Guide. An Introduction to the Ryerson Applied Mathematics Laboratory

Page 1 of 6. Setting up a new Mac for KHAudio, SL Studio, Cobalt, Chromium or KH Control Systems

Pivotal Capgemini Just Do It Training HDFS-NFS Gateway Labs

Protection. CSE473 - Spring Professor Jaeger. CSE473 Operating Systems - Spring Professor Jaeger

Remote Access to Unix Machines

Roxen Content Provider

Citrix Desktop for Home Computers Mac OS Instructions

Users Guide. Kerio Technologies

Linux hep.wisc.edu

EECS2301. Lab 1 Winter 2016

Microsoft SkyDrive Tutorial

Cmpt 101 Lab 1 - Outline

Allowing access to Outlook 2000 folders Version 1.00

Mac OS X (10.8.2) Mt. Lion

The landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions

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

CSE 390a Lecture 1. introduction to Linux/Unix environment

CSC209. Software Tools and Systems Programming.

Linux at the Command Line Don Johnson of BU IS&T

Scripting Languages Course 1. Diana Trandabăț

Intel Unite Solution. Small Business User Guide

Clearspan Communicator Desktop R20.2.2

OpenAFS and Kerberos under MAC 10.3 System Requirements and Installation

Touring the Mac. S e s s i o n 1 : G e t t i n g Familiar With The Mac

Science One CS : Getting Started

Shell. SSE2034: System Software Experiment 3, Fall 2018, Jinkyu Jeong

SlideBoom Frequently Asked Questions

USAHA / AAVLD 2017 MOBILE APP Tutorial Presentation User Guide

Week 5 Lesson 5 02/28/18

Transcription:

Basic Unix Biochemistry laboratories - 201 Jean-Yves Sgro -jsgro@wisc.edu Find this document here (short URL) today: http://go.wisc.edu/4iu8u5 *Note*: To see as slides click on **"Gift icon"** at the top right. To revert back to page view click on **"book icon"** when on the first slide. Set-up check your name on the attendees list choose an imac login with your NetID ( @wisc.edu is not necessary) If this is the first time this Mac "sees" you it will go through a quick set-up: simply skip using "Apple ID" Finding Terminal on the imac Method 1 Click on the "Finder" at the bottom left of the "Dock" on the bottom of the screen. This will open a new window. On the left click on "Applications" In the alphabetical list open folder Utilities double click to open Terminal

Method 2 Spotlight Search: Click the magnifying glass at the top right corner of your screen type Terminal press the return key Web Linux Terminal Today we'll work in Mac OS Terminal. You can try the Linux option later within a web-based terminal Choice URL Best Good http://www.tutorialspoint.com/unix_terminal_online.php http://bellard.org/jslinux/ Unix Exercise Files Hand-outs are in HTML format: Basic Unix Part I: Unix001.html (https://biochem.wisc.edu/sites/default/files/facilities/bcrf/tutorials/unix/basic_unix/unix001.html) Basic Unix Part II: Unix002.html (https://biochem.wisc.edu/sites/default/files/facilities/bcrf/tutorials/unix/basic_unix/unix002.html) Note: other formats and other tutorials are at https://biochem.wisc.edu/bcrf/tutorials Class evaluation After class: fill-in the one page "evaluation" form for this class The evaluation is anonymous. Evaluation link on Qualtrics (https://uwmadison.co1.qualtrics.com/se/? SID=SV_abfJhXcXXzbTMwd) or type: http://go.wisc.edu/tgep55 Note: Survey will be unlocked when workshops are held.

Hard drive file system Root: /

Command-line operation: The Shell The prompt $ Your hard drive area

Your user space whomai Home directory ~ Print working directory (current directory) pwd

Current and Parent directories Diagram Naming convention `../` *dot dot* Parent directory: directory above containing the current directory. `./` *dot* Current directory Absolute and Relative path Absolute: starts with / root level Relative: relative to another directory For example using../../../../../../../documents etc.

List files ls Long list of home directory ls ~ total 0 drwx------+ 5 YOU AD\Domain Users drwx------+ 3 YOU AD\Domain Users drwx------+ 5 YOU AD\Domain Users 170 Mar 15 18:36 Desktop 102 Jun 19 2014 Documents 170 Mar 15 18:36 Downloads drwx------@ 43 YOU AD\Domain Users 1462 Mar 15 18:36 Library drwx------+ 3 YOU AD\Domain Users drwx------+ 3 YOU AD\Domain Users drwx------+ 3 YOU AD\Domain Users drwxr-xr-x+ 5 YOU AD\Domain Users 102 Jun 19 2014 Movies 102 Jun 19 2014 Music 102 Jun 19 2014 Pictures 170 Jun 19 2014 Public

Groups and Privileges In order to organize privileges and permissions the Unix system is designed around the following definitions: User group user group others all Definition A user of the computer. Your specific user name is shown with whoami. Multiple users can be assembled into a group e.g. from the same lab. The system administrator of the computer will create the group. This is "anyone" else; on older system this was called "the world". Contains everyone including user, group and anyone but not present in this listing. Table: Definitions of user groups. In the listing above they belong to user YOU and group AD\Domain Users. Privileges Privilege Definition d r w x This is a directory The file can be read. The file can be writen or even overwriten. The execute privilege. For a directory it means its content can be listed. - The privilege within that column is not granted. Table: Privilege tags

Standard Input/Output streams Handle Name Description 0 stdin Standard input 1 stdout Standard output 2 stderr Standard error Table: Understanding I/O streams numbers Variables The glass content can vary. The glass is the variable, the content is the variable value.

Separating the container and the content: glass is the container $glass is the content and can vary.