Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liner
商品資訊
ISBN13:9781806316816
出版社:Lightning Source Inc
作者:Felix Kelly
出版日:2023/05/17
裝訂:平裝
規格:22.9cm*15.2cm*1.7cm (高/寬/厚)
商品簡介
Become a Linux Ninja with Command Line Kung Fu!
Do you think you have to lock yourself in a basement reading cryptic man pages for months on end in order to have ninja like command line skills?
In reality, if you had someone share their most powerful command line tips, tricks, and patterns you'd save yourself a lot of time and frustration. What if you could look over the shoulder of a good friend that just happened to be a command line guru? What if they not only showed you the commands they were using, but why they were using them and exactly how they worked? And what if that friend took the time to write all of it down so you can refer to it whenever you liked?
Well, a friend did just that. Command Line Kung Fu is packed with dozens of tips and over 100 practical real-world examples. You won't find theoretical examples in this book. The examples demonstrate how to solve actual problems and accomplish worthwhile goals.
The tactics are easy to find, too. Each chapter covers a specific topic and groups related tips and examples together. For example, if you need help extracting text from a file look in the "Text Processing and Manipulation" chapter.
Also, a comprehensive index is included. If you want to find every example where a given command is used -- even if it's not the main subject of the tip -- look in the index. It will list every single place in the book where that command appears.
Here is just some of what you will learn by reading Command Line Kung Fu:
- How to quickly and easily repeat commands in your shell history
- Shortcuts for grabbing specific words from your shell history to use in your current command
- How to save a copy of your command line session for later reference
- How to strip out blank lines and comments from files
- How to control colorized text when uses pipes and pagers
- Ways to transform text: from changing case to substituting characters and more
- How to extract specific blocks of text from files or streams of input
- A quick tip to fix common typos
- How to edit files over the network
- How to compare the differences between files on your local computer and a remote one
- How to create and use SSH tunnels
- Ways to verify what programs are listening on what ports
- How to kill all the processes for a given user with a single command
- Strategies for dealing with multi-hop SSH connections
- How to disconnect from a server in a way that will allow you to pick up where you left off
- How to automate software installs that require user input
- Shell scripting tips
- How to automatically keep repeating a command until it succeeds
- The right way to delete a file that is being written to
- How to surf the web from the command line... and more importantly how to download anything from the web and interact with HTTP APIs
- Ways to determine who and what is using the most disk space
- and much more...
What you learn in Command Line Kung Fu applies to any Linux distribution including Ubuntu, Debian, Linux Mint, RedHat, Fedora, OpenSUSE, Slackware, and more.
主題書展
更多書展購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

