更新时间:2021-06-11 18:44:19
封面
版权信息
献辞
About Packt
Why subscribe?
Contributors
Preface
Your First Keystrokes
A little bit of history
Linux today and the future
Installing a Linux virtual machine
Terminal versus Shell
A few simple commands
Knowledge check
Climbing the Tree
The Linux filesystem
Navigating through the directory tree
Parent and current directories
Moving around quickly
Hidden Files
Passing command arguments
The touch command
Making directories
Combining command options
Meet the Editors
Graphical editors – gedit and kate
The nano editor
The vi editor
File viewing commands
Copying Moving and Deleting Files
Copying one file
Copying multiple files
Copying one directory
Copying multiple directories
Moving one file
Moving multiple files
Moving one directory
Moving multiple directories
Renaming files
Hiding files
Removing files
Removing directories
Read Your Manuals!
The four categories of linux commands
Determining a command's type
Finding a command's location
What does the command do?
The man page
Help for shell builtins
The info page
The very helpful apropos command
The /usr/share/doc directory
Hard versus Soft Links
File inodes
Displaying file inode number
Creating soft links
Creating hard links
Who Is Root?
Accessing the root user
Setting the root password
The dash difference
Controlling the Population
The /etc/passwd file
Adding users
Modifying user attributes
Defining the skeleton
Changing the defaults
Removing users
The /etc/group file
Adding groups
Adding group members
Primary versus secondary groups
Removing groups
File ownership and permissions
Changing file ownership
Understanding file permissions
Changing file permissions
Directory permissions
Using octal notation
Piping and I/O Redirection
Linux pipes
Input and output redirection
Redirecting standard output
Redirecting standard error
Redirecting all output to the same file
Discarding output
Redirecting standard input
Analyzing and Manipulating Files
Spot the difference
Viewing file size
Counting characters words and lines
Viewing the file type