- 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.
推薦閱讀
- Google Cloud Platform Cookbook
- 工業(yè)機(jī)器人入門實(shí)用教程(KUKA機(jī)器人)
- Embedded Programming with Modern C++ Cookbook
- Java Web整合開發(fā)全程指南
- Learning Azure Cosmos DB
- DevOps Bootcamp
- 精通LabVIEW程序設(shè)計(jì)
- INSTANT Puppet 3 Starter
- 工業(yè)機(jī)器人實(shí)操進(jìn)階手冊(cè)
- 計(jì)算機(jī)組裝與維修實(shí)訓(xùn)
- Windows 7來了
- PyTorch深度學(xué)習(xí)
- 從祖先到算法:加速進(jìn)化的人類文化
- 巧學(xué)活用Photoshop
- 百度智能小程序:AI賦能新機(jī)遇