Easy Linux Commands: Working Examples of Linux Command Syntax | 拾書所

Easy Linux Commands: Working Examples of Linux Command Syntax

$ 1,053 元 原價 1,108

Description:

Linux is one of the most robust and complex operating systems ever created, and the Linux professional must master complex commands, arguments and scripting syntax.

For beginners and experts alike, this condensed book is an indispensable guide for using Linux commands. Filled with working examples, this reference will get you started fast in maintaining any Linux server.

Written by a working Linux administrator, this quick reference has working examples of all of the Linux commands that you need to manage your Linux environment.

Best of all, this great book contains all of the common Linux shell commands to allow you to quickly locate errors and monitor your filesystem environment.

 

Table of Contents:

CHAPTER 1 - Directory and File Commands
What is Linux?
The Linux kernel
The Many Breeds of Linux
Red Hat Enterprise Linux
Fedora
Ubuntu
Mileage May Vary
What is a shell?
The bash shell
Getting to the shell
A few quick tips
No news is good news
Tab completion
Repeating recent commands with the up arrow
Getting More Help
Man Pages
Info
Conclusions


CHAPTER 2 - Important Files and Directories
Directory Structure
Directory Commands
What Directory am I In?
Creating New Directories
Deleting Directories
Renaming directories
Navigating the Directory Tree
Listing Directory Contents
Disk Usage of a Specific Directory
File Commands
Creating an Empty File
A Brief Discussion about Wildcards
Deleting Files
Preventing Accidental File Deletion
Deleting Files Using File Properties
Moving and Renaming Files
Archiving directories and files
A Warning about Relative and Absolute Paths in tar
Combining Files
Displaying file contents
Displaying Beginning Lines of a File
Displaying Ending Lines of a File
Display Active Writes to a File
Display a Hex Dump of a File
Creating a Symbolic Link to a File
Remote file copy
Conclusions


CHAPTER 3 - File and Directory Security
Home Directory
Hidden ?Dot??Files
Important System Files
Important Directories
Conclusions
File Security Model
File Permissions
Change File Ownership
Change Group Ownership
Change User Ownership
Changing File Permissions
Permissions on Directories
Setting Default Permissions Using a File Mask
Special modes
ACLs ??Access Control Lists
Logging on to another Group
Conclusions


CHAPTER 4 - Linux Search Tools
Finding files using attributes
Using Simple ls Command Options
Sample directory
Finding the File Last Touched (Modified) in a Directory
Finding the File with the Last Attribute Change
Finding the File Last Accessed in a Directory
Finding the Largest Files in a Directory
Finding the Smallest Files in a Directory
Using the find Command
Finding Files by Age
Finding Files > Years Old
Finding Any Files Modified in the Past Days
Finding txt Files Modified in the Past Days
Find files by size
Finding Files Larger than k
Doing things with what we find
Finding txt Files < Days Old and Delete Them
Dealing with "Permission denied" in find
Finding a String within a Text File
Finding the Full Directory Path for a Command
Find the Directory Path for emacs and sort
Finding the Location of Program Binary Source Manual Pages for emacs and sort
Finding Strings in Binary Files
Find All Strings in the Binary File
Finding Occurrences of a String in a Binary File
Finding Strings in Multiple Files
Finding a File Containing a Particular Text String
Find processes
Finding Process Information by Process ID
Find Processes Belonging to a Specific User
Conclusions

CHAPTER 5 - The vi Editor
Inside vi
Editor Modes of Operation
Starting vi
Exiting vi
Changing from command to insert Mode
Saving the file
Moving the Cursor Around the File
Deleting Text
Searching for Text Strings
Cutting Copying and Pasting Text
Undo and Other Useful Commands
vi Reference
Conclusions
 

CHAPTER 6 - Shell Scripts
Programming with Linux
What is a shell?
Command Aliases
Why use shell scripts?
Getting Started with a Simple Shell Script
Shell variables
User Defined Variables
Evaluating Expressions
Using Quotes in Shell Scripts
Exit Status
The read Statement
Command Line Arguments
Redirection of Standard Input & Output
Pipes
Conditional Statements
The if condition
Using the test Command or [ expression ]
Loops
for loop
while loop
The case Statement
Linux Command Summary
C

Brand Slider