上一页 1 ··· 153 154 155 156 157 158 159 160 161 ··· 494 下一页
摘要: 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 阅读(94) 评论(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 阅读(427) 评论(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 阅读(103) 评论(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 阅读(115) 评论(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 阅读(75) 评论(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 阅读(106) 评论(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 阅读(45) 评论(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 阅读(59) 评论(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 阅读(58) 评论(0) 推荐(0)
摘要: Chmod ## Create a file vim script.sh ## output some content echo "Hello World" ## Run the script ./script.sh It ouput permission denied: ./script.sh. 阅读全文
posted @ 2021-02-08 21:23 Zhentiw 阅读(117) 评论(0) 推荐(0)
上一页 1 ··· 153 154 155 156 157 158 159 160 161 ··· 494 下一页