上一页 1 ··· 157 158 159 160 161 162 163 164 165 ··· 498 下一页
摘要: 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 阅读(92) 评论(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 阅读(100) 评论(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 阅读(434) 评论(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 阅读(111) 评论(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 阅读(126) 评论(0) 推荐(0)
摘要: TypeScript can infer the type of a variable by looking at the data assigned to it. It also allows you to create a reusable type that it has inferred a 阅读全文
posted @ 2021-02-10 20:11 Zhentiw 阅读(81) 评论(0) 推荐(0)
摘要: You can use the non-null assertion operator in TypeScript to take a typed variable and remove the undefined and null types from it. In this lesson, we 阅读全文
posted @ 2021-02-10 17:18 Zhentiw 阅读(116) 评论(0) 推荐(0)
摘要: Pipes (|) are one of the most powerful features in bash and allow you to efficiently chain commands together and send data through it. We'll also look 阅读全文
posted @ 2021-02-09 03:09 Zhentiw 阅读(46) 评论(0) 推荐(0)
摘要: Knowing how conditionals work in bash open up a world of scripting possibilities. We’ll learn the basic syntax, including if, else, and elif. Then we' 阅读全文
posted @ 2021-02-09 03:04 Zhentiw 阅读(69) 评论(0) 推荐(0)
摘要: Every command in bash returns an exit status, which is an integer between 0 and 255 that represents whether the command succeeded or failed, and if it 阅读全文
posted @ 2021-02-08 21:39 Zhentiw 阅读(64) 评论(0) 推荐(0)
上一页 1 ··· 157 158 159 160 161 162 163 164 165 ··· 498 下一页