Linux Orientation Computer Systems Lab Computer Sciences Department Room 2350.

Slides:



Advertisements
Similar presentations
Working with Files How to create, view, copy, rename and print files.
Advertisements

Cosc 4750 Getting Started in UNIX Don’t be afraid of the prompt, in linux it can be your best friend. In some cases, the only way to do certain things.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
CIS392 Sp 03Assign#11 CIS392 Text Processing, Retrieval, and Mining Spring 03 Instructor: Dr. Y. F. Brook Wu BOW toolkit:
CS 202 Computer Science II Lab Fall 2009 August 27.
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
Very Quick & Basic Unix Steven Newhouse Unix is user-friendly. It's just very selective about who its friends are.
CPSC 203 Introduction to Computers Lab 21, 22 by Jie (Jeff) Gao Location: ES650.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  Currently there.
A crash course in njit’s Afs
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
Computer Programming for Biologists Oct 30 th – Dec 11 th, 2014 Karsten Hokamp  Fill out.
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. File and Directory.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
System Administration Introduction to Unix Session 2 – Fri 02 Nov 2007 Reference:  chapter 1, The Unix Programming Environment, Kernighan & Pike, ISBN.
UNIX Workshop Freshmen Orientation UNIX workshop Before we begin…  Does everybody have a computer?  Does everybody have your account slips?
Chapter 0 A “Quick-Start” into the UNIX Operating System.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Computer Labs Orientation September 2003 Prepared by Computer Services.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX Commands cal – will print a calendar.
Introduction to UNIX Road Map: 1. UNIX Structure 2. Components of UNIX 3. Process Structure 4. Shell & Utility Programs 5. Using Files & Directories 6.
Introduction to UNIX Geraint Vaughan. What is UNIX? Command-line operating system (not point- and click) Designed for ‘experts’ Lots of different variants.
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
Introduction to Programming Using C An Introduction to Operating Systems.
2 Manual & Filestore Mauro Jaskelioff. Introduction Using the manual The UNIX filestore File permissions.
Agenda The Linux File System (chapter 4 in text)
BIF713 File and Directory Management. File System A File System is a structure used to organize programs and data on a computer ’ s storage device Files.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
CSCI 330 UNIX and Network Programming Unit II Basic UNIX Usage: File System.
The Unix File sytem. Introduction Tree structure …
What is Unix? A multi-user networked operating system –“Operating System” Handles files, running other programs, input/output Just like DOS or Windows.
Dr. Sajib Datta Jan 16,  The website is up.  Course lectures will be uploaded there ◦ Check regularly for assignments and update.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
CMSC 104, Version 8/061L03OperatingSystems.ppt Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux.
Learning Unix/Linux Based on slides from: Eric Bishop.
Agenda The Linux File System (chapter 4 in text) Directory Structures / Navigation Terminology File Naming Rules Relative vs Absolute pathnames Unix Commands:
2Operating Systems  Program that runs on a computer  Manages hardware resources  Allows for execution of programs  Acts as an intermediary between.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
A “Quick-Start” into the UNIX Operating System
Department of Computer Engineering
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
Andy Wang Object Oriented Programming in C++ COP 3330
The Command Prompt Commands are the way to “do things” in Unix
Useful Linux Commands.
Welcome to CSCI 230! Problem Solving using C
Operating Systems and Using Linux
Operating Systems and Using Linux
The Unix File System.
Operating Systems and Using Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Module 6 Working with Files and Directories
Lab 2: Terminal Basics.
Presentation transcript:

Linux Orientation Computer Systems Lab Computer Sciences Department Room 2350

Linux Orientation Presentation  Familiarizes students with Linux and the CSL Linux Environment  CSL Environment  Linux Overview  Command Introduction  Getting Help  Followed by a hands-on session in the user lab

CSL Environment: Instructional Labs  Located in the same hallway as the room for our hands-on session  Current list of labs available on CSL's FAQ Pages  Check signs on doors to determine which OS a room has available

CSL Environment: Your Account  Login Name:  Identifies you, the user, to the computer  The same name is used for all CSL services (department , web, login for every computer, etc.)  New accounts will be activated in the hands-on session  Files stored in your Home Directory are available from all CSL machines  Disk usage quotas based on enrolled courses

CSL Environment: Backups  All files available at time of back up are written to backup storage  Files from yesterday’s backup can be restored through recover program  Older files must be restored by the CSL  One working day is required to complete a restore  Request restores at: www-auth.cs.wisc.edu/forms

CSL Environment: Printing  Printers located in Room 1359  Your file will be printed on the first available printer  Print monitors will help you find your printouts  Initial paper quota is allocated per enrolled course, more is available for purchase  CSL: room 2350  Only check or money orders  Only available during normal business hours

Linux Overview  Multi-tasking and Multi-user Operating System  Major concepts:  Use of plain text for storing data  Hierarchical file system  Command line interpreter  Large number of software tools

Linux: Home Directory  Each new login starts you in your home directory  Can be abbreviated as ~  Contains all your class files, personal files, and web pages

Linux: Files and Directories  Files:  Named storage on disk  Can be:  Text (program source, program output, documents, s)  Data (images, movies, database files)  Executable programs  Directories:  A tool to organize files, can contain files and/or other directories  Also called ‘Folders’

Linux File Locations / bbadger publicprivat  Levels separated by /  Examples:  ~/private/assign.txt  ~/public/html/index.html User Name assign.txt index.html html

Choosing Linux File Names  Use only letters, numbers, underscores, dots and dashes – Not spaces or special characters  Do not start name with a dot or a dash  Shorter, meaningful names are best  Names are case sensitive

Linux Session: X-Term Window Command Line Right-click with mouse and select ‘Open Terminal’

The Command Line (1)$ ls -l /tmp Argument(s): additional options given to the command Prompt Command: instruction given to the computer Flags or Options

Commands  all commands, options, and arguments are separated by spaces  execute commands by pressing Enter  to see all options for a command, use the manual  type man followed by the command  press q to quit out of man

Commands: Files  List files: ls  Copy a file: cp  Move a file: mv  Remove a file: rm  Show contents of a file: less

Commands: Directories  Change directory: cd  Change to home directory: cd ~  Change to home’s public directory: cd ~/public  Create a directory: mkdir  Print working (current) directory: pwd  Remove an empty directory: rmdir

Commands: Printing  Print a file: lpr  Check the printer queue: lpq  Remove print jobs: lprm  Will cancel ALL uncompleted print jobs  Check quota and usage: lpquota Userquotaprinted joe30083

Getting Help  Questions on programming and assignments should be directed to TAs and professors  Computer Systems Lab (CSL)  Websites:  Frequently Asked Questions:  Authenticated Web Services: www-auth.cs.wisc.edu  for:  account-related questions  computer system problems

Thank you!  Please wait for instructions regarding the hands-on session.  Computer Systems Lab (CSL)  Room 2350  Open Monday – Friday: 8 am – Noon,1pm - 5pm