13.07.2015 Views

Linux System Administration Recipes A Problem-Solution Approach

Linux System Administration Recipes A Problem-Solution Approach

Linux System Administration Recipes A Problem-Solution Approach

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

■ CONTENTS■Chapter 8: Using the Command Line Better.......................................................1718-1. Using bash Keyboard Shortcuts .......................................................................... 1718-2. Writing Your Own bash Functions ....................................................................... 1748-3. Implementing Programmable Completion with bash .......................................... 1768-4. Using find ............................................................................................................ 179Options .......................................................................................................... 179Expressions................................................................................................... 1808-5. Using xargs.......................................................................................................... 181find with xargs .............................................................................................. 181xargs and File Contents................................................................................. 182Moving Files .................................................................................................. 183■Chapter 9: Working with Text in Files ...............................................................1859-1. Using more, less, and Compressed Files ............................................................ 1859-2. Using the power of sed ....................................................................................... 1879-2a. Deleting Lines ...................................................................................... 1879-2b. Substitutions........................................................................................ 1889-2c. Appending, Inserting, and Changing Lines .......................................... 1909-3. Using awk: Snippets and Quick Reference ......................................................... 1919-3a. awk, if, and Strings.............................................................................. 1939-4. Manipulating File Contents with Perl .................................................................. 1939-4a. Perl, Files, and Command-Line Options............................................... 1949-5. When It’s Not ASCII: Dealing with UTF-8 ............................................................. 1959-5a. Entering UTF-8 Characters in X11 ....................................................... 1969-5b. Entering UTF-8 Characters in Vim ....................................................... 1999-6. Getting Readable Text from Binaries................................................................... 200■Chapter 10: Things Going In, Things Going Out .................................................20310-1. Changing Keymaps in X..................................................................................... 20310-2. Linking Keys to Programs ................................................................................. 20410-3. Automating Printer Setup with lpadmin ............................................................ 20510-4. Printing Text Files Readably.............................................................................. 20710-5. Using ssh -X to Log in Remotely ....................................................................... 20810-6. Using GDM to Log in Remotely.......................................................................... 209Troubleshooting ............................................................................................ 20910-7. Using VNC or Similar to Log in Remotely........................................................... 210ixDownload at WoweBook.Com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!