摘要: jq Bash, unfortunately, doesn’t ship with a command that can work with JSON natively. In this lesson, we’ll learn how to read and do basic queries on 阅读全文
posted @ 2021-02-11 21:48 Zhentiw 阅读(64) 评论(0) 推荐(0)
摘要: Shell Parameter Exapnsion In this lesson, we'll see how shell parameter expansions can be used to simply expand a variable's valuable and also provide 阅读全文
posted @ 2021-02-11 21:31 Zhentiw 阅读(76) 评论(0) 推荐(0)
摘要: Shortcut For example we have a long command: curl -i http://example.com Ctrl + a Move to the beginning of the line Ctrl + e Move to the end of the lin 阅读全文
posted @ 2021-02-11 20:11 Zhentiw 阅读(88) 评论(0) 推荐(0)
摘要: !! & !& History expansions let you interact with bash's history. For example, if you forgot to run a command with sudo, you can sudo !! to rerun the l 阅读全文
posted @ 2021-02-11 20:02 Zhentiw 阅读(424) 评论(0) 推荐(0)
摘要: Copy Brace expansions are commonly used with the cp or mv commands in order to dynamically generate strings. In this lesson, we'll use a brace expansi 阅读全文
posted @ 2021-02-11 19:56 Zhentiw 阅读(96) 评论(0) 推荐(0)
摘要: $PATH PATH is a global environment variable that represents a list of directories bash looks in for executable files. The executable files for bash co 阅读全文
posted @ 2021-02-11 15:25 Zhentiw 阅读(110) 评论(0) 推荐(0)