上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 467 下一页
摘要: Environment variables are defined by the shell and shell scripts. To list the current environment variables, type export: ~ $ export declare -x DISPLA 阅读全文
posted @ 2024-06-10 14:36 Zhentiw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: watch For example every 5 second, I want to print out the time then save the time into the a txt file $watch -n5 'echo `date +%T` >> hello.txt' # then 阅读全文
posted @ 2024-06-07 20:58 Zhentiw 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Backticks Using to exec cmd and return the output as string $ echo `date` Fri Jun 7 15:40:11 EEST 2024 The same effect you can achieve by using $ echo 阅读全文
posted @ 2024-06-07 20:47 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Ping ping is a utility used to test the reachability of a host on an IP network and to measure the round-trip time for messages sent from the originat 阅读全文
posted @ 2024-06-06 02:38 Zhentiw 阅读(6) 评论(0) 推荐(0) 编辑
摘要: The cards on the DJI site have an effect where the hovered card expands and the other cards shrink: In order to emulate this effect we'll use Flexbox. 阅读全文
posted @ 2024-06-04 15:11 Zhentiw 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Currently we are animating to a fixed height of 100px on hover since browsers can't animate from 0 to auto: <p class="h-0 overflow-hidden text-white/7 阅读全文
posted @ 2024-06-04 15:05 Zhentiw 阅读(6) 评论(0) 推荐(0) 编辑
摘要: pbcopy is a command-line utility available on macOS that allows you to copy the output of a command directly to the clipboard. It can be very handy fo 阅读全文
posted @ 2024-06-03 19:52 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Sometimes it's handy to break long lines into shorter lines. # read moby-dick file for first 250 lines # then fold each line to have max 30 char (-w) 阅读全文
posted @ 2024-05-30 17:49 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Calendar cal May 2024 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 # all months cal 2024 # 阅读全文
posted @ 2024-05-30 17:46 Zhentiw 阅读(1) 评论(0) 推荐(0) 编辑
摘要: grep is a powerful command-line tool used for searching text using patterns. It's widely used for finding specific text within files or output streams 阅读全文
posted @ 2024-05-30 03:40 Zhentiw 阅读(8) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 467 下一页