- Bash Quick Start Guide
- Tom Ryder
- 123字
- 2021-07-23 16:58:58
Summary
Even if you feel that you already know the basic structure of a Bash command well, carefully looking at the structure of a typical command line and knowing the rules of string quoting can make it much clearer what's wrong when something doesn't behave as expected. We use single quotes to keep characters literal, and double quotes to safely perform expansion for variables and substitutions. Developing disciplined habits with quoting and understanding how Bash runs commands in sequence is helpful not just for scripting, but for interactive command line work as well.
Having learned the structure of a Bash command line, in the next chapter we'll apply it to learning some essential commands that will form the basis of many shell scripts.
推薦閱讀
- Mastercam 2017數控加工自動編程經典實例(第4版)
- 計算機圖形學
- Hands-On Data Science with SQL Server 2017
- Windows 7寶典
- 網絡組建與互聯
- Visual FoxPro數據庫基礎及應用
- 從零開始學SQL Server
- Linux系統管理員工具集
- HBase Essentials
- Web編程基礎
- Oracle 11g Anti-hacker's Cookbook
- Wireshark Revealed:Essential Skills for IT Professionals
- JSP網絡開發入門與實踐
- Arduino創意機器人入門:基于Mind+
- Python Data Mining Quick Start Guide