Learn Linux Quickly: A Comprehensive Guide for Getting Up to Speed on the Linux Command Line
- Length: 312 pages
- Edition: 1
- Language: English
- Publication Date: 2021-12-25
- ISBN-10: B09P7LJ5DJ
- ISBN-13: 9781951791834
- Sales Rank: #0 (See Top 100 Books)
You’ve experienced the shiny, point-and-click surface of your Linux computer–now dive below and explore its depths with the power of the command line.
The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell (or command line). Along the way you’ll learn the timeless skills handed down by generations of experienced, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching, and more.
In addition to that practical knowledge, we reveal the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix mainframes of yore.
As you make your way through the book’s short, easily-digestible chapters, you’ll learn how to:
- Create and delete files, directories, and symlinks
- Administer your system, including account creation, package installation, and process management
- Use standard input and output, redirection, and pipelines
- Edit files with Vim, the world’s most popular text editor
- Write shell scripts to automate common or boring tasks
- Slice and dice text files with grep, sed, uniq, and sort
Once you overcome your initial “shell shock,” you’ll find that the command line is a natural and expressive way to communicate with your computer. Just don’t be surprised if your mouse starts to gather dust.
Introduction What is Unix? What is Linux? The Unix World What is an OS kernel? What are Linux distributions ("distros")? Why Unix? Why Linux? Conventions, Concepts, and Terminology The terminal, the shell, and the command line What is the "terminal"? What is the "shell"? Why is it called the "shell"? What is "Bash"? There are other shells? What is the "command line"? What is the "command line prompt"? Files, directories, and executables What is a file in Linux? What are directories in Linux? What are executables in Linux? Command line conventions Placeholders The command line prompt Paths The anatomy of a command Three types of commands in the shell environment Getting Started The Linux distro Opening the terminal window Some first commands Linux Command Line Survival Kit Linux command line help resources Key-command combinations and other useful shell commands Life on the Command Line Who am I? Linux user status and permissions Where am I? $ pwd Frequently used Linux commands Making contact with files Linux file permissions Linux file naming conventions Making files and directories in Linux Getting info about files in Linux Connecting to streams Standard Input/Output in Linux Redirection in Linux Linux commands that filter stdin input Telling text what to do $ less Interactive input in the Linux shell Linux command line text editors Aliases in the Linux command line environment About the shell environment The command line environment Bash environment variables Other filter commands in Linux Modifying the Bash environment Your new prompt $ set $ uniq Shell variables in Linux Basic Linux account administration Variables in parent shells and child shells Modifying the Bash command line prompt Making things persist Copying, moving, and deleting files in Linux Your new persistent prompt From script to command What makes up a command in Linux? Commands as executable files in the Linux shell Locating executable files as commands Turning files into commands with the PATH variable Sourcing from configuration (and other) files What’s in an executable shell script? From function to command Defining a shell function Positional parameters Working with if…then…else statements in Bash Practical commands of our own Using links in the Linux shell Building and testing a callable shell script A package arrives Finding things in the Linux file system Basic Linux process management Software package management Final Project $ history Appendix A – More on permissions in Linux Octal notation for permissions Umask $ umask Special Permissions SUID SGID Appendix B – Quoting and escaping in Linux Appendix C – Linux Command Line How-to (General) Directory Operations File Operations Environment Operations User Operations Command Operations Package Management Operations System Operations Network Operations References Sticky Bit
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.