cst8207_03 - Linux Filesystem A filesystem is a collection...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Linux Filesystem A filesystem is a collection of directories and files. A Unix/Linux system usually contains more than one filesystem. Each filesystem does not have to exist on a single hard disk. One hard disk may contain several filesystems or a single filesystem may be spread across multiple hard disks
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Filenames Most of today’s filesystems used in Linux allow you create files with names up 255 characters long While you can use almost any character in a filename, it’s a poor idea to use spaces within filenames If a filename that includes a space, you must quote the space on the command line by preceding it with a backslash or by placing quotation marks on both sides of the filename.
Background image of page 2
Filenames A filename extension is part of the filename following a period. It helps describe the contents of the file. A filename begins with a period is called a hidden filename While you are logged in on a text mode of a Linux system, you are always associated with a directory that is called the working directory or current directory. The pwd command displays the pathname of the working directory
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Linux Filesystem Linux/UNIX differs from other O/S filesystems in some aspects, but there is also a lot of common ground between Linux and other O/S filesystems Linux maintains a hierarchical ( like an upside down tree like an upside down tree ) filesystem structure all visible filesystems, directories and files as part of one main directory, the root ( / / ) filesystem, and exist in directories under it the root ( / / ) filesystem typically has it’s own partition, and contains critical information for the system to run all other filesystems, local or remote, are mounted as subdirectories of the root ( / / ) filesystem every path information used is relative to root ( / / ) or to the current directory user is in
Background image of page 4
Linux Filesystem Linux allow for maintaining any number of files and directories under the root ( / / ) filesystem, organized in any way desired leads to a parent-child relationship between a directory and it’s subdirectories/files / (root) dev bin usr bin elvis hda1 null file1 file2 ls cat
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Linux Filesystem Some pre-defined Directories by Red Hat Linux
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 24

cst8207_03 - Linux Filesystem A filesystem is a collection...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online