LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.

Slides:



Advertisements
Similar presentations
POS/420 Philip Robbins – March 19, 2013 (Week 2) University of Phoenix Mililani Campus Introduction to Unix.
Advertisements

Linux Booting Procedure
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
A Guide to Unix Using Linux Fourth Edition
CS 497C – Introduction to UNIX Lecture 11: - The File System Chin-Chih Chang
5 Basic utilities When a user logs in to the Linux operating system the directory that they will start in is their home directory. Most users will have.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Linux Linux File System.
The UNIX File System.
Guide To UNIX Using Linux Third Edition
UNIX/Linux System Programming Jordan University of Science and Technology History.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
Guide To UNIX Using Linux Fourth Edition
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
The file structure and related utilities CS240 Computer Science II.
Manage Directories and Files in Linux
Linux Filesystem Last Update Copyright Kenneth M. Chipps Ph.D. 1.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Unix Basics Chapter 4.
Chapter Two Exploring the UNIX File System and File Security.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Linux Introduction What is Linux? How do you use it?
Filesystem Hierarchy Dr. Michael L. Collard 1.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Linux file system "On a UNIX system, everything is a file; if something is not a file, it is a process." Sorts of files (on a Linux system) Directories:
Introduction to UNIX Road Map: 1. UNIX Structure 2. Components of UNIX 3. Process Structure 4. Shell & Utility Programs 5. Using Files & Directories 6.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Chapter Two Exploring the UNIX File System and File Security.
E X C E E D I N G E X P E C T A T I O N S Basic LINUX Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Directory structure:
1 © 2001 John Urrutia. All rights reserved. Chapter 4 The LINUX Filesystem.
Linux Commands C151 Multi-User Operating Systems.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Slide: 1 UNIX FILE SYSTEM By:Qing Yang ID: Operating System Research Topic December, 2000.
Linux Filesystem WeeSan Lee. Roadmap Disk Partitions The Filesystem Filesystem Mouting & Umounting File Tree File Type File Permission.
Chapter 10: File-System Interface Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Interface.
The Unix File system (UFS) Presented by: Gurpreet Singh Assistant Professor Department of School of Computing and Engineering Galgotias University.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
BIF713 File and Directory Management. File System A File System is a structure used to organize programs and data on a computer ’ s storage device Files.
UNIX File System By Vishal Desai. Introduction Basic purpose of file system: Represent and organize the system resources. But UNIX File System also maps.
SUSE Linux Enterprise Desktop Administration Chapter 7 Manage Directories and Files.
UNIX filesystem CS 2204 Class meeting 2 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
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.
UNIX/LINUX OPERATING SYSTEM
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.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
Embedded Software Design Week II Linux Intro Linux Kernel.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
BILKENT UNIVERSITY DEPARTMENT OF COMPUTER TECHNOLOGY AND INFORMATION SYSTEMS CTIS156 INFORMATION TECHNOLOGIES II FILES AND FILE SYSTEM STRUCTURE.
Filesystem Hierarchy Operating systems I800
Linux 101 Training Module Linux Basics.
Welcome to Linux Chap#1 Hanin Abdulrahman.
UBUNTU INSTALLATION
Linux file system "On a UNIX system, everything is a file;
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Basic Commands ls cp ls –l (in detail format) echo ls –a
C151 Multi-User Operating Systems
Command Line Interface for Beginners
Linux file system administration
9 Linux on the Desktop.
Exploring the UNIX File System and File Security
Operating Systems Lecture 4.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Consult America Technology Consulting Services
Chapter 4: The Linux Filesystem
January 26th, 2004 Class Meeting 2
Presentation transcript:

LINUX Zhengli Zhu, School of Life Sciences

Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming

ABC of Linux  Linux is a Unix-like and mostly POSIX-compliant computer operating system assembled under the model of free and open-source software development and distribution. The defining component of Linux is the Linux kernel, an operating system kernel first released on 5 October 1991 by Linus Torvalds. The Free Software Foundation uses the name GNU/Linux to describe the operating system, which has led to some controversy.

ABC of Linux

 User interface

ABC of Linux  Versions of Linux

ABC of Linux  Cygwin is:  a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.  a DLL (cygwin1.dll) which provides substantial POSIX API functionality. 

ABC of Linux

ABC of Linux

Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming

Basic orers of Linux - File system  Linux organizes files in a hierarchical tree, where relationships are thought of in teams of children and parent. Directories can contain other directories as well as regular files, which are the "leaves" of the tree. Any element of the tree can be references by a path name; an absolute path name starts with the character / (identifying the root directory, which contains all other directories and files), then every child directory that must be traversed to reach the element is listed, each separated by a / sign.  A relative path name is one that doesn't start with /; in that case, the directory tree is traversed starting from a given point, which changes depending on context, called the current directory. In every directory, there are two special directories called. and.., which refer respectively to the directory itself, and to its parent directory.

Basic orers of Linux - File system Examples

Basic orers of Linux - File system Main directories The standard Linux directory structure mostly follows the Filesystem Hierarchy Standard, which can be referred to for more detailed information.  /bin is a place for most commonly used terminal commands, like ls, mount, rm, etc.  /boot contains files needed to start up the system, including the Linux kernel, a RAM disk image and bootloader configuration files.  /dev contains all device files, which are not regular files but instead refer to various hardware devices on the system, including hard drives.  /etc contains system-global configuration files, which affect the system's behavior for all users.  /home home sweet home, this is the place for users' home directories.  /lib contains very important dynamic libraries and kernel modules

Basic orers of Linux - File system  /mnt is also a place for mount points, but dedicated specifically to "temporarily mounted" devices, such as network filesystems.  /opt can be used to store addition software for your system, which is not handled by the package manager.package manager  /proc is a virtual filesystem that provides a mechanism for kernel to send information to processes.  /root is the superuser's home directory, not in /home/ to allow for booting the system even if /home/ is not available.superuser  /sbin contains important administrative commands that should generally only be employed by the superuser.superuser  /srv can contain data directories of services such as HTTP (/srv/www/) or FTP.  /sys is a virtual filesystem that can be accessed to set or obtain information about the kernel's view of the system.

Basic orers of Linux - File system  /tmp is a place for temporary files used by applications.  /usr contains the majority of user utilities and applications, and partly replicates the root directory structure, containing for instance, among others, /usr/bin/ and /usr/lib.  /var is dedicated variable data that potentially changes rapidly; a notable directory it contains is /var/log where system log files are kept.

Basic orers of Linux  cd  ls  cp  mv  rm, rmdir  more, less, head, tail,  date, chmod, chown, chgrp  top  history  Ctrl+Z

Basic orders of Linux  touch,mkdir  tar zxvf/czvf  gzip /gunzip  vi [file name] :wq :q! i,a,d  nano  wget

Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming

Bash Programming  Hello world  Standard output  Pipe  Variable  If  For  Function  Simple mathematic programming