| Printing and Managing Print Jobs |
| Ownerships and Permissions |
| Archiving and Compression |
| Linux: Phrasebook by Scott Granneman |
| >>Note: gur: Skott Granneman is an autor, educator, and consultant. As a writer, he focuses on open source software, as shown by his first two books, Don't Click on the Blue, E!: Switching to Firefox and Hacking Knoppix, and his contributions to Ubuntu Hacks. In addition, he is a monthly columnist for SecurityFocus, wiht op/ed pieces that focus on general security topics, and for Linux Magazine, in a column focusing on new and on The Open Sourse Weblog. |
| View Text Files a Screen at a Time |
| >>Note: tail file_1 file_2 |
| >>Note: head file_1 file_2 |
| View the First Several Bytes, Kilobytes, or Megabytes of a File |
| View the First Several Lines of a File or Files |
| View the Last Several Lines of a File or Files |
| View the Constantly Updated Last Lines of a File or Files |
| Concatenate Files to stdout |
| >>Note: cat file_1 file_2 |
| Concatenate Files to Another File |
| >>Note: cat file_1 file_2 > file_3 |
| Concatenate Files and Number the Lines |
| >>Note: cat -n file_1 file_2 |
| Edit Files Viewed with a Pager |
| Linux: Phrasebook by Scott Granneman |
| Printing and Managing Print Jobs |
| List All Available Printers |
| Determine Your Default Printer |
| Find Out How Your Printers Are Connected |
| Get All the Information About Your Printers at Once |
| Print Files to the Default Printer |
| Print Files to Any Printer |
| Print More Than One Copy of a File |
| List Print Jobs by Printer |
| Cancel the Current Print Job Sent to the Default Printer |
| Cancel a Print Job Sent to Any Printer |
| Linux: Phrasebook by Scott Granneman |
| Ownerships and Permissions |
| Change the Group Owning Files and Directories |
| Recursively Change the Group Owning a Directory |
| Keep Track of Changes Made to a File's Group with chgrp |
| Change the Owner of Files and Directories |
| Change the Owner and Group of Files and Directories |
| Understand the Basics of Permissions |
| Change Permissions on Files and Directories Using Alphabetic Notation |
| Change Permissions on Files and Directories Using Numeric Permissions |
| Change Permissions Recursively |
| Set and Then Clear the Sticky Bit |
| Linux: Phrasebook by Scott Granneman |
| Archiving and Compression |
| Archive and Compress Files Using zip |
| Get the Best Compression Possible with zip |
| Password-Protect Compressed Zip Archives |
| Archive and Compress Files Using gzip |
| Archive and Compress Files Recursively Using gzip |
| Get the Best Compression Possible with gzip |
| Uncompress Files Compressed with gzip |
| Test Files That Will Be Unzipped with gunzip |
| Archive and Compress Files Using bzip2 |
| Get the Best Compression Possible with bzip2 |
| Uncompress Files Compressed with bzip2 |
| Test Files That Will Be Unzipped with bunzip |
| Archive and Compress Files with tar and gzip |
| Test Files That Will Be Untarred and Uncompressed |
| Untar and Uncompress Files |
| Linux: Phrasebook by Scott Granneman |
| Special Characters to Avoid in Names |
| Wildcards and What They Mean |
| Linux: Phrasebook by Scott Granneman |
| View Your Command-Line History |
| Monitoring System Resources |
| Install Software Packages for Debian |
| Install Software Packages for RPM-Based Distributions |
| Linux: Phrasebook by Scott Granneman |
| Grab a New Address Using DHCP |
| Query and Map NetBIOS Names and IP Addresses |
| Discover the Workgroup's Master Browsers |
| >>Note: nmblookup -M [Master Browser] |
| nmblookup -A [IP-address] |
| Access Samba Resources with an FTP-Like Client |
| List a Machine's Samba Shares |
| Linux: Phrasebook by Scott Granneman |
| Manage Results Received When Searching a Database of Filenames |
| Search a Database of Filenames |
| The Basics of Searching Inside Text Files for Patterns |
| Search Recursively for Text in Files |
| Search for Text in Files, Ignoring Case |
| Search for Whole Words Only in Files |
| Show Line Numbers Where Words Appear in Files |
| Search the Output of Other Commands for Specific Words |
| See Context for Words Appearing in Files |
| Show Lines Where Words Do Not Appear in Files |
| List Files Containing Searched-for Words |
| Search for Words Inside Search Results |
| Update the Database Used by locate |
| Search a Database of Filenames Without Worrying About Case |
| Searching Inside Text Files for Patterns |
| Print Find Results into a File |
| Execute a Command on Every Found File |
| Show Results If the Expression Is Not True (NOT) |
| Show Results If Either Expression Is True (OR) |
| Show Results If the Expressions Are True (AND) |
| Find Files by Group Ownership |
| Linux: Phrasebook by Scott Granneman |
| List the Contents of Other Folders |
| List Folder Contents Using Wildcards |
| View a List of Files in Subfolders |
| View a List of Contents in a Single Column |
| View Contents As a Comma-Separated List |
| View Hidden Files and Folders |
| Visually Display a File's Type |
| Display Contents in Color |
| List Permissions, Ownership, and More |
| Reverse the Order Contents are Listed |
| Sort Contents by File Extension |
| Sort Contents by Date and Time |
| Express File Sizes in Terms of K, M, and G |
| Display the Path of Your Current Directory |
| Change to a Different Directory |
| Change to Previous Directory |
| Change a File to Any Desired Time |
| Create a New Directory and Any Necessary Subdirectories |
| Find Out What mkdir Is Doing As It Acts |
| Copy Files Using Wildcards |
| Stop Yourself from Copying over Important Files |
| Copy Files As Perfect Backups in Another Directory |
| Remove Several Files At Once with Wildcards |
| Stop Yourself from Deleting Key Files |
| Delete an Empty Directory |
| Remove Files and Directories That Aren't Empty |
| Linux: Phrasebook by Scott Granneman |
| Search for a Command Based on What It Does |
| Quickly Find Out What a Command Does Based on Its Name |
| Find Out About Commands with man |
| Find a Command Based on What It Does |
| Rebuild man's Database of Commands |
| Read a Command's Specific Man Page |
| Learn About Commands with info |
| Linux: Phrasebook by Scott Granneman |
| Run Several Commands Sequentially |
| Run Commands Only If the Previous... |
| Plug the Output of a Command into Another Command |
| Use the Output of One Command As Input for Another |
| Redirect a Command's Output to a File |
| Prevent Overwriting Files When Using Redirection |
| Append a Command's Output to a File |
| Use a File As Input for a Command |
| Linux: Phrasebook by Scott Granneman |
| View Your Command-Line History |
| Run the Last Command Again |
| Run a Previous Command Using Numbers |
| Run a Previous Command Using a String |
| Display All Command Aliases |
| View a Specific Command Alias |
| Create a New Temporary Alias |
| Create a New Permanent Alias |
| Linux: Phrasebook by Scott Granneman |
| Monitoring System Resources |
| View All Currently Running Processes |
| View Processes Owned by a Particular User |
| View a Dynamically Updated List of Running Processes |
| List Users for a Particular File |
| List Processes for a Particular Program |
| Display Information About System RAM |
| Show File System Disk Usage |
| Report File Space Used by a Directory |
| Report Just the Total Space Used for a Directory |
| Linux: Phrasebook by Scott Granneman |
| Install Software Packages for RPM-Based Distributions |
| Remove Software Packages for RPM-Based Distributions |
| Install Software Packages and Dependencies for RPM-Based Distributions |
| Remove Software Packages and Dependencies for RPM-Based Distributions |
| Upgrade Software Packages and Dependencies for RPM-Based Distributions |
| Find Packages Available for Download for RPM-Based Distributions |
| Install Software Packages for Debian |
| Remove Software Packages for Debian |
| Install Software Packages and Dependencies for Debian |
| Remove Software Packages and Dependencies for Debian |
| Upgrade Software Packages and Dependencies for Debian |
| Find Packages Available for Download for Debian |
| Clean Up Unneeded Installation Packages for Debian |
| Troubleshoot Problems with apt |
| Linux: Phrasebook by Scott Granneman |
| View the Status of Your Network Interfaces |
| Verify That a Computer Is Running and Accepting Requests |
| Trace the Route Packets Take Between Two Hosts |
| Configure a Network Interface |
| View the Status of Your Wireless Network Interfaces |
| Configure a Wireless Network Interface |
| Grab a New Address Using DHCP |
| Make a Network Connection Active |
| Bring a Network Connection Down |
| Display Your IP Routing Table |
| Change Your IP Routing Table |
| Troubleshooting Network Problems |
| Linux: Phrasebook by Scott Granneman |
| Securely Transfer and Back Up Files |
| Securely Copy Files Between Hosts |
| Securely Transfer Files Between Machines |
| Securely Log In to Another Computer |
| Securely Log In to Another Machine Without a Password |
| Download Files Non-interactively |
| Download Websites Non-interactively |
| Download Sequential Files and Internet Resources |
| Linux: Phrasebook by Scott Granneman |
| |