Lab 3 + Using the Terminal 1. "Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work.

Slides:



Advertisements
Similar presentations
Instructors: Connie Hutchison & Christopher McCoy
Advertisements

Windows 8 Key Points for Eaglesoft Support – Info on FAQ FAQ Printed copies of this document are considered uncontrolled. Updated:
1. Reasons for logging on as a root •Most people are familiar with Windows systems with regard to administrative privileges. Many user running windows.
RH030 Linux Computing Essentials
A Guide to Unix Using Linux Fourth Edition
Linux+ Guide to Linux Certification, Second Edition
Chapter One The Essence of UNIX.
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.
Chapter 4 Getting Help. Using CDE Help Help Manager – primary help tool SunSolve Online – Web-based online help from Sun Solaris Support – Web-based Sun.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
1 LINUX Desktops Using the GNOME and KDE Desktops Learning Red Hat Enterprise Linux & Fedora, 4th Edition By Bill McCarty, 2004.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
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.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Windows Operating System and its Built-in Facilities
CompTIA Linux+ Certification
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
CENT 305 Information Systems Security Linux Introduction.
1 UNIX Software Tools Mauro Jaskelioff. Introduction  Course consists of 2 lectures per week plus 2 lab sessions per week  Assessment will be via exam.
SUSE Linux Enterprise Desktop Administration Chapter 2 Use the Linux Desktop.
Mr C Johnston ICT Teacher
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
UNIX/LINUX Shells Shell is an UNIX/LINUX command interpreter. Shell command can be internal or external. The code to execute an internal command is part.
UNIX/LINUX SHELLS.  “A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and.
SSH Operation The Swiss Army Knife of encryption tools…
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
OPERATING SYSTEMS BY LANDON, KYLE, AND ETHAN. WHAT IS THEIR PURPOSE? (1) manage the computer's resources, such as the central processing unit (2) establish.
Unix/Linux for beginners:
UNIX  Portable (common to many computer architectures), multitasking, multi-user operating system  Introduced by Bell labs in mid-1960’s  Thus, much.
Lab 3 + Using the Terminal 1. "Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work.
Introduction to UNIX. 2 History of Unix  1960 Software based on Hardware Limits  1969 Ken Thompson Develop a Better Programming Environment  1971 New.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Manually Creating a New User Account Presented by Carl South.
CSCI 330 UNIX and Network Programming Unit III Shell, Part 1.
CIS Lesson 7 X. Understanding X Overview One of the original open source projects Developed at MIT Criticisms of X Handles fonts poorly Security.
Module 1 - Introduction to Linux. Users must log-in Linux is case sensitive File and Directories naming conventions (No spaces!) Files and Directories.
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,
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Explore GNOME The easy way, using a live CD By Carl Weisheit.
OST Intro in to Macs. History of Macintosh On January 24, 1984 Apple Computer introduced the Apple Macintosh personal computer, with the Macintosh.
Operating Systems Concepts 1/e Ruth Watson Chapter 1 Chapter 1 Introduction to Operating Systems Ruth Watson.
Red Hat ® I NTERNET S YS A DMIN Introduction to Linux.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Development Environment
SUSE Linux Enterprise Desktop Administration
Chapter 3 Working With Unity
The Linux Operating System
Shell Script Assignment 1.
Introduction to Computers
Chapter 1 The Essence of UNIX and Linux
Using the Terminal Lab 3+.
The Linux Command Line Chapter 1
CSE 303 Lecture 1 introduction to Linux/Unix environment
X Windows.
CSCI The UNIX System Shell Startup and Variables
CSE 390a Lecture 1 introduction to Linux/Unix environment
Remote Computing Services Cloud connection Distributed system
Linux Professor Sabol.
Module 13 System and User Security
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Lab 3 + Using the Terminal 1

"Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work done without first reading lots of documentation. The traditional Unix environment is a CLI (command line interface) where you type commands to tell the computer what to do. That is faster and more powerful, but requires finding out what the commands are." 2

What is the Terminal There are many varieties of Linux, but almost all of them use similar commands that can be entered from a command- line interface terminal. The Terminal = command line interface = shell that gives command to the OS. A "shell" is a program which interprets commands so that the operating system can understand them. the use of the shell can be quicker than a graphical method. Ubuntu uses bash as its default shell. 3

What is BASH? BASH = Bourne Again Shell BASH is a shell written as a free replacement to the standard Bourne Shell which is written by Steve Bourne for UNIX systems. It has all of the features of the original Bourne shell, plus additions that make it easier to program with and use from the command line. Since it is Free Software, it has been adopted as the default shell on most Linux systems. 4

Most important benefits of the Command- Line/Terminal Faster. The terminal is almost universal across Linux distributions and is definitely universal across different flavors of Ubuntu. 5

Starting a Terminal Ubuntu logo -> More Apps -> 'See More Results‘(in upper left) -> Terminal Ubuntu logo -> More Apps -> all Applications(in upper right) ->Accessories -> Terminal Ubuntu logo -> type Terminal in Search Keyboard Shortcut: Ctl + Alt + T 6

Shell Prompt Terms terminal window shell prompt command line Shell 7

Terminal Window The terminal window is the window that contains the shell prompt, command line, and output from the shell. 8

Shell Prompt The shell prompt is the marker on the screen that shows where the command line should be placed. The following is an example of a shell prompt: to separate UserName from ComputerName. : colon to separate the computer name from the directory. ~ tilda to represent your home directory. $ to terminate the prompt. 9

Command Line The command line is where options to a command are placed. The following is an example of a command line: command -options 10

Shell The shell is the program that interprets commands so that the operating system can understand them. 11

The prompt ---  the command you type ---  Enter. The lines that follow show the output that results from the command. NOTE: command may have options: command -options 12

Checking your login session Login Identity includes: user name, group name, user ID, and group ID. To find out information about your identity: Linux keeps track of login session: when you logged in, how long you have been idle, and where you logged in from. $ id uid=501(chris) gid=105(sales) groups=105(sales), 4(adm), 7(lp) $ who -umH NAME LINE TIME IDLE PID COMMENT chris tty1 jan 13 20:

-m option tells the who command to print information about the current user -u says to add information about idle time and the process ID -H asks that a header be printed To see a full listing of who is logged in and what they are doing The following entries are displayed for each user: login name, the tty name, the remote host, login time, idle time, JCPU, PCPU, and the command line of their current process. The JCPU time is the time used by all processes attached to the tty The PCPU time is the time used by the current process, named in the "what" field. $ w 14

Close the Terminal Close button Enter exit command. Ctrl+D 15

References žRed Hat Linux Bible: Fedora and Enterprise Editionby Christopher Negus ž Bible/8140final/toc.htmlhttp://book.chinaunix.net/special/ebook/RedHat_Linux_ Bible/8140final/toc.html 16