Cover image for Linux Utilities Cookbook.
Linux Utilities Cookbook.
Title:
Linux Utilities Cookbook.
Author:
Lewis, James Kent.
ISBN:
9781782163015
Personal Author:
Physical Description:
1 online resource (297 pages)
Contents:
Linux Utilities Cookbook -- Table of Contents -- Linux Utilities Cookbook -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Using the Terminal / Command Line -- Introduction -- Command retrieval and line editing -- Getting ready -- How to do it... -- How it works... -- Using history -- Getting ready -- How to do it... -- How it works... -- Filename auto-completion -- Getting ready -- How to do it... -- The shell prompt -- How to do it... -- There's more... -- Other environment variables -- How to do it... -- How it works... -- Using aliases -- How to do it... -- There's more... -- The .bashrc file -- How to do it... -- Dealing with blanks and special characters in filenames -- How to do it... -- There's more... -- Understanding the ? variable -- How to do it... -- How it works... -- There's more... -- Redirection and piping -- How to do it... -- There's more... -- Sending output from one terminal to another -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using the Screen program -- Getting ready -- How to do it... -- How it works... -- There's more... -- 2. The Desktop -- Introduction -- GNOME 2 -- Getting ready -- How to do it... -- There's more... -- KDE desktop -- Getting ready -- How to do it... -- There's more... -- xfce -- Getting ready -- How to do it... -- There's more... -- LXDE -- Getting ready -- How to do it... -- There's more... -- Unity -- Getting ready -- How to do it... -- There's more... -- Mate -- Getting started -- How to do it... -- There's more... -- 3. Files and Directories.

Introduction -- Understanding inodes and the superblock -- Copying, removing, and updating files and directories -- Getting ready -- How to do it... -- There's more... -- Finding files using find and locate -- How to do it... -- There's more... -- Creating text files - vim, Emacs, and others -- Getting ready -- How to do it... -- There's more... -- Using the file command -- How to do it... -- There's more... -- How to do it... -- Using grep to find patterns -- Getting ready -- How to do it... -- There's more... -- Compressing files using ZIP and TAR -- Getting ready -- How to do it... -- There's more... -- Other helpful commands such as stat, sum, touch, and more -- How to do it... -- There's more... -- 4. Networking and the Internet -- Introduction -- Troubleshooting bad connections -- Getting ready -- How to do it... -- There's more... -- Copying files to another machine - FTP and SCP -- Getting ready -- How to do it... -- There's more... -- Logging into another machine - Telnet and Secure Shell -- Getting ready -- How to do it... -- There's more... -- Getting a web page without a browser - wget -- How to do it... -- There's more... -- Browsing the web - Firefox -- Getting ready -- How to do it... -- There's more... -- E-mail - Using a web mail program -- Getting ready -- How to do it... -- There's more... -- Running your own web server - httpd -- Getting ready -- How to do it... -- There's more... -- What is using that port? The /etc/services file -- How to do it... -- There's more... -- IPv4 versus IPv6 -- How to do it... -- There's more... -- 5. Permissions, Access, and Security -- Introduction -- Creating and managing user accounts - useradd -- Getting ready -- How to do it... -- There's more... -- Working with passwords -- How to do it... -- There's more... -- Working with file permissions -- Getting ready -- How to do it... -- There's more...

Working with the firewalls and router settings -- How to do it... -- There's more... -- Working with Secure Linux - SELinux -- Getting ready -- How to do it... -- There's more... -- Using sudo to secure a system -- Getting ready... -- How to do it... -- There's more... -- The /tmp directory -- How to do it... -- There's more... -- 6. Processes -- Introduction -- Understanding processes -- How to do it… -- There's more... -- Examining processes with ps -- How to do it... -- How it works... -- There's more... -- Examining processes using top -- Getting ready -- How to do it... -- How it works... -- There's more... -- Changing priorities with nice -- How to do it... -- There's more... -- Observing a process using the /proc filesystem -- How to do it... -- There's more... -- 7. Disks and Partitioning -- Introduction -- Using fdisk -- Getting ready -- How to do it... -- There's more... -- Using mkfs to format a drive -- Getting ready -- How to do it... -- Using fsck to check the filesystem -- Getting ready -- How to do it... -- There's more... -- Logical Volume Management (LVM) -- Getting ready -- How to do it... -- There's more... -- Understanding different filesystems -- 8. Working with Scripts -- Introduction -- Removing text from a file -- How to do it... -- Script 1 - removing line numbers -- How it works… -- There's more... -- Using script parameters -- How to do it... -- Script 2 - parameters -- How it works… -- There's more... -- Coding a loop in a script -- How to do it... -- Script 3 - loops -- How it works... -- There's more... -- Backing up your system -- How to do it... -- Script 4 - making backups -- How it works... -- Locking a file for only one use at a time -- How to do it... -- Script 5 - file locking -- How it works... -- Getting introduced to Perl -- Getting ready -- How to do it... -- How it works... -- There's more...

9. Automating Tasks Using Cron -- Introduction -- Creating and running a crontab file -- Getting ready -- How to do it... -- Running a command every other week -- How to do it... -- How it works... -- There's more... -- Reporting the errors from a crontab file -- How to do it... -- There's more... -- 10. The Kernel -- Introduction -- A brief look at module commands -- How to do it... -- How it works... -- There's more... -- Building a kernel from kernel.org -- Getting ready -- How to do it... -- Using xconfig to modify the configuration -- Getting ready -- How to do it... -- There's more... -- Working with GRUB -- How to do it... -- How it works... -- Understanding GRUB 2 -- How to do it... -- How it works... -- There's more... -- A. Linux Best Practices -- Introduction -- Root user versus normal user -- Running the GUI -- Creating, verifying, and storing backups -- Permissions and who you are -- Making backups in real time -- Environment variables and shells -- The best environment -- Using and monitoring a UPS -- Being careful when copying files -- Verifying archive files and using checksums -- Firewalls, router settings, and security -- What to do if you find an intrusion -- Spaces in filenames -- Using scripts and aliases to save time and effort -- Using scp and ssh with automatic authentication -- Saving history and taking screenshots -- Space on drives -- Being open to new ideas -- B. Finding Help -- Introduction -- Using man pages -- Using the info command -- Commands and the Usage section -- Local documentation directories -- Browsing the web to find help -- Distribution release notes -- Linux users' groups -- Internet Relay Chat (IRC) -- Index.
Abstract:
A Cookbook-style guide packed with examples and illustrations, it offers organized learning through recipes and step-by-step instructions. The book is designed so that you can pick exactly what you need, when you need it.Written for anyone that would like to familiarize themselves with Linux. This book is perfect migrating from Windows to Linux and will save your time and money, learn exactly how to and where to begin working with Linux and troubleshooting in easy steps.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: