1 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure /bin /dev /etc /sbin /home /lost+found / Root Dir /dsk /rdsk /term /pts /rmt.

Slides:



Advertisements
Similar presentations
Va-scanCopyright 2002, Marchany Unit 8 – Solaris File Systems Randy Marchany VA Tech Computing Center.
Advertisements

POS/420 Philip Robbins – March 19, 2013 (Week 2) University of Phoenix Mililani Campus Introduction to Unix.
Basic Unix system administration
Some history PDP versions BSD/Version 7 split VAX virtual memory implementations End of line 4.4 BSD System V merges Modern versions OSF/1, Solaris, HPUX.
Linux Booting Procedure Sirak Kaewjamnong. 2 How Linux boot?
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
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.
Unix Refresher This presentation is an amalgam of presentations by Mark Michael, Randy Marchany and Ed Skoudis. I have edited and added material. Dr. Stephen.
1.1 The Linux System: Design Principles Linux is a multiuser, multitasking system with a full set of UNIX-compatible tools. Its file system adheres to.
Welcome to Linux Community. A free Unix-type operating system developed under the GNU General Public License. ● Open source ● Popular ● Support most of.
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.
Manual pages 4 Traditionally, /usr/man/manX & /usr/man/manX, X=1..8 (sections), l or n, where l=local copy, n=not strictly local software or not standard.
Guide To UNIX Using Linux Third Edition
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
Introduction to Linux Installing Linux User accounts and management Linux’s file system.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Manage Directories and Files in Linux
Linux Filesystem Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Unix Basics Chapter 4.
2/19/2003 Lecture 3 Computer System Administration Lecture 3 Setup (continued)
Introduction to Unix – CS 21 Lecture 2. Lecture Overview Starting out in Unix Getting help when needed Looking around a little Environment and Environment.
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.
USING YOUR INSTALLED LINUX SYSTEM.  Common Linux Tasks  Installing Custom Packages  Common GUI Applications  Command Line Shell  Directory Structure/Navigation.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
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:
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.
Λειτουργικά Συστήματα - Lab1 Γιάννης Πετράκης. The Operating System  Unix is a layered operating system  The innermost layer is the hardware that provides.
1 © 2001 John Urrutia. All rights reserved. Chapter 4 The LINUX Filesystem.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
UNIX History - joint venture between MIT and Bell Labs (originally called Multics) – Ken Thompson (AT&T) created an operating system to run Space.
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.
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.
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.
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 Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
UNIX Filesystem and Hierarchy AfNOG 2008 Workshop May Rabat, Morocco.
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;
Linux/Unix - Download Ubuntu Linux :
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
UNIX Filesystem and Hierarchy
Exploring the UNIX File System and File Security
Perl Scripting and The File system
Linux Architecture Overview.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Chapter 4: The Linux Filesystem
January 26th, 2004 Class Meeting 2
Presentation transcript:

1 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure /bin /dev /etc /sbin /home /lost+found / Root Dir /dsk /rdsk /term /pts /rmt /auth /init.d /rc2.d /skel /default /rc0.d /rc3.d

2 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure /stand /var /usr /mnt /proc /tcb /tmp /bin /include /local /sharee /games /lib /sbin /ucb /adm /mail /news /preserve /cron /netlb /opt /spool /tmp /yp /lp /mail /mqueue /uucp /uucppublic /cron /lock /bin /man /X11 / Root Dir

3 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /: –Base of the filesystem’s tree structure 4 /bin: –traditional location for executables. –Some systems: some files in /bin are symbolic links to files in /usr/bin, or /bin is a symbolic link to /usr/bin. –Others holding executables include /usr/ucb

4 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /dev –contains device related special files. –Divided into subdir based on System V dsk and rdsk for disks accessed in block and raw mode. mt and rmt for tapes pts and ptc for pseudo-teminals term for terminal (serial line) –BSD-ish UNIX has a flat /dev –Solaris introduces /devices and files in /dev are symbolic links to ones in /devices

5 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /etc –system configuration files such as administration file and boot scripts. –Traditionally, it contains executables for administrative commands, now in /usr/sbin and /sbin. 4 /sbin: system executables 4 /home –conventional location for users’ home. –Or /users

6 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /lost+found –lost files referred to disk locations that are marked as in use in the data structure on the disk, but that are not listed in any directory. –Caused by incorrect system shutdown or disk errors. –Every partition has one lost+found dir. 4 /mnt –Tempory mount directory: an empty directory designed for temporarily mouting filesystems.

7 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /proc –active processes’s images, designed to enable processes to be manipulated using Unix file accessing system calls 4 /tcb (trusted computing base) –security-related database files –SCO Unix, HP-UX 10 and Digital Unix. –Configuration files related /tcb in /etc/auth

8 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /tmp –used as a scratch directory –cleaned regularly, normally one of the startup scripts will clean /tmp. 4 /var –spooling (/var/spool) and other volatile dir –e.g. uucp, printer, mail, and cron –some systems contain /var/opt for optional software products

9 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /stand –V.4-designated for kernel image in HP-UX 10. Solaris has a similar dir /kernel. 4 /usr –contains subdir for locally generated programs, executables for user and administrative commands, shared libraries, other part –/usr/adm contains Unix accounting files and various logging files or recently linked to /var/adm

10 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /usr (cont.) –/usr/bin contains binary files and shell scripts, public executables such X11 –/usr/games contains standard games, usually removed by system adm –/usr/include contains C header files. /usr/include/system has OS includes files. –/usr/lib has public library files (C lib for math and I/O in libx.a)

11 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure –/usr/local has local files, /usr/local/bin has non- vendor-supplied executables. –/user/share has shared data, such as online manual pages, font directories, files for spell –/usr/ucb has standard Unix commands origianlly developed under BSD. Under IRIX, it is linked to /usr/bsd –/usr/share/man is one location for manual pages. Traditionally, subdir mann has raw pages and catn has formatted versions of troff or nroff.

12 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure 4 /usr (cont.) IRIX follows an older variant, using /usr/share/catman which has several subdir: a_man, g_man, p_man, and u_man for administrative, graphics, programming, and user manual pages. Or /usr/man