Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners
Jason Cannon
- 出版商: CreateSpace Independ
- 出版日期: 2014-04-17
- 售價: $820
- 貴賓價: 9.5 折 $779
- 語言: 英文
- 頁數: 124
- 裝訂: Paperback
- ISBN: 1499222033
- ISBN-13: 9781499222036
-
相關分類:
Command Line、Linux
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$954$906 -
$780$663 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$620$490 -
$450$356 -
$580$458 -
$2,200$2,090 -
$2,240Dive Into Systems: A Gentle Introduction to Computer Systems (Paperback)
-
$560$437 -
$780$616 -
$800$632 -
$720$562 -
$650$507 -
$600$468 -
$1,758The Rust Programming Language, 2/e (Paperback)
-
$620$484 -
$680$537 -
$580$458 -
$780$616 -
$790$616 -
$980$774 -
$680$530 -
$620$490 -
$780$616 -
$980$774
相關主題
商品描述
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
- How to secure your web browser session when using an open wifi hotspot
- How to generate random passwords from the command line
- Two tips for easily creating backups
- Tips for handling tar archives
- How to replace a string in multiple files at once with just one command
- and much more...
Scroll up, click the "Buy Now With 1-Click" button to get your black belt in Linux Command Line Kung Fu.
商品描述(中文翻譯)
成為一個具有命令行功夫的Linux忍者!你是否認為你必須把自己鎖在地下室裡,閱讀晦澀的man頁面數個月,才能擁有像忍者一樣的命令行技能?事實上,如果有人分享他們最強大的命令行技巧、訣竅和模式,你將節省大量時間和挫折。如果你能看著一位好友的肩膀,他恰好是一位命令行大師,那該有多好?如果他們不僅向你展示他們使用的命令,還解釋為什麼使用它們以及它們的工作原理?如果那位朋友花時間把所有內容都寫下來,這樣你可以隨時參考?好吧,一位朋友就是這樣做的。《命令行功夫》中充滿了數十個技巧和超過100個實用的實際例子。在這本書中,你不會找到理論性的例子。這些例子展示了如何解決實際問題和實現有價值的目標。這些技巧也很容易找到。每個章節都涵蓋了一個特定的主題,並將相關的技巧和例子分組在一起。例如,如果你需要從文件中提取文本,可以查看“文本處理和操作”章節。此外,書中還包含了一個全面的索引。如果你想找到使用特定命令的每個例子,即使它不是提示的主要主題,也可以查看索引。它將列出書中該命令出現的每個地方。以下是閱讀《命令行功夫》所學到的一些內容:
- 如何快速輕鬆地重複使用你的shell歷史命令
- 從shell歷史中抓取特定單詞的快捷方式,以在當前命令中使用
- 如何保存你的命令行會話的副本以供以後參考
- 如何從文件中刪除空行和註釋
- 在使用管道和分頁器時如何控制彩色文本
- 文本轉換的方法:從更改大小寫到替換字符等
- 如何從文件或輸入流中提取特定的文本塊
- 修正常見拼寫錯誤的快速提示
- 如何通過網絡編輯文件
- 如何比較本地計算機和遠程計算機上文件的差異
- 如何創建和使用SSH隧道
- 確定哪些程序在使用哪些端口的方法
- 如何使用一個命令終止給定用戶的所有進程
- 處理多跳SSH連接的策略
- 如何以允許你從上次離開的地方繼續的方式斷開與服務器的連接
- 如何自動安裝需要用戶輸入的軟件
- Shell腳本編寫技巧
- 如何自動重複執行一個命令直到成功
- 刪除正在被寫入的文件的正確方法
- 如何從命令行瀏覽網頁...更重要的是如何從網頁上下載任何內容並與HTTP API交互
- 確定誰和什麼佔用了最多的磁盤空間的方法
- 在使用開放式無線網絡熱點時如何保護你的網絡瀏覽器會話
- 如何從命令行生成隨機密碼
- 兩個簡單創建備份的技巧
- 處理tar存檔的技巧
- 如何使用一個命令一次替換多個文件中的字符串
- 還有更多...
《命令行功夫》中所學到的知識適用於任何Linux發行版,包括Ubuntu、Debian、Linux Mint、RedHat、Fedora、OpenSUSE、Slackware等。滾動頁面,點擊“立即購買”按鈕,獲得你的Linux命令行功夫黑帶。