Linux introduction. Why Linux? Powerful (remote) shell.

Slides:



Advertisements
Similar presentations
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Advertisements

Windows 2003 Server. Windows 2003 Server Contents Fitur Windows 2003 Server Installation And Configuration Windows Management Resource  User Management.
Screen Cli based screen manager for Linux/Unix. Installing Screen Debian based systems: apt-get install screen Redhat based systems including centos:
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.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
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.
Lesson 22 – Introduction to Linux Systems Administration.
Operating System (OS)  A computer program that manages the hardware and software resources of a computer. controlling and allocating memorycontrolling.
Overview Basic functions Features Installation: Windows host and Linux host.
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
Introduction to Linux Commands By:- GAGAN KUMAR C.S.E 7 TH SEMESTER
Introduction to Linux and Shell Scripting Jacob Chan.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
A crash course in njit’s Afs
Linux Operations and Administration
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
 Adnan Niazi November UNIX Lecture Goals  Goal 1: Know basic UNIX commands and their use.  Goal 2: Understand the basic structure of a common.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
© Crown copyright Met Office An Introduction to Linux PRECIS Workshop, University of Reading, 23rd – 27th April 2012.
Introducing UNIX EMBnet slide 1 Introducing the UNIX Operating System.
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.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 9 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
C & Unix Final Session Review (… because I, too, can do PowerPoint …)
11 Aug 2015Windows1 Microsoft Windows Windows 7 (2009  2013) like Windows Vista but faster and more stable Installed on 61% of computers Enterprise edition.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
Linux+ Guide to Linux Certification, Second Edition
ABAQUS Installation on LINUX Platform D. Hanumanthappa, A. Jérusalem May 5th, 2010.
Operating Systems Lecture 5. Agenda for Today Review of previous lecture Browsing UNIX/Linux directory structure Useful UNIX/Linux commands Process concept.
Julien Thibault  Bells Labs develop a new operating system called “UNIX”  Written in C instead of assembly code  Able.
CS 6560 Operating System Design Lecture 3:Tour of GNU/Linux.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
March 2, 2005Wah-kai Ngai1 Installation of Geant4 1st HK Simulation Meeting.
Module 4 : Installation Jong S. Bok
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Tera Term Brian Smith Chris Vasse Zaheemat Adetoro William Newton Tom Presgraves.
Linux+ Guide to Linux Certification, Third Edition
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.
CSI3131 – Lab 1 Observing Process Behaviour. Running Linux under Virtual PC  Start Virtual PC  This Windows program provides a virtual machine to run.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Linux Commands C151 Multi-User Operating Systems.
2 Manual & Filestore Mauro Jaskelioff. Introduction Using the manual The UNIX filestore File permissions.
Agenda Using FTP What is FTP? How to Use the FTP Program How to transfer files Using FTP.
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
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.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
The Unix File sytem. Introduction Tree structure …
Introduction to UNIX and Linux.  Written by Dennis Ritchie and Ken Thomsom at Bell Labs in 1969  Initially written in assembly language and a high-level.
Getting Started with Unix Naomi Altman. Connecting to a PSU Linux Cluster click on SSH click on "quick connect" Host Name: lxcluster.tlt.psu.edu User.
Learning Unix/Linux Based on slides from: Eric Bishop.
WEST VIRGINIA UNIVERSITY Shared Research Facilities WVU HPC SUMMER INSTITUTE Introduction to Linux.
Overview of Linux Fall 2016 Dr. Donghyun Kim
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.
Getting started with CentOS Linux
Linux/Unix - Download Ubuntu Linux :
C151 Multi-User Operating Systems
Introduction to GNU/Linux (Fedora) Command Line Interface
Lab 1 introduction, debrief
Getting started with CentOS Linux
An introduction to the Linux environment v
Lab 2: Terminal Basics.
1.3 Given a scenario, apply appropriate Microsoft command line tools
Presentation transcript:

Linux introduction

Why Linux? Powerful (remote) shell

Starting with Linux Start a terminal window

Terminal

Who

Where

What

Details

The Linux Manual pages ls –l What does the “ -l ” option do? man ls NAME ls - list directory contents... -l use a long listing format …

Directory structure

/homehome directories for the users /etcsystem configuration files /varsystem log files /binprograms /usr/binprograms /sbinadministrator programs /usr/sbinadministrator programs /tmptemporary work space /mntnetwork disks /mediaCD-rom/DVD/USB sticks

The root directory

A closer look at a file

File/Directory permissions ls -l drwxr-xr-x 2 penguin users … scripts drwxr-xr-x -Directory (yes/no) -right for user, group and others -read, write and execute/open directory Access flags owner groupfile/directory name user group other

Running the Perl script

Where is the perl program?

Processes

Stopping a process

The root account The adminstrator account on a Linux system is called 'root' You need it to install new software

Usefull linux commands commanddescription pwdPrint the name of the current directory lsshow the files in a directory manOpen the manual page for a certain command cdChange directory fileExamine a file morePrint the contents of a text file (try also ‘less’) perlRun a perl script psList the running processes topList the active processes, updating killTerminate a process, try also 'pkill' and 'kill -9'

and more... commanddescription exitClose the current shell (also ctrl+d) sshOpen a connection to a remote computer cpCopy a file to a new location mvMove a file to a new location (or rename a file) rmRemove/delete a file mkdirCreate a new directory rmdirRemove a directory echoPrint a text findFind a file grepFind a text in one or more files

and even more... commanddescription screenstart a virtual terminal, if you want to switch off PC scpsecure network copy catprint the contents of a file to the terminal watchmonitor the output of a shell command tailprint the last lines of a text file, continuously headprint the first lines of a text file tarcreate of read a tarball archive gzipzip a file, use gunzip to unzip dateprint current date/time lncreate a (soft) link to a file, like a shortcut

... commanddescription suswitch to another user, default is 'root' sudoact as another user, password required zypperinstall new software, other flavours: apt-get, yum rebootreboot Linux shutdownshutdown the Linux environment printenvprint the environment variables setenvset the environment variables, depends on shell passwdchange your password