Users and The Filesystem: How Ubuntu Handles Files

You might also like

Download as odp, pdf, or txt
Download as odp, pdf, or txt
You are on page 1of 12

Users and the filesystem

How Ubuntu handles files


Paths
Mounting
File & folder names
Case sensitivity
Folder ↔ Directory
Important filesystem locations
/home
cont.
Location Details
/ bin Essential software, typically needed to get the system running
/ boot Files related to the boot menu/ loader
/ dev Virtual files representing hardware devices
/ etc System(global) configuration files
/ home Users’ personal folders
/ lib Support (library) files required by software
/ media Contains subfolders where storage devices can be mounted
/ proc Virtual folder containing files representing stats and settings
/ root Personal folder of the root user
Essential software for system maintenance, usually used only
/ sbin
By the root user
/ tmp Temporary files/ folders
Essentially, subdirectories containing most software used on
/ usr
The system, including system libraries and documentation
Data that is vital to the running of the system and that is
/ var
Constantly being updated
cont.
Hidden files and folders
.
File extensions
cont.

Understanding users
Root user
File permissions
chmod
cont.

Nautilus:An overview
Places → Home Folder
cont.

Day-to-day file management


Links and launchers
Bookmarks
Tabbed browsing
Table 4-2
Searching for files
Special browsing locations
File Associations
cont.

File compression
ZIP
Tape ARchive
.tar
.tar.gz, tgz
.tar.bz2, tbz
.zip
Hands-on at the command-line

All about the shell


command-line
bashed about
bash – the Bourne Again SHell
Korn Shell(ksh), C Shell(csh)
To DOS or not to DOS
cont.

Understanding the prompt


Starting a command-line session
desktop terminal program(terminal emulator)
virtual console(virtual terminal)
Knowing who you are
prompt
Knowing where you’re browsing
pwd
cont.

How commands works


Arguments
Command options
cont.

Complex filenames
space
“”, \
Relative and absolute paths
Running programs
echo $PATH
./browser
cont.

Useful everyday commands


Table 5-1

You might also like