- 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.
推薦閱讀
- Practical Data Analysis
- 大數(shù)據(jù)管理系統(tǒng)
- 腦動力:PHP函數(shù)速查效率手冊
- 數(shù)控銑削(加工中心)編程與加工
- Google App Inventor
- Visual C# 2008開發(fā)技術(shù)詳解
- 城市道路交通主動控制技術(shù)
- ESP8266 Home Automation Projects
- 嵌入式操作系統(tǒng)
- Machine Learning with Apache Spark Quick Start Guide
- 人工智能:語言智能處理
- Hands-On Dashboard Development with QlikView
- 傳感器與自動檢測
- 數(shù)據(jù)要素:全球經(jīng)濟(jì)社會發(fā)展的新動力
- 智慧未來