• Aucun résultat trouvé

Linux Orientation. Computer Systems Lab Computer Sciences Department Room 2350

N/A
N/A
Protected

Academic year: 2022

Partager "Linux Orientation. Computer Systems Lab Computer Sciences Department Room 2350"

Copied!
19
0
0

Texte intégral

(1)

Linux Orientation

Computer Systems Lab

Computer Sciences Department Room 2350

(2)

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

(3)

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

(4)

CSL Environment: Your Account

ƒ Login Name:

ƒ Identifies you, the user, to the computer

ƒ The same name is used for all CSL services

(department email, 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

(5)

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

(6)

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

(7)

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

(8)

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

(9)

Linux: Files and Directories

ƒ Files:

ƒ Named storage on disk

ƒ Can be:

ƒ Text (program source, program output, documents, emails)

ƒ Data (images, movies, database files)

ƒ Executable programs

ƒ Directories:

ƒ A tool to organize files, can contain files and/or other directories

ƒ Also called ‘Folders’

(10)

Linux File Locations

/

bbadger

public private

mail

ƒ Levels separated by /

ƒ Examples:

ƒ ~/private/assign.txt

ƒ ~/public/html/index.html

User Name

assign.txt

index.html

html

(11)

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

(12)

Linux Session: X-Term Window

Command Line

Right-click with mouse

and select

‘Open Terminal’

(13)

The Command Line

[bbadger@demo01] (1)$ ls -l /tmp

Argument(s):

additional options given to the

command Prompt

Command: instruction given to the computer

Flags or Options

(14)

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

(15)

Commands: Files

ƒ List files: ls

ƒ Copy a file: cp

ƒ Move a file: mv

ƒ Remove a file: rm

ƒ Show contents of a file: less

(16)

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

(17)

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

User quota printed

joe 300 83

(18)

Getting Help

ƒ Questions on programming and assignments should be directed to TAs and professors

ƒ Computer Systems Lab (CSL)

ƒ Websites:

ƒ Frequently Asked Questions: www.cs.wisc.edu/csl

ƒ Authenticated Web Services: www-auth.cs.wisc.edu

ƒ Email lab@cs.wisc.edu for:

ƒ account-related questions

ƒ computer system problems

(19)

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

Références

Documents relatifs

Among components on the wire termination assembly are wire termination blocks, mating connectors which engage right-angle posts on the A -to-O card, and transorbs to

The mainframe driver enables or disables interface card interrupts by sending control sequences to the shared data bus that set or clear the Interrupt Enable flip-flop (UI4,

In the following example, the default system-defined binary definition file /lib/asdef and user-defined binary definition files ourdeffile, and mydeffile are to be

Execution of either statement initiates the transfer of data between the current record at unit U or dataset din and the. contiguous memory locations beginning

The READ statement is the data transfer input statement; execution of a READ statement causes values to be transferred from an external or internal file to

Ed Line Editor Basic Commands a Adds text to file after the current line. • Exits from append (a) command mode p Prints or lists

and insert the Press RETURN.. Test write protect function 2. Test DIIA cbip and DIIA banking. To terminate this test, press the ESC button.. ALms DIAGROSTIC ~IVB

Contributed Software P.O. No direct mail order can be shipped outside the United States. All prices domestic U.S.A. Prices are subject to change without notice.. dollars)