MTU Computer Structure

Similar documents
AN INTRODUCTION TO UNIX

Unix Workshop Aug 2014

UNIX Quick Reference

CS Fundamentals of Programming II Fall Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

Introduction to the Linux Command Line

CENG 334 Computer Networks. Laboratory I Linux Tutorial

IMPORTANT: Logging Off LOGGING IN

CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22

CS CS Tutorial 2 2 Winter 2018

UNIX Quick Reference

Week 2 Lecture 3. Unix

Working with Basic Linux. Daniel Balagué

UNIX File Hierarchy: Structure and Commands

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys

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

Outline. Structure of a UNIX command

Unix Basics. Systems Programming Concepts

Basic Unix Commands. CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab

CS1101: Lecture 5 Basic File Manipulation II

User Guide Version 2.0

CS4350 Unix Programming. Outline

Introduction to Computing

CHAPTER 1 UNIX FOR NONPROGRAMMERS

Perl and R Scripting for Biologists

ACS Unix (Winter Term, ) Page 92

(7) Get the total energy from the output (1 Hartree = kcal/mol) and label the structure with the energy.

Unix Filesystem. January 26 th, 2004 Class Meeting 2

Getting Started With UNIX Lab Exercises

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

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX

CISC 220 fall 2011, set 1: Linux basics

Using the Zoo Workstations

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

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

commandname flags arguments

LAB #7 Linux Tutorial

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

CS 307: UNIX PROGRAMMING ENVIRONMENT KATAS FOR EXAM 1

Obtaining and Installing the Updated TSBroadcaster Scripts

Oxford University Computing Services. Getting Started with Unix

Linux Exercise. pwd answer: We call this directory (into which you get when you log in) your home directory.

Introduction to Linux

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

SECTION -C. Getting Started with UNIX

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

Computer Systems and Architecture

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

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

Lab 2A> ADDING USERS in Linux

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

File system Security (Access Rights)

UNIX Essentials Featuring Solaris 10 Op System

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

STA 303 / 1002 Using SAS on CQUEST

Getting Started. Running Utilities. Shells. Special Characters. Special Characters. Chapter 2 Unix Utilities for non-programmers

CSC209H Lecture 1. Dan Zingaro. January 7, 2015

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

CHAPTER 3 SHELL PROGRAMS: SCRIPTS

Chapter-3. Introduction to Unix: Fundamental Commands

HOW TO Use Linux, Text-Edit, Compile, and More

Introduction to Linux Basics

Computer Systems and Architecture

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.

A WEBMASTER S INTRODUCTION TO UNIX

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

Getting started with Hugs on Linux

CS 300. Data Structures

mkdir Phys338 s2017 Draw the tree of the directories and files for this step and all the following cd Phys338 s2017

Introduction to the UNIX command line

Mills HPC Tutorial Series. Linux Basics I

Linux Shell Script. J. K. Mandal

Introduction to Unix: Fundamental Commands

The Unix Shell & Shell Scripts

Practical Session 0 Introduction to Linux

Introduction to Linux Workshop 1

A Brief Introduction to Unix

Getting Started with UNIX

Part I. Introduction to Linux

The Unix Shell. Permissions

Find out where you currently are in the path Change directories to be at the root of your home directory (/home/username) cd ~

CSCI 2132 Software Development. Lecture 4: Files and Directories

Files

Introduction: What is Unix?

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1

INSE Lab 1 Introduction to UNIX Fall 2017

Unix L555. Dept. of Linguistics, Indiana University Fall Unix. Unix. Directories. Files. Useful Commands. Permissions. tar.

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r

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

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

Basic UNIX commands. HORT Lab 2 Instructor: Kranthi Varala

Lecture 3. Unix. Question? b. The world s best restaurant. c. Being in the top three happiest countries in the world.

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

UNIX Command Cheat Sheets

UNIX Tutorial Five

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

CS Unix Tools. Lecture 2 Fall Hussam Abu-Libdeh based on slides by David Slater. September 10, 2010

Transcription:

1

MTU Computer Structure Home directory: h drive Same for Suns & PC s Location to store files Organize files by creating appropriate directories (folders) Subdirectory - any directory within in another 2

General Unix Information Command line in xterm looks like: windsor.civil(3)% windsor.civil = machine name 3 = command number Good Unix Command Web Site: http://www.geek-girl.com/unix.html http://www.cee.mtu.edu/~bhhamlin/gn120/ 3

Unix Command Basics xterm = window where you do text commands ctrl c = cancels a command more = hit space bar to continue through text 4

Unix Commands to Know man history clear cd pwd mkdir rmdir ls mv rm more sendfile chmod top ps who kill lpq lprm 5

Detailed Commands man_command - manual page for command cd_dirname - change (sub)directory per path and/or name cd - return to parent directory cd_.. - go back one directory level pwd - present working directory 6

Detailed Commands Continued mkdir_dirname - makes a directory rmdir_dirname - removes a directory rm_filename - removes a file more_filename - displays contents of a text file mv_ name1_name2 - moves a file into another directory, renames a file or directory 7

Detailed Commands Continued top - displays active central processing jobs, periodically updated, has PID number PID - process identification number ps - lists processes you are using at a given time, has PID number kill_pid - kills process with given PID 8

Detailed Commands Continued lpq - displays default printer queue lpq_-pprinter-name - printer queue for a given printer lprm - removes a print job from the queue on the default printer if it belongs to you lprm_- Pprinter-name - removes a print job from a specific printer 9

List files ls - lists contents of a given directory ls_-l - lists contents in long form, contains permissions for file chmod_###_filename - changes the permissions on a given file or directory ### - refers to number designation for permissions 10

Permissions Designations for a file or directory: d = directory r = read (can read file) w = write (can change file) x = execute (can execute program) 11

File/Directory Permission Structure 10 characters: 1 = directory 2-4 = user (you) 5-7 = group (specific users) 8-10 = others (everyone else) Example: -rwxr-xr-x (typical web page file designation) 12

Permission Specifics Each permission has a numeric value assigned Example: chmod 755 index.html Value Permission 0 Locked 1 x 2 w 4 r 13

FTP File Transfer Protocol tool for transferring files between computers 14

Running FTP ftp hostname port hostname - required port - only necessary if a specific value is required Example: ftp login.cee.mtu.edu 15

FTP Commands help_command - help on a given command; help alone is a list of ftp commands available at the site you accessed bye - quits ftp connection close - ends ftp session with remote computer and returns you to your home computer 16

More FTP Commands get_filename - gets a remote file and stores it on your computer mget_filename - gets multiple files put_filename - puts a file from your computer onto a remote location mput_filename - puts multiple files dir - listing of files in a given directory 17

Even More FTP Commands ascii - sets ftp to ascii mode, usually this is the default binary - sets ftp to binary; used to transfer binary file (i.e.: graphics, executables, audio) 18

Anonymous FTP Used to retrieve files from computers that allow public access Do not need account or password account: anonymous password: internet address, e-mail ID, guest 19

FTP Uses Transfer files from dorm computer to your H: drive Obtain copies of freeware or shareware freeware - free software (not guaranteed to be free of glitches or errors) shareware - typically trial software package 20

Group Assignment Come up with two potential quiz questions: Based on today s lecture Structure: Group number Student Names Write 2 questions and answers - must be viable questions After submitted, can leave 21