Chapter 2: Getting Started Logon to Logout. In this chapter … Logging on The Shell Superuser Getting Help Logging off.

Slides:



Advertisements
Similar presentations
RH030 Linux Computing Essentials
Advertisements

A Guide to Unix Using Linux Fourth Edition
Linux+ Guide to Linux Certification, Second Edition
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
Chapter One The Essence of UNIX.
Processes and Job Control. Foreground and Background (1)  Unix is a multi-tasking operating system –some of these tasks are being done by other users.
Lesson 10-Controlling User Processes. Overview Managing and processing processes. Managing jobs. Exiting/quitting when jobs have been stopped.
1 The Shell and some useful administrative Unix Commands How Unix works along with some additional, useful administrative Unix commands you might need.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Chapter 2 Accessing Your System and the Common Desktop Environment.
Guide To UNIX Using Linux Third Edition
CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 16AP. 1Winter Quarter UNIX Process Management.
UNIX Utilities Learning Objectives: 1. To understand the some basic utilities of UNIX File 2. To compare UNIX shell and popular shell 3. To learn Input/Output.
Getting Started with Linux: Novell’s Guide to CompTIA’s Linux+ (Course 3060) Section 2 Use the Linux Desktop.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Linux Installation and Administration Lesson 2 Tutor: George Papamarkos.
1 The Shell and some useful administrative Unix Commands How Unix works along with some additional, useful administrative Unix commands you might need.
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Introduction to Linux Operating System Tutorial 1
EMT 2390L Lecture 2 Dr. Reyes. Outline What is the Shell Basic commands Linux Filesystem System commands.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
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.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
UNIX Unbounded 5th Edition Amir Afzal Chapter 3 Getting Started
CENT 305 Information Systems Security Linux Introduction.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Natawut NupairojAssembly Language1 Unix Survival Guide.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
Linux Crash Course Selected snippets from CIS52. Long ago, in a galaxy far away … Computing power was costly –UNIVAC cost $1 million CPU time was a premium.
Introduction to Unix (CA263) Getting Started By Tariq Ibn Aziz.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
Unix/Linux cs3353. The Shell The shell is a program that acts as the interface between the user and the kernel. –The shell is fully programmable and will.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
FTP Short for File Transfer Protocol, the protocol for exchanging files over the Internet.protocolfilesInternet works in the same way as HTTP for transferring.
1 Lecture 6 Introduction to Process Management COP 3353 Introduction to UNIX.
Introduction to UNIX. 2 History of Unix  1960 Software based on Hardware Limits  1969 Ken Thompson Develop a Better Programming Environment  1971 New.
Advanced Programming in the UNIX Environment Hop Lee.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: which, passwd, date, ps / kill Working with Files: file, touch, cat, more, less, grep,
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
SCSC 455 Computer Security Chapter 3 User Security.
1 CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Unix Advanced Shells Chapter 10. Unix Shells u Command Line Interpreter –once logged in, login gives control to a shell –it prompts for input, then parses,
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
BIF713 Introduction to Linux. Agenda Getting Started: Using Linux Unix and Linux - Structure / Features Elements of the Linux Philosophy Linux Command.
June 1, 1999UNIX - Basic Environment1 Introduction to UNIX A. Basic Environment.
1 CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
Learning Unix/Linux Based on slides from: Eric Bishop.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Class Projects and Environment
Introduction to UNIX.
SYSTEM ADMINISTRATION PART I by İlker Korkmaz and Kaya Oğuz
slides created by Marty Stepp, modified by Josh Goodwin
CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation –
Unix Shells.
Some Linux Commands.
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
Introduction to Networking
Chapter 1 The Essence of UNIX and Linux
The Linux Command Line Chapter 1
Shells, Help, and Paths.
Linux Professor Sabol.
Lecture 6 Introduction to Process Management
Presentation transcript:

Chapter 2: Getting Started Logon to Logout

In this chapter … Logging on The Shell Superuser Getting Help Logging off

How do I start? Console vs. terminal vs. terminal emulator Text-based vs. graphical Where’s the box at?

Consoles and terminals Monitor, keyboard (and maybe mouse) attached to the box The console often locked away in a closet or server farm somewhere Terminals usually found in mainframe environment Recently ‘thin clients’ gaining popularity again

Terminal Emulation Using a separate system, connect a virtual terminal to the server telnet, ssh, X Windows Most common way to interact with a Linux/UNIX machine

From Windows environment telnet built in, but insecure (cleartext passwords) For ssh, need a supported terminal emulator –PuTTY, TeraTerm Pro, SecureCRT For remote X Windows, need a local X Server running –cygwin, XWin-32, Exceed, Xming

Here at Solano College Our server is racked in the campus MDF RedHat Enterprise Linux 5 virtualized on Vmware ESX We’ll use PuTTY and cygwin

Logging on Your username will be your My.Solano username Your password is by default set to your SCC ID, all 9 digits (pad front with zeroes) *Remember* Linux/Unix is case sensitive

Change your password first To secure your account, change your password immediately Type passwd and hit enter You will be prompted to enter your current password You will be prompted twice for a nice password Must be a good password!

What Makes a Good Password? At least 6 characters long (8+ is even better) Not be a dictionary word in any language (including Klingon!) Not a name, place or date of personal significance Contains mixed case, numbers, and special characters

Do It Right! bfd  BAD PASSWORD: it’s WAY too short bfd*2  BAD PASSWORD: it is too short  BAD PASSWORD: it is too simplistic/systematic shutup!  BAD PASSWORD: it is based on a dictionary word

The Shell Command interpreter Translates commands issued by user into commands sent to the kernel Common shells: bash, tcsh, csh, zsh, ksh Linux default is bash (Bourne Again Shell)

What shell am I running? Type ps right after logging on finger yourself

Correcting errors Erase a character: BACKSPACE, DEL or CTRL-H Erase a word: CTRL-W Erase a line (line kill): CTRL-U or CTRL-X

Other key commands Terminate (interrupt key): CTRL-C Suspend job: CTRL-Z Show jobs: jobs Stop job: kill –KILL %job_no Command history: UP and DOWN

Administrative privileges root or superuser Full read/write access to filesystem Can execute privileged commands and programs Use sparingly and with extreme caution

Getting help Most GNU commands and utilities have built in help and usage information --help (sometimes -h or -help) Too much information? Pipe results to less or more –ls --help | less

man Pages man program_name Displays online documentation, formatted with a pager SPACE to advance, q to quit Depending on the system sometimes you can also use PAGE UP/DOWN

man Pages con’t Divided into ten sections based on type User commands in section 1 To view a command’s man page in a particular section: –man 8 su

info info program_name GNU online documentation SPACE to scroll ENTER to select a subtopic q to quit

At the end of the day To log out, press CTRL-D or type exit If you have suspended jobs it will warn you before you log out