Você está na página 1de 23

RH033 Red Hat Linux Essentials

Presented by: Hatem AbouHassan CTC Computer Training Centers

Day 1 - AGENDA
Overview Quick Tour of Red Hat Linux File and Shell Basics
Coffee Break

Users and Groups File Access Permissions


Lunch Break

The Red Hat Linux File System The Bash Shell


Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 1:Overview
Unix History and principles GNU Project, FSF and GPL. Linux Origins and Benefits Red Hat Linux Offerings Recommended Hardware Requirements Red Hat Linux GUI Environment
From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) Newsgroups: comp.os.minix Subject: What would you like to see most in minix? Summary: small poll for my new operating system Message-ID: <1991Aug25.205708.9541@klaava.Helsinki.FI> Date: 25 Aug 91 20:57:08 GMT Organization: University of Helsinki Hello everybody out there using minix I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resembles it somewhat (same physical layout of the file-system (due to practical reasons) (among other things). I've currently ported bash(1.08) and gcc(1.40), and things seem to work. This implies that I'll get something practical within a few months, and I'd like to know what features most people would want. Any suggestions are welcome, but I won't promise I'll implement them :-) Linus (torvalds@kruuna.helsinki.fi) PS. Yes - it's free of any minix code, and it has a multithreaded fs. It is NOT protable (uses 386 task switching etc), and it probably never will support anything other than ATharddisks, as that's all I have :-(.

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 2:A Quick Tour of Red Hat Linux


Components of the Red Hat Linux User Interface Local Logins and Users Examining the File System Command Line Shells Running Commands, Command Options Getting Help, man pages and other Utilities Date, Time, and Calendar Changing Your Password Virtual Consoles
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 3:File and Shell Basics


The Current Working Directory File Names Absolute and Relative File names The Home Directory and System Directories Changing Directories Listing Directory Contents Checking Free Space Copying, Moving and Renaming Files and Directories Creating and Removing Files Directories Determining File Type Viewing and Editing Text Files Filename Pattern Matching Hands-on Lab:Files and Directory Operations
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 4:Users and Groups


Users and Groups The Red Hat Linux Security Model The Root User and Other System Users and Groups User Information Command Changing Your Identity Hands-on Lab:User Information
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 5:File Access Permissions


Red Hat Linux File Security Examining permissions on Files and Directories File Permission Types User Categories Default File Permissions Changing Access Permissions Special Permission Types Hands-on Lab-File Permissions
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 6:The Red Hat Linux Filesystem


Red Hat Linux File Hierarchy File Concepts ext2/ext3 Filesystem Details Hard and Soft Links Mounting Removable media Finding and Processing Files File Compression and Archiving Utilities Hands-on Lab:Red Hat Linux Filesystem Essentials

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

UNIT 7:The bash Shell


bash Heritage Shell and Environment Variables Which Command is Executed? Command Recall Command-Line Expansion Protecting from Expansion Command Return Values Aliases Shell Functions Startup and Shutdown Scripts Login Shells History Tricks Command Completion and Editing Tricks Configuring the bash Shell Hands-on Lab-The bash Shell

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

bash running sequence


bash runs /etc/profile if it exists bash runs $HOME/.bash_profile
The $HOME/.bash_profile script runs the $HOME/.bashrc script
The $HOME/.bashrc script runs /etc/bashrc

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

10

DAY 2 - AGENDA
The X Window System and the GNOME and KDE Desktops --------------Break-----------Standard I/O and Pipes Introduction to String Processing --------------Lunch Break----------String Processing with Regular Expressions Introduction to Processes

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

11

UNIT 8:The X Window System and the GNOME and KDE Desktops
The X Window System The X Protocol The Gnome and KDE Desktop Environment Original X Environment Window Managers Switching Desktop Environments Mouse Configuration Copying and Pasting in X Continue
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

12

UNIT 8: The X Window (Continue)


Starting XFree86 GUI Terminals and Editors Nautilus: the Gnome File Browser Gnome Desktop Applications Web Browsers and Mail Clients Gnome Office Applications OpenOffice.org Applications Image Utilities Audio Applications KDE Applications X Customization Hands-on Lab:Customizing the Graphical Environment
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

13

UNIT 9:Standard I/O and Pipes


Redirecting Input and Output Overwriting and Appending Redirecting Standard Error Redirecting Both Standard Output and Error Using Pipes to connect processes

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

14

UNIT 10:Introduction to String Processing


Counting words, Lines and Characters Sorting Data Printing Unique Lines of Files Printing Selected Columns and Fields Rearranging Columns and Fields Other String Processing Tools Determining Differences Between Files Spell-checking Files Formatting Text Hands-on Lab:String Processing
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

15

UNIT 11:String Processing with Regular Expression


Pattern Matching with Regular Expression Wildcards, Modifiers, and Anchors Regular Expressions in Combinations Searching for Patterns in Files Modifying Streams of Data Searching Files Extending Regular Expressions Using awk Hands-on Lab:String Processing with Regular Expressions
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

16

UNIT 12:Introduction to Processes


What is a Process? How Processes Are Started Process Ancestry and States Viewing and Terminating Processes Sending Signals to Processes Altering Process Scheduling Priority Running a Process in the Foreground and Background Suspending a Process Listing and Resuming Background and Suspended Jobs Compound Commands Hands-on Lab: Process Control
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

17

DAY 3 - AGENDA
Using vi and vim Editor bash Shell Scripting ------------break-----------Printing and Mailing ------------Lunch Break---------Basic Networking System Tools
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

18

UNIT 13:Using the vi and vim Editors


Starting vi and vim Three modes of vi and vim Cursor Movement Entering and Leaving Insert Mode Changing, Deleting, Yanking and Putting Text Undoing Changes Saving and Exiting Filtering Text through Linux Commands Searching, Replacing and Regular Expressions Configuring vi and vim Expanding your Vocabulary Hands-on Lab:vi
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

19

UNIT 14:bash Shell Scripting


Scripting Basics Creating Shell Scripts Making Scripts Executable Generating Output Handling Input Exit Status Conditional Execution Loops Breaking Out of Loops Using Positional Parameters
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

20

UNIT 15:Printing and Mailing


Printing in Red Hat Linux Printer Control Printing From Applications Printing Utilities Email Topology Email Clients Email Delivery via POP and IMAP Email Filtering Fetchmail

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

21

UNIT 16:Basic Networking


Determining Connectivity to a Host Getting Information About Routes and Interfaces Listing the Route to a Particular Host Translating Between Hostnames and IP Addresses Listing DNS Records Listing Domain Contacts Transferring Files Across the Network Checking the Status of Network Ports Secure Shell (SSH) Hands-on Lab:Basic Network Clients

Nov 15,2004

Copyright 2004-2005 H&H Technology Corp. All rights reserved.

22

UNIT 17:System Tools


Terminal Configuration Getting Information About Your System Scheduling a Process to Execute Later Scheduling a Periodic Processes RPM Package Manager Queries System Administrator Duties Hands-on Lab:System Tools
Nov 15,2004
Copyright 2004-2005 H&H Technology Corp. All rights reserved.

23

Você também pode gostar