A gentle introduction to LINUX at the command prompt.

Slides:



Advertisements
Similar presentations
Pre-Assessment Questions
Advertisements

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.
1 Introduction to UNIX Ke Liu
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
©Colin Jamison 2004 Introduction to Linux Colin Jamison.
UNIX file systems Learning Objectives: 1. To understand the basics of file systems 2. To understand the hierarchical structure in Unix file system 3. To.
Linux Linux File System.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
Basic UNIX © McGraw Hill All rights reserved.
Linux Commands LINUX COMMANDS.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
File Systems Sources and Resources: 1. A Students Guide to UNIX, by Hahn 2. Paula Davidson’s Handout on UNIXHandout on UNIX.
The file structure and related utilities CS240 Computer Science II.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
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.
1 Lecture 2 Working with Files and Directories COP 3344 Introduction to UNIX.
Unix Basics Chapter 4.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
Linux Un*x Overview Peter Norton’s Guide to Unix Running Linux (O’Reilly)
Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
June 1, 1999UNIX File System1 Introduction to UNIX D. UNIX File Structure.
System Administration Introduction to Unix Session 2 – Fri 02 Nov 2007 Reference:  chapter 1, The Unix Programming Environment, Kernighan & Pike, ISBN.
Natawut NupairojAssembly Language1 Unix Survival Guide.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
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.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
Managing Files. Module 5 Managing Files ♦ Introduction “On a Linux system, everything is a file; if something is not a file, it is a process.” ♦ Topics.
Introduction to UNIX Road Map: 1. UNIX Structure 2. Components of UNIX 3. Process Structure 4. Shell & Utility Programs 5. Using Files & Directories 6.
November 5, 2015CIS 118 Intro to UNIX What’s a Unix? Unix is an Operating System Designed for high-traffic usage Many variants –Linux, BSD: free versions.
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
Chapter 4 The File Structure. Contents u The Hierarchical File Structure u Directory and Ordinary Files u Directories u Access Permissions u Links.
Getting Started UNIX InKwan Yu Topics Unix Commands Unix System calls C function calls.
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
Linux Commands C151 Multi-User Operating Systems.
2 Manual & Filestore Mauro Jaskelioff. Introduction Using the manual The UNIX filestore File permissions.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
1 Lecture 2 Working with Files and Directories COP 3353 Introduction to UNIX.
UNIX filesystem CS 2204 Class meeting 2 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
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.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Chapter 2: Exploring the UNIX File System (For Tuesday Section) File and File Systems.
Learning Unix/Linux Based on slides from: Eric Bishop.
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
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.
Introducing the UNIX Operating System.
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.
Linux 101 Training Module Linux Basics.
Andy Wang Object Oriented Programming in C++ COP 3330
Lecture 2 Working with Files and Directories
Some Linux Commands.
UNIX Basics Internet Technology.
Introduction to Linux Week 0 - Thursday.
Unix : Introduction and Commands
Web Programming Essentials:
Chapter 7 File and file System structure
UNIX Commands A Brief Look at Common UNIX Commands.
Andy Wang Object Oriented Programming in C++ COP 3330
UNIX Commands A Brief Look at Common UNIX Commands.
Linux Shell Script Programming
UNIX Commands A Brief Look at Common UNIX Commands.
Module 6 Working with Files and Directories
Linux Commands LINUX COMMANDS.
UNIX Commands A Brief Look at Common UNIX Commands.
Chapter 4: The Linux Filesystem
January 26th, 2004 Class Meeting 2
Presentation transcript:

A gentle introduction to LINUX at the command prompt

Overview n UNIX components – Kernel: the managing processes – file system: the file management processes – Shell: command-line interpreter t Korn, Bourne, Bash and C shells n Characteristics – multiuser – multitask, multithread – concurrency – built-in networking (NFS) – 32/64 - bit OS n X-Windows and UNIX – mwm (Motif) – olwm (Open Look) – Linux: XFree86XFree86

Some basics n You need to open a terminal n System prompts – Korn, Bash and Bourne Shells: $ – C Shell: % (root #) – Linux: uses the bash shell n Commands – login, logout – news, passwd, cal, who, finger, talk – man (basic help) – to interrupt Ctrl-C – cat, more – pico (text editor in Linux)

File and directory basics n File concepts – filenames: up to 14 digits, one word including _ and. t e.g.: test_program and sales.report.1 t case sensitive bold is not BOLD – types: ordinary, directories, special devices and links – pathnames: /home/abento/select.html t common names: usr, users, bin, etc t full and relative n Basic file commands in UNIX – How to obtain a directory listing: ls and ls -al – How to create, remove, change to, and present working directory. t mkdir, rmdir, cd, pwd. – How to copy, move, delete, type. – Use cp, mv, rm -i, cat

Reading the DIR output total 3043 size in blocks (4k) of the directory permis links Owner Group size date time fname -rwxr-xr-x 1 abento faculty 95 Aug 2 14:13 UBmail* -rw abento faculty 4294 Mar Wp60 lrwxr-xr-x 1 root sys 42 Aug 3 09:11 SoftWindows -rwx abento faculty Oct 16 17:56 Xdefaults.swin* drwx--x--x 3 abento faculty 512 Aug 21 12:20 ais.dir/ drwxr-xr-x 2 abento faculty 512 Aug 3 09:11 axhome/ drwxr-xr-x 3 abento faculty 512 Sep 18 14:54 dumpster/ -rwx--x--x 1 abento faculty Aug 23 14:00 hcl95.hlp* -rw abento faculty Jun 21 16:05 lviewp1b.zip drwx abento faculty 512 Aug 3 09:11 mail/ -rw abento faculty 957 Jun 16 17:00 osref.books drwxr--r-- 8 abento faculty 512 Aug 3 09:11 pub/ drwx abento faculty 512 Aug 3 09:11 root/ -rw abento faculty 2162 Oct 18 17:09 select.html File type: - ordinary, d directory, l symbolic link, b block, c special character, p piped. Permissions: r read, w write, x execute (O, G,W)

First glance at X-Windows n File system: open the file manager icon – explore the file hierarchy – see usr, users, bin, x11, etc n Copy, move, delete, etc n Creating and renaming directories n Learning to use help n Commands in the toolbar n Cutting and pasting n Using Kedit, Netscape and WP