Chapter 6. Linux File System
|
|
- Prosper Butler
- 6 years ago
- Views:
Transcription
1 Chapter 6 Linux File System 1
2 File System File System management how to store informations on storage devices The Hierarchical Structure Types of file Common File system Tasks 2
3 The Hierarchical Structure of the Linux File System / home etc usr bin boot dev lib root local bin 3
4 / The Hierarchical Structure of the /bin /etc /boot /dev /usr /home Linux File System - first of mount point in linux - contains shells (bash) and file system management utilities - keep linux text-based configuration files - keep important linux booting files - keep all device files - keep all user binary and X library - keep user home directory /proc - is pseudo file system for tracking running process and state of linux system 4
5 The Hierarchical Structure of the Linux File System /var - keeping variable data, log file and printer spooling /lib - contain shared library that is required by system program /tmp - contain system temporary file /root - the root user s home directory /sbin - contains important system management and admin files (fdisk, fsck, ifconfig, init, mkfs, shutdown, halt) /media - system use to mount externel devices (CD/DVD, floppy drives) (or /mnt) 5
6 The Hierarchical Structure of the Linux File System Files in /etc directory 6
7 The Hierarchical Structure of the Linux File System FHS (Filesystem Hierarchy Standard) provide a standard directory structure for the file system, ensuring consistency between systems and distributions. 7
8 Types of Files Regular files Links FIFOs Sockets 8
9 Navigating the File System Path absolute path Current directory & relative path Home directory (~) pwd, cd, ls pwd (Present Working Directory) Display the current directory $ pwd cd Change the current directory $ cd /var/log $ cd.. $ cd ~ (or press cd ) 9
10 Navigating the File System pwd, cd, ls ls List the files and subdirectories that exist within a directory $ ls / $ ls /bin $ ls l / $ ls a /var/run $ ls R /var/run $ ls 10
11 Navigating the File System $ ls l ~ 1 file type 2 Owner s /Group/Other Permissions 3 Number of link 4 Owner s name 5 Group s name 6 Size 7 Last Update datetime 11 8 File/Dir name
12 Navigating the File System File type normal file - Block device file b Character device file c Directory d Link file l Permissions on file /directory Read r Write w Execute x 12
13 Creating Files and Directories Creating a new file : touch or vi touch command touch myfile.txt // size = 0 Using a Text editor vi newfile.txt vi /home/user1/file.txt Creating a directory : mkdir mkdir mydir mkdir /home/ti/mydir mkdir -p /home/ti/aa/bb 13
14 Viewing text file content cat, more, less, head, tail cat filename more more filename less filename Auto stop when full screen. Using spacebar, page up, page down, arrow keys when viewing head filename Display the first couple of lines of a text file tail filename Display the last couple of lines of a text file tail f filename : display new content to be added to the end of the file 14
15 Copying, moving, deleting cp, mv, rm, rmdir cp /tmp/schedule.txt ~ //copy file cp R ~/mydir ~/backup //copy dir. mv /tmp/mylog.txt /var/log //move file mv myfile.txt mynewfile.txt //rename rm filename //delete file rm -r dirname //delete directory rm -i filename //prompt rmdir dirname //delete empty directory 15
16 Using wildcard charaters *,?, [ab], [a-z] Example : there are these files in current directory vd.txt, vda.txt, vdb.txt, vdabc.txt, vd1.txt, vd22.txt, vd3.txt $ cp *.txt /home/an //copy 7 files $ cp vd[1-5].txt /home/an // copy 2 file $ cp vd[ab].txt /home/an // copy 2 file 16
17 Link files Hard link and Symbolic link (soft link) Pointers a different file/directory in the file system Symbolic link : similar shortcut in Windows OS ln pointee_file pointer_file ln -s pointee_file pointer_file (pointee_file = source file/dir pointer_file = hard link/ symbolic link file) $ ln -s /usr/share/doc/ ~/docs 17
18 Running executable file Linux OS searches through the directories listed in your PATH environment variable for the executable file you specified. Adding a new path to the $PATH PATH=$PATH:newpath Determine resident of exec file which $ which vi /usr/bin/vi $ which ls /bin/ls 18
19 Searching the File System find, locate, grep Find utility searchs for files of a specified name, or owner, or size Using *,? when specified name find path -name filename find path -user username find path -size size find path -size +size find path -size -size find / -name *.log find / -user root find / -size
20 Searching the File System Locate utility builds an index of the files. When searching files, locate runs a query of the index, doesn t search the file system directly. Locate runs much faster than find To use locate, must first install the findutilslocate package 20
21 Searching the File System Using grep to search for content within a file grep search_text file grep r help /*.txt grep help *.txt 21
22 Manage Disk Partitions Using fdisk to create disk partitions Building a file system with mkfs Mounting a partition with mount Checking the file system with fsck 22
23 Storage Devices In Linux system, storage devices is referenced as device files that stored in /dev directory. SCSI Hard disks, USB disks sda sdb sdc /dev/sda /dev/sdb /dev/sdc IDE Hard disks hda hdb hdc /dev/hda /dev/hdb /dev/hdc Floppy disks fd0 fd1 /dev/fd0 /dev/fd1 CDRom SCSI sr0 sr1 /dev/sr0 /dev/sr1 23
24 Partitions Primary and Extended partitions On the IDE hard disk, up to four primary partitions One of the primary partitions can be extended partition Include many logical partitions M B R primary M B R extended logical 24
25 Partitions Each Partition is referenced as one device, and have a device file in /dev Partitions as sda1, sda2, sda3, have corresponding device driver files as /dev/sda1, /dev/sda2, /dev/sda3, Ex. fdisk /dev/sda mount /dev/sda2 25
26 File system A file system style is the way that data is organized to store in the storage device Linux supports many of fs styles ext2, ext3, ext4, reiser, // Linux vfat, fat32, ntfs // Windows iso9660, //cdrom File system term also refer to a partition has been formatted with a file system 26
27 File system Linux uses a Virtual File System (VFS) that creates a single hierarchy that encompasses all partitions on all storage devices in the system Hình: Hệ thống tập tin ảo 27
28 Mount Mount the partition into an existing directory in your file system, before can use it (read/write data). sda sda1 / sda2 home etc usr bin sda3 sda4 local bin Storage device Logic file system 28
29 Unmount Unmount the partition into a directory sda sda1 / sda2 home etc usr bin sda3 sda4 local bin hda1 Storage device logic file system Storage device 29
30 Unmount T1 : / ñược mount với sda1 $ ls /usr/local vd1.txt T2: /usr ñược mount với sda2 $ vi /usr/local/vd2.txt $ ls /usr/local??? T3: umount /usr với sda2 $ ls /usr/local??? 30
31 Using fdisk to create disk partitions Syntax : $ fdisk /dev/sdb =>press m to open menu Choose p to view partition table Choose n to make new partition Choose d to delete a partition Choose w to write table and exit, or q to exit without saving 31
32 Using fdisk to create disk partitions To make a new partition Choose making a primary partition or extended partition? Size of partition (MB or start and end cylinder) Have to create at least two partitions on a primary hard disk : swap partition and root partition a swap partition OS uses it as virtual memory it s size is at least twice as large as your installed RAM 32
33 Using fdisk to create disk partitions 33
34 Using fdisk to create disk partitions To view the partition table $ fdisk -l 34
35 Building a file system with mkfs mkfs Used to make an ext2 or ext3 (or FAT) file system on a partiton mkfs -t ext3 /dev/sda2 mkreiserfs Used to make a Reiser file system on a partition mkreiserfs /dev/sdc3 Other utilities : mkswap, mk2fs, mkfs.msdos, mkfs.vfat 35
36 Mounting a partition with mount mount command syntax: mount t type device target-dir type : ext2, ext3, reiserfs, device : /dev/hda1, /dev/hdb1, target-dir : /, /var, /home, /mnt/cdrom, 36
37 Mounting a partition with mount Using mount command / hda3, ext2 hda1,ext2 /var /home hda4,ext2 $ mount t ext2 /dev/hda3 / $ mount t ext2 /dev/hda4 /home $ mount t ext2 /dev/hda1 /var 37
38 Mounting a partition with mount After mounting the partition, you can use the mount command with no options to view all mounted file systems. Or using df utility $ mount $ df 38
39 Mounting a partition with mount Automatically mount when the system boot or reboot The /etc/fstab file contains a list of file systems that the operating system mounts whenever it boots. Each line specifies a separate file system to be mounted on boot partition mount_point fs_type options dump check 39
40 Mounting a partition with mount You can add a new mount partition entry in /etc/fstab that Linux will automatically mount at boot. - Using vi editor to open /etc/fstab, then add the new line 40
41 unmount Using umount command: two ways umount dir_name umount device_name - Have to unmount before unplug removable devices - Unmount to free the mount point - Automatically unmount when the OS shutdowns (halt) 41
42 ðĩa USB : /dev/sdb Có 2 partittion /dev/sdb1 /dev/sdb2 /mnt/usb1 /mnt/usb2 Cần rút ñĩa USB => thực hiện unmount umount /dev/sdb Hoặc: umount /mnt/usb1 umount /mnt/usb2 umount /dev/sdb1 umount /dev/sdb2 42
43 Checking the file system with fsck Using fsck to check your file systems for errors and make repairs fsck device $ fsck /dev/sdc1 43
44 Use Removable Media Floppies, optical devices, USB, FireWire devices Need to mount with a directory Need to unmount before remove 44
45 Working with floppy $ mount t vfat /dev/fd0 /media/floppy $ mount $ vi /etc/fstab /dev/fd0 /media/floppy auto noauto,user,sync 0 0 $ mount /dev/fd0 $ umount /dev/fd0 45
46 Working with optical devices (1) mount t iso9660 /dev/hdc /media/cdrom (2) Adding a line in /etc/fstab file : /dev/hdc /media/cdrom iso9660 noauto,user,sync 0 0 so, mount a cdrom by entering mount /dev/hdc (3) umount /dev/hdc 46
47 USB, FireWire devices Automatically detect a new device when connect an external storage device SCSI device Check /var/log/messages file after connecting the device Create on the device A partition A file system Mount device mount t auto /dev/sdd /media/thumbdrive umount the device before remove it 47
48 Using YaST YaST utility Install software, manage hardware settings, partition hard drives, configure bootloaders, configure network board, configure users and groups, settings for the services running on system Ex. : Using YaST to partition on usb disk 48
49 Back up data Selecting a Backup Medium Floppies, tape drive CDs, DVDs USB External hard drives 49
50 Back up data Selecting a Backup Strategy Selecting Backup type : Full Incremental Differential Selecting a backup schedule Determining what to back up 50
51 Back up data Linux Backup Utilites tar, cpio 51
Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories
Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the
More informationThis is Worksheet and Assignment 12. Disks, Partitions, and File Systems
This is Worksheet and Assignment 12 This is a combined Worksheet and Assignment.. Quizzes and tests may refer to work done in this Worksheet and Assignment; save your answers. You will use a checking program
More informationWelcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions
Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04
More informationCST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2
Student Name: Lab Section: Disks, Partitions, and File Systems - Part 2 of 2 1 Due Date - Upload to Blackboard by 8:30am Monday April 9, 2012 Submit the completed lab to Blackboard following the Rules
More informationManage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS)
Manage Directories and Files in Linux Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change Directories and List Directory Contents Create and View
More informationFile systems and Filesystem quota
File systems and Filesystem quota 8.1 Unit objectives After completing this unit, you should be able to: Describe what a file is Describe what a file system is List possible file systems Describe i-nodes
More informationLiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery
LiLo Crash Recovery ***** *** * I have captured this information from someone else website which I didn t record where I copied it from or when I copied it. And I ve left it as it is. The credit should
More informationExam Actual. Higher Quality. Better Service! QUESTION & ANSWER
Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 050-710 Title
More informationDisks, Filesystems 1
Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting
More informationGetting Started with Linux
Getting Started with Linux For those with experience using Microsoft Windows there will be many familiar ways of operating in a Linux environment. There are also a few key differences. The main differences
More informationEmbedded System Design
Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect
More informationFull file at https://fratstock.eu
Guide to UNIX Using Linux Fourth Edition Chapter 2 Solutions Answers to the Chapter 2 Review Questions 1. Your company is discussing plans to migrate desktop and laptop users to Linux. One concern raised
More informationUnix System Architecture, File System, and Shell Commands
Unix System Architecture, File System, and Shell Commands Prof. (Dr.) K.R. Chowdhary, Director COE Email: kr.chowdhary@iitj.ac.in webpage: http://www.krchowdhary.com JIET College of Engineering August
More informationDisks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1
Disks, Filesystems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity:
More informationUnix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech
Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical
More informationChapter 4 File system management. Chapter 4 File system management
Chapter 4 File system management Chapter 4 File system management Last revised: 20/6/2004 Chapter 4 Outline In this chapter we will learn about: The standard hierarchy of the file system Local and network
More informationDisks, Filesystems Todd Kelley CST8177 Todd Kelley 1
Disks, Filesystems Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck
More information5/8/2012. Creating and Changing Directories Chapter 7
Creating and Changing Directories Chapter 7 Types of files File systems concepts Using directories to create order. Managing files in directories. Using pathnames to manage files in directories. Managing
More informationUnix Filesystem. January 26 th, 2004 Class Meeting 2
Unix Filesystem January 26 th, 2004 Class Meeting 2 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech Unix Filesystem! The filesystem is your interface
More informationFilesystem Hierarchy Operating systems I800 Edmund Laugasson
Filesystem Hierarchy Operating systems I800 Edmund Laugasson edmund.laugasson@itcollege.ee There has been used materials from Margus Ernits, Katrin Loodus when creating current slides. Current document
More informationUNIX System Programming Lecture 3: BASH Programming
UNIX System Programming Outline Filesystems Redirection Shell Programming Reference BLP: Chapter 2 BFAQ: Bash FAQ BMAN: Bash man page BPRI: Bash Programming Introduction BABS: Advanced Bash Scripting Guide
More informationCSE 265: System and Network Administration
CSE 265: System and Network Administration Disks Partitions Volumes Filesystems Files Many versions SCSI: Small Computer Systems Interface SCSI-1 (1986) 8-bits, 5MB/s SCSI-2 (1990) added command queuing,
More informationOperating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm
Operating Systems Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) armahmood786@yahoo.com alphasecure@gmail.com alphapeeler.sf.net/pubkeys/pkey.htm http://alphapeeler.sourceforge.net pk.linkedin.com/in/armahmood
More informationRocketRAID 231x/230x SATA Controller Debian Linux Installation Guide
RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on September 17, 2008 Table of Contents 1
More informationFile System Hierarchy Standard (FHS)
File System Hierarchy Standard (FHS) Filesystem hierarchy standard describes directory structure and its content in Unix and Unix like operating system. It explains where files and directories should be
More informationLecture 2: The file system
Lecture 2: The file system Hands-on Unix System Administration DeCal 2012-01-30 1 / 19 Basic programs Basic commands 2 / 19 Basic programs Basic programs Basic commands pwd cd ls cp, mv less, vi 3 / 19
More informationPartitioning and Formatting Guide
Partitioning and Formatting Guide Version 1.2 Date 05-15-2006 Partitioning and Formatting Guide This guide is designed to explain how to setup your drive with the correct partition and format for your
More informationLinux Command Line Primer. By: Scott Marshall
Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and
More informationRocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide
RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on November 5, 2008 Table
More informationRocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide
RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on April 7, 2009 Table of Contents 1 Overview...1
More informationRocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide
RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on November 13, 2008 Table
More informationFedora Linux Installation Guide
RocketRAID 276x SAS Controller Fedora Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Last updated on May 29, 2012 Table of Contents 1 Overview...
More informationRocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide
RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on February 16, 2009 Table of Contents 1 Overview...1
More informationEmbedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island
Embedded Linux Systems Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Generic Embedded Systems Structure User Sensors ADC microcontroller
More informationExam Linux-Praxis - 1 ( From )
Exam Linux-Praxis - 1 ( From http://www.linux-praxis.de ) (1)Which of the following commands results in mailing the content of the current directory to Bob? A. mail Bob < ls B. ls > mail Bob C. ls mail
More informationFilesystem Hierarchy and Permissions
and Linux Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1/15 Multiuser and Server Operating System Linux systems are commonly used as a multi-user system E.g.
More informationProject 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems
Project 3: An Introduction to File Systems COP 4610 / CGS 5765 Principles of Operating Systems Introduction Project 3 learning objectives File system design and implementation File system testing Data
More informationCST Algonquin College 2
Partitions Lab due dates: Labs are due as specified usually on Page1 of the Lab document Lab due dates are expressed as: 10 min before the end of the lab period during a certain week There is a grace period
More informationSLES Linux Installation Guide
Rocket RAID 278x SAS Controller SLES Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Created on May 29, 2012 Table of Contents 1 Overview... 1 2 Installing
More informationRocketRAID 2310/2300 Controller Fedora Linux Installation Guide
RocketRAID 2310/2300 Controller Fedora Linux Installation Guide Version 1.1 Copyright 2006 HighPoint Technologies, Inc. All rights reserved. Last updated on Jan 20, 2006 Table of Contents 1 Overview...1
More informationFilesystem Hierarchy and Permissions
2 and Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1 Multiuser and Server Operating System systems are commonly used as a multi-user system E.g. multiple
More informationLab Working with Linux Command Line
Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed
More informationCSE 265: System and Network Administration
CSE 265: System and Network Administration Disks Partitions Volumes Filesystems Files Disk interfaces Relatively few SCSI (pronounced scuzzy ) Common, widely supported IDE a.k.a. ATA or PATA, and SATA
More informationTestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103
TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 CompTIA Linux+ Powered by LPI LX0-103 Objectives The Linux+ Powered by LPI Exam: LX0-103 exam covers the following topics. #
More informationCSCI 2132 Software Development. Lecture 4: Files and Directories
CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts
More informationCSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80
CSE 303 Lecture 2 Introduction to bash shell read Linux Pocket Guide pp. 37-46, 58-59, 60, 65-70, 71-72, 77-80 slides created by Marty Stepp http://www.cs.washington.edu/303/ 1 Unix file system structure
More informationFile System. yihshih
File System yihshih Files % ls l d rwx--x--x 7 wutzh gcs 1024 Sep 22 17:25 public_html File type File access mode # of links File user owner File group owner File size File last modify time 2 File name
More informationPresented by Bill Genske Gary Jackson
Quintessential School Systems Session C Linux Presented by Bill Genske Gary Jackson Copyright Quintessential School Systems, 2009 All Rights Reserved 867 American Street --- Second Floor --- San Carlos,
More informationProject 3: An Introduction to File Systems. COP4610 Florida State University
Project 3: An Introduction to File Systems COP4610 Florida State University 1 Introduction The goal of project 3 is to understand basic file system design and implementation file system testing data serialization/de-serialization
More informationStd: XI CHAPTER-3 LINUX
Commands: General format: Command Option Argument Command: ls - Lists the contents of a file. Option: Begins with minus sign (-) ls a Lists including the hidden files. Argument refers to the name of a
More informationUbuntu Linux Installation Guide
RocketRAID 278x SAS Controller Ubuntu Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Last updated on May 29, 2012 Table of Contents 1 Overview...
More informationRocket RAID 2644 SAS Controller opensuse Linux Installation Guide
Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Last updated on June 12, 2012 Table of Contents 1 Overview...
More informationFedora Linux Installation Guide
RocketRAID 2640/2642 SAS Controller Fedora Linux Installation Guide Version 1.2 Copyright 2012HighPoint Technologies, Inc. All rights reserved. Last updated on August 10, 2012 Table of Contents 1 Overview...
More informationh/w m/c Kernel shell Application s/w user
Structure of Unix h/w m/c Kernel shell Application s/w. user While working with unix, several layers of interaction occur b/w the computer h/w & the user. 1. Kernel : It is the first layer which runs on
More informationHow To Resize ext3 Partitions Without Losing Data
By Falko Timme Published: 2007-01-07 17:12 How To Resize ext3 Partitions Without Losing Data Version 1.0 Author: Falko Timme Last edited 12/31/2006 This article is about
More informationIntroduction to Linux Part I: The Filesystem Luca Heltai
The 2nd workshop on High Performance Computing Introduction to Linux Part I: The Filesystem Luca Heltai SISSA/eLAB - Trieste Adapted from a presentation by Michael Opdenacker Free Electrons http://free-electrons.com
More informationChapter-3. Introduction to Unix: Fundamental Commands
Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system
More informationCREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================
Requirements :: --------------- CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================ * I prepared my stand alone RTAI for the following hardware configurations.
More informationLinux Nuts and Bolts
Linux Nuts and Bolts David Morgan At the command line Cursor control type to insert del/ctrl-d to delete home/end for endpoints Filename completion tab after initial characters Command repetition uparrow
More informationUNIX File Hierarchy: Structure and Commands
UNIX File Hierarchy: Structure and Commands The UNIX operating system organizes files into a tree structure with a root named by the character /. An example of the directory tree is shown below. / bin
More informationLinux Files and the File System
Linux Files and the File System 1. Files a. Overview A simple description of the UNIX system, also applicable to Linux, is this: "On a UNIX system, everything is a file; if something is not a file, it
More informationSoma s Installation Notes
For Details, Contact: Thay Soma sundaram Telephone: 850-644-6448 E-mail: soma@sb.fsu.edu Soma s Installation Notes Kasha Laboratory of Biophysics Institute of Molecular Biophysics Florida State University
More information*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG
*nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install
More informationOPS235. Linux File Systems Partitioning Mounting File Systems
OPS235 Linux File Systems Partitioning Mounting File Systems 1 Lab 4 Part 1 Topics Linux File Systems (ext2 / ext3 / ext4) Linux Partitioning / Formatting Mounting Linux File Systems 2 Linux File Systems
More informationWeek 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University
Week 10 Project 3: An Introduction to File Systems Classes COP4610 / CGS5765 Florida State University 1 Introduction The goal of project 3 is to understand basic file system design and implementation file
More informationINTRODUCTION TO LINUX
INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free
More informationLPIC-1 System Administrator
LPIC-1 System Administrator The world s largest and most recognized Linux Certification LPIC-1 is the first certification in LPI s multi-level Linux professional certification program. The LPIC-1 will
More informationThe landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions
The landscape David Morgan File hierarchy overview A tree structure of directories The directory tree is standardized But varies slightly among distributions portions can spread across different partitions
More informationIntroduction to UNIX command-line
Introduction to UNIX command-line Boyce Thompson Institute March 17, 2015 Lukas Mueller & Noe Fernandez Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions
More informationFiles and Directories
CSCI 2132: Software Development Files and Directories Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Files and Directories Much of the operation of Unix and programs running on
More informationRH133. Red Hat Linux System Administration
RH133 Red Hat Linux System Administration Version 3.5 QUESTION NO: 1 RH133 John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. He is working as a root
More informationGNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018
GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux
More informationStop all processes and then reboot - same as above startx. Log in as superuser from current login exit
Starting & Stopping shutdown -h now Shutdown the system now and do not reboot shutdown -r 5 Shutdown the system in 5 minutes and reboot shutdown -r now Shutdown the system now and reboot reboot Stop all
More informationInstallation of the OS
Lab 1 Installation of the OS 1.1 Objectives The goal of this first session is to install a Debian/Linux operating system from scratch on a Intel x86- based computer. The installation will be made on a
More informationLinux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester
Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---
More informationAsianux Server 3 Installation Guide
Asianux Server 3 Installation Guide 1 Announcement: Asianux Server 3 is protected by applicable copyright laws and is distributed under the GNU General Public License that restricts the usage, copying,
More informationPerl and R Scripting for Biologists
Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications
More informationUnix File System. Learning command-line navigation of the file system is essential for efficient system usage
ULI101 Week 02 Week Overview Unix file system File types and file naming Basic file system commands: pwd,cd,ls,mkdir,rmdir,mv,cp,rm man pages Text editing Common file utilities: cat,more,less,touch,file,find
More informationOverview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions
Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System
More informationSome Practical Matters. Introduction to Unix. What's Our Goal? Linux!= UNIX
Introduction to Unix AfNOG 2006 Workshop May 7, 2006 Nairobi, Kenya Hervey Allen Phil Regnauld Some Practical Matters Please do not change the root password. Please do ask questions! Lots of questions!
More informationFiles
http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationFiles. Computer Center, CS, NCTU. % ls l. d rwx--x--x 7 liuyh gcs 1024 Sep 22 17:25 public_html. File type. File access mode.
File System Files % ls l d rwx--x--x 7 liuyh gcs 1024 Sep 22 17:25 public_html File type File access mode # of inodes File user owner File group owner File size File last modify time 2 File name Outline
More informationVirtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/
Virtual Machine Anyone have problems installing it? VM: Virtual Box - allows you to run a different operating system within the current operating system of your machine. https://www.virtualbox.org/ Linux
More informationUnix Introduction to UNIX
Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various
More informationFile System: Interface and Implmentation
File System: Interface and Implmentation Two Parts Filesystem Interface Interface the user sees Organization of the files as seen by the user Operations defined on files Properties that can be read/modified
More informationOperating Systems: Lecture 12. File-System Interface and Implementation
1 Operating Systems: Lecture 12 File-System Interface and Implementation Jinwoo Kim jwkim@jjay.cuny.edu Outline File Concept and Structure Directory Structures File Organizations Access Methods Protection
More informationLab E2: bypassing authentication and resetting passwords
Lab E2: bypassing authentication and resetting passwords TTM4175 September 7, 2015 The purpose of this lab is to learn about techniques for bypassing the authentication and access control of Windows and
More informationNational University of Computer and Emerging Sciences Operating System Lab - 02 Lab Manual
National University of Computer and Emerging Sciences Operating System Lab - 02 Lab Manual Objective This lab is all about running commands in Ubuntu Terminal and compiling C program in Ubuntu Table of
More informationA file system is a clearly-defined method that the computer's operating system uses to store, catalog, and retrieve files.
File Systems A file system is a clearly-defined method that the computer's operating system uses to store, catalog, and retrieve files. Module 11: File-System Interface File Concept Access :Methods Directory
More informationDisks & File Systems. Dick Gillman, ITSS. 1/19/06 10:20:11 am docs/disks.sxi
Disks & File Systems Dick Gillman, ITSS 1/19/06 10:20:11 am docs/disks.sxi IDE and SCSI most lower end systems come with IDE SCSI better performance choose system with SCSI for servers Checklist for new
More informationELEC 377 Operating Systems. Week 8 Class 1
ELEC 377 Operating Systems Week 8 Class 1 Last Class Shell Scripting Admin No class next Monday or Tuesday There IS A lab, still: Lab 4 Part 1 Quiz #3 moved to Thursday November 8th Today File Systems
More informationLinux Essentials Objectives Topics:
Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More informationUsing grub to Boot various Operating Systems
Operating Systems and Systems Integration Using grub to Boot various Operating Systems Contents 1 Aim 2 2 What You Will Do 2 3 Background 2 3.1 Installing grub in MBR from a floppy, and from the OS........
More informationHands-on Keyboard: Cyber Experiments for Strategists and Policy Makers
Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity
More informationLinux Systems Administration Getting Started with Linux
Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International
More informationBasic Linux Command Line Interface Guide
This basic Linux Command-Line Interface (CLI) Guide provides a general explanation of commonly used Bash shell commands for the Barracuda NG Firewall. You can access the command-line interface by connecting
More informationPiCloud. Building owncloud on a Raspberry PI
PiCloud Building owncloud on a Raspberry PI PiCloud - Building owncloud on a Raspberry PI by Sebastian Büttrich is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
More informationLearn Linux, 101: Control mounting and unmounting of
Getting to your data Ian Shields January 27, 2016 (First published October 20, 2010) Learn to mount your Linux ; configure and use removable USB, IEE 1394, or other devices; and properly access floppy
More information