| |
| |
Acknowledgments | |
| |
| |
Introduction | |
| |
| |
| |
Starting with Fedora Linux | |
| |
| |
About Fedora, Red Hat, and Linux | |
| |
| |
Comparing Fedora to Other Linuxes | |
| |
| |
Finding Fedora Resources | |
| |
| |
Focusing on Linux Commands | |
| |
| |
Finding Commands | |
| |
| |
Command Reference Information in Fedora | |
| |
| |
Summary | |
| |
| |
| |
Installing Fedora and Adding Software | |
| |
| |
Installing Fedora | |
| |
| |
Preparing to Install | |
| |
| |
Choosing Installation Options | |
| |
| |
Answering Installation Questions | |
| |
| |
Working with Software Packages | |
| |
| |
Using yum Software Repositories | |
| |
| |
Enabling Repositories for yum | |
| |
| |
Using the yum Command | |
| |
| |
Using yum Utilities | |
| |
| |
Managing Software with rpm | |
| |
| |
Using the rpm Command | |
| |
| |
Building RPMs from SRPMs | |
| |
| |
Extracting Files from RPMs | |
| |
| |
Summary | |
| |
| |
| |
Using the Shell | |
| |
| |
Terminal Windows and Shell Access | |
| |
| |
Using Terminal Windows | |
| |
| |
Using Virtual Terminals | |
| |
| |
Using the Shell | |
| |
| |
Using Bash History | |
| |
| |
Using Command Line Completion | |
| |
| |
Redirecting stdin and stdout | |
| |
| |
Using alias | |
| |
| |
Watching Commands | |
| |
| |
Watching Files | |
| |
| |
Acquiring Super User Power | |
| |
| |
Using the su Command | |
| |
| |
Delegating Power with sudo | |
| |
| |
Using Environment Variables | |
| |
| |
Creating Simple Shell Scripts | |
| |
| |
Editing and Running a Script | |
| |
| |
Adding Content to Your Script | |
| |
| |
Summary | |
| |
| |
| |
Working with Files | |
| |
| |
Understanding File Types | |
| |
| |
Using Regular Files | |
| |
| |
Using Directories | |
| |
| |
Using Symbolic and Hard Links | |
| |
| |
Using Device Files | |
| |
| |
Using Named Pipes and Sockets | |
| |
| |
Setting File/Directory Permissions | |
| |
| |
Changing Permissions with chmod | |
| |
| |
Setting the umask | |
| |
| |
Changing Ownership | |
| |
| |
Traversing the File System | |
| |
| |
Copying Files | |
| |
| |
Changing File Attributes | |
| |
| |
Searching for Files | |
| |
| |
Finding Files with locate | |
| |
| |
Locating Files with find | |
| |
| |
Using Other Commands to Find Files | |
| |
| |
Finding Out More About Files | |
| |
| |
Listing Files | |
| |
| |
Verifying Files | |
| |
| |
Summary | |
| |
| |
| |
Manipulating Text | |
| |
| |
Matching Text with Regular Expressions | |
| |
| |
Editing Text Files | |
| |
| |
Using the JOE Editor | |
| |
| |
Using the pico and nano Editors | |
| |
| |
Graphical Text Editors | |
| |
| |
Listing, Sorting, and Changing Text | |
| |
| |
Listing Text Files | |
| |
| |
Paging Through Text | |
| |
| |
Paginating Text Files with pr | |
| |
| |
Searching for Text with grep | |
| |
| |
Replacing Text with sed | |
| |
| |
Translating or Removing Characters with tr | |
| |
| |
Checking Differences Between Two Files with diff | |
| |
| |
Using awk and cut to Process Columns | |
| |
| |
Converting Text Files to Different Formats | |
| |
| |
Summary | |
| |
| |
| |
Playing with Multimedia | |
| |
| |
Working with Audio | |
| |
| |
Playing Music | |
| |
| |
Adjusting Audio Levels | |
| |
| |
Ripping CD Music | |
| |
| |
Encoding Music | |
| |
| |
Streaming Music | |
| |
| |
Converting Audio Files | |
| |
| |
Transforming Images | |
| |
| |
Getting Information about Images | |
| |
| |
Converting Images | |
| |
| |
Converting Images in Batches | |
| |
| |
Summary | |
| |
| |
| |
Administering File Systems | |
| |
| |
Understanding File System Basics | |
| |
| |
Creating and Managing File Systems | |
| |
| |
Partitioning Hard Disks | |
| |
| |
Working with File System Labels | |
| |
| |
Formatting a File System | |
| |
| |
Viewing and Changing File System Attributes | |
| |
| |
Creating and Using Swap Partitions | |
| |
| |
Mounting and Unmounting File Systems | |
| |
| |
Mounting File Systems from the fstab File | |
| |
| |
Mounting File Systems with the mount Command | |
| |
| |
Unmounting File Systems with umount | |
| |
| |
Checking File Systems | |
| |
| |
Checking Raid Disks | |
| |
| |
Finding Out About File System Use | |
| |
| |
Logical Volume Manager | |
| |
| |
Creating LVM Volumes | |
| |
| |
Using LVM Volumes | |
| |
| |
Growing the LVM Volume | |
| |
| |
Shrinking an LVM Volume | |
| |
| |
Removing LVM Logical Volumes and Groups | |
| |
| |
Summary | |
| |
| |
| |
Backups and Removable Media | |
| |
| |
Backing Up Data to Compressed Archives | |
| |
| |
Creating Backup Archives with tar | |
| |
| |
Using Compression Tools | |
| |
| |
Listing, Joining, and Adding Files to tar Archives | |
| |
| |
Deleting Files from tar Archives | |
| |
| |
Backing Up Over Networks | |
| |
| |
Backing Up tar Archives Over ssh | |
| |
| |
Backing Up Files with rsync | |
| |
| |
Backing Up with unison | |
| |
| |
Backing Up to Removable Media | |
| |
| |
Creating Backup Images with mkisofs | |
| |
| |
Burning Backup images with cdrecord | |
| |
| |
Making and Burning DVDs with growisofs | |
| |
| |
Summary | |
| |
| |
| |
Checking and Managing Running Processes | |
| |
| |
Listing Active Processes | |
| |
| |
Viewing Active Processes with ps | |
| |
| |
Watching Active Processes with top | |
| |
| |
Finding and Controlling Processes | |
| |
| |
Using pgrep to Find Processes | |
| |
| |
Using fuser to Find Processes | |
| |
| |
Changing Running Processes | |
| |
| |
Summary | |
| |
| |
| |
Managing the System | |
| |
| |
Monitoring Resources | |
| |
| |
Monitoring Memory Use | |
| |
| |
Monitoring CPU Usage | |
| |
| |
Monitoring Storage Devices | |
| |
| |
Mastering Time | |
| |
| |
Changing Time/Date with Graphical Tools | |
| |
| |
Displaying and Setting Your System Clock | |
| |
| |
Displaying and Setting Your Hardware Clock | |
| |
| |
Using Network Time Protocol to Set Date/Time | |
| |
| |
Trying Other Date/Time Commands | |
| |
| |
Managing the Boot Process | |
| |
| |
Using the GRUB Boot Loader | |
| |
| |
Repairing the initial ramdisk (initrd) | |
| |
| |
Controlling Startup and Run Levels | |
| |
| |
Straight to the Kernel | |
| |
| |
Poking at the Hardware | |
| |
| |
Summary | |
| |
| |
| |
Managing Network Connections | |
| |
| |
Configuring Networks from the GUI | |
| |
| |
Managing Network Interface Cards | |
| |
| |
Managing Network Connections | |
| |
| |
Starting and Stopping Ethernet Connections | |
| |
| |
Viewing Ethernet Connection Information | |
| |
| |
Using Wireless Connections | |
| |
| |
Using Dial-up Modems | |
| |
| |
Checking Name Resolution | |
| |
| |
Troubleshooting Network Problems | |
| |
| |
Checking Connectivity to a Host | |
| |
| |
Checking Address Resolution Protocol (ARP) | |
| |
| |
Tracing Routes to Hosts | |
| |
| |
Displaying netstat Connections and Statistics | |
| |
| |
Other Useful Network Tools | |
| |
| |
Summary | |
| |
| |
| |
Accessing Network Resources | |
| |
| |
Running Commands to Browse the Web | |
| |
| |
Transferring Files | |
| |
| |
Downloading Files with wget | |
| |
| |
Transferring Files with cURL | |
| |
| |
Transfering Files with FTP Commands | |
| |
| |
Using SSH Tools to Transfer Files | |
| |
| |
Using Windows File Transfer Tools | |
| |
| |
Sharing Remote Directories | |
| |
| |
Sharing Remote Directories with NFS | |
| |
| |
Sharing Remote Directories with Samba | |
| |
| |
Sharing Remote Directories with SSHFS | |
| |
| |
Chatting with Friends in IRC | |
| |
| |
Using Text-Based E-mail Clients | |
| |
| |
Managing E-mail with mail | |
| |
| |
Managing E-mail with mutt | |
| |
| |
Summary | |
| |
| |
| |
Doing Remote System Administration | |
| |
| |
Doing Remote Login and Tunneling with SSH | |
| |
| |
Configuring SSH | |
| |
| |
Logging in Remotely with ssh | |
| |
| |
Using screen: A Rich Remote Shell | |
| |
| |
Using a Remote Windows Desktop | |
| |
| |
Connecting to a Windows Desktop with tsclient | |
| |
| |
Connecting to a Windows Desktop with rdesktop | |
| |
| |
Using Remote Linux Desktop and Applications | |
| |
| |
Sharing Desktops Using VNC | |
| |
| |
Setting Up the VNC Server | |
| |
| |
Starting Up the VNC Client | |
| |
| |
Using VNC on Untrusted Networks with SSH | |
| |
| |
Sharing a VNC Desktop with Vino | |
| |
| |
Summary | |
| |
| |
| |
Locking Down Security | |
| |
| |
Working with Users and Groups | |
| |
| |
Managing Users the GUI Way | |
| |
| |
Adding User Accounts | |
| |
| |
Modifying User Accounts | |
| |
| |
Deleting User Accounts | |
| |
| |
Managing Passwords | |
| |
| |
Adding Groups | |
| |
| |
Checking on Users | |
| |
| |
Configuring the Built-in Firewall | |
| |
| |
Working with System Logs | |
| |
| |
Using Advanced Security Features | |
| |
| |
Summary | |
| |
| |
| |
Using vi or Vim Editors | |
| |
| |
Starting and Quitting the vi Editor | |
| |
| |
Moving Around in vi | |
| |
| |
Changing and Deleting Text in vi | |
| |
| |
Using Miscellaneous Commands | |
| |
| |
Modifying Commands with Numbers | |
| |
| |
Using Ex Commands | |
| |
| |
Working in Visual Mode | |
| |
| |
Summary | |
| |
| |
| |
Shell Special Characters and Variables | |
| |
| |
Using Special Shell Characters | |
| |
| |
Using Shell Variables | |
| |
| |
| |
Getting Information from/proc | |
| |
| |
Viewing/proc Information | |
| |
| |
Changing/proc information | |
| |
| |
Index | |