Linux User's Guide

GNU/Unix and XWindows Commands

Version 1.2 19/8/2003 by Samar

  1. Linux Distributions
  2. FS Mgt (a. Navig'n, b. File Display, c. File Search and Location, d. File Permissions, e. FS Hierarchy Standard) {LPI-101}
  3. Text Processing (Text Editors, Text Utilities, Printing, Latex & Tex/Type-Setting) {LPI-101; LPI-102}
  4. Documentation {LPI-101}
  5. System Management (Process Management + System Status Cmds, Time and Host Status)
  6. Internet (Communication Tools)
  7. XWindows (XWindows, File System, Personal Mgmt)
  8. Multimedia (Graphics, Audio, Video, Games)
  9. Desktops (Gnome, KDE) {SkillDrill:"Gnome Implementn"}

0. Linux Distributions


I. File System Management

Conventions: squares = files or env. vars; disc = example commands/cmd line options; circle = subcmds.

a. Navigation: Working with Files, Directories and Links

ext2 Filenames can be up to 256 characters in length, may include small and capital letters, numbers and other characters, such as -, ., _. Files can be delimited by any printable character. A dot `.' indicates a relative path (eg ./ or ../) not an absolute one.

b. File Display Listing, Viewing and Displaying Files.

c. File Search and Location : Finding, Searching and Locating Files

d. File Permissions

setuid : - set process' effective UID to that of file on exec; no effect on dirs, 4000, ; eg. ping must be suid root to send raw ICMP pkts over NW [RH033,5-7]
setuid : - set process' effective GID to that of file on exec; for dirs all files created have same GID as dir irrespective of creator, 2000
sticky bit : - prevents users from deleting others' files, 1000 (eg. /tmp)

e. FHS (Fs Hierarchy Standard)

Definition of Root Directory : - The dir which holds all other dir's; the ultimate parent dir; the topmost dir
Def.of File System : - A section of the HD/CD/FD/etc. formatted to hold files [welsh.144]
Def.of Home Directory : - The dir provided for each user, abbreviated as ~ = ~abbas = /users/abbas
Def.of Hierarchical FS : - One tree of dir's.

The linux fs is often referred to as having a tree structure, since dir's and sub-dir's branch off like limbs from the single root dir [kamran.138].

Directory
Purpose
  / root dir
  /bin binaries dir for essential root + user sys cmd's; requd for single-user mode.
  /boot locatn of kernel + other bootg files
  /dev device files: gateways to physical computer componts.
  /etc etcetera: config.files (usu. text).
  /etc/skel skeleton dir. with sample startup files
  /home users' home dir's; /usr, /users or /u in some dialects
  /mnt temporary mount point for sysadmin [rute]
  /proc window into kernel; a virtual fs
  /sbin system binaries usu.run automatically by the linux system.
  /tmp temp'y dir. for prog's requirg temp.files, usu. lost between invocatns; likely lost betwn reboots.
  /usr user-oriented non-essential dirs.; without host-specific data or t-varyg data.
  /usr/bin user-oriented linux programs
  /usr/include standd include files used by C, eg. stdio.h
  /usr/lib standd libs
  /usr/lib/X11 X Windows src libraries
  /usr/spool queue dirs for various processes (eg. mail, print, etc.)
  /usr/sbin superuser binaries
  /usr/src srcs of built-in programs
  /var variable data files, incl. spool/ (files tobe printed), mail/ (emails tobe sent), uucp/ (tobe cp'd), admin.data (eg. logs); transient and temp.files.
  /var/spool temporary storage


II. Text Processing

a. Text Editors

b. Text Utilities (GNU TextUtils Package)

c. Printing

d. Latex and Tex


III. Documentation


IV. System Commands

a. Process Management Commands

Definition of Process : - An instance of a running program

b. System Status Commands (Time and Host-Related)


V. Internetwork + Communication Tools

a. E-Mail

b. Chatting

e. www

d. Generic Networking


VI. X Windows

a. Window Managers & Desktops

Definition of Window Manager : - Controls the Look and Feel of all windows on a display, and their arrangement. A client which instructs the server on the Look and Feel, the positioning, the means of moving, and arrangement of, windows on a display.
Desktops include :

b. Files & Generic Commands

Switching between virtual consoles is possible using Ctrl+Alt+F1, Ctrl+Alt+F2, etc.

c. FS Tools

d. Personal Management: Personal Info, Date and Time

e. Mathematical Aids

f. Display


VII. Multimedia

a. Graphics

b. Audio

c. Video

d. Games


VIII. Desktops

a. GNOME

b. KDE

c. Office Apps


References