摘要:
fmt.Println('😀', string('😀')) 128512 😀 For a full list of Emoticons, see https://www.compart.com/en/unicode/block/U+1F600 .
阅读全文
posted @ 2023-08-28 09:10
ZhangZhihuiAAA
阅读(17)
推荐(0)
摘要:
Predeclared identifiers The following identifiers are implicitly declared in the universe block: Types: any bool byte comparable complex64 complex128
阅读全文
posted @ 2023-08-15 08:22
ZhangZhihuiAAA
阅读(22)
推荐(0)
摘要:
A channel can be made read-only to whoever receives it, while the sender still has a two-way channel to which they can write. For example: func F() <-
阅读全文
posted @ 2023-08-12 21:59
ZhangZhihuiAAA
阅读(25)
推荐(0)
posted @ 2023-08-06 22:05
ZhangZhihuiAAA
阅读(10)
推荐(0)
摘要:
zzh@ZZHPC:~$ cat .bash_history zzh@ZZHPC:~$ echo $HISTFILESIZE ## in file 2000 zzh@ZZHPC:~$ echo $HISTSIZE ## in memory 1000 zzh@ZZHPC:~$ !8 ## execut
阅读全文
posted @ 2023-08-06 10:41
ZhangZhihuiAAA
阅读(27)
推荐(0)
摘要:
zzh@ZZHPC:~$ sleep 120 ^Z [1]+ Stopped sleep 120 zzh@ZZHPC:~$ bg %1 [1]+ sleep 120 & zzh@ZZHPC:~$ [1]+ Done sleep 120 10:01开始sleep,执行完后立刻执行Ctrl + Z中止。
阅读全文
posted @ 2023-08-06 10:37
ZhangZhihuiAAA
阅读(77)
推荐(0)
摘要:
Ctrl + ALt + T : Open a new terminal Ctrl + L: Clear outputs (not really clear, just add a screen of blank lines) Ctrl + D: Exit current shell Ctrl +
阅读全文
posted @ 2023-08-06 08:31
ZhangZhihuiAAA
阅读(26)
推荐(0)
摘要:
sudo apt update sudo apt list --upgradable sudo apt full-upgrade
阅读全文
posted @ 2023-08-05 19:58
ZhangZhihuiAAA
阅读(30)
推荐(0)
摘要:
The “ -c ” option counts the number of occurrences of a string: even though ABC4.sh has no matches, it still counts them and returns zero: grep –c abc
阅读全文
posted @ 2023-08-04 14:46
ZhangZhihuiAAA
阅读(33)
推荐(0)
摘要:
Meta Characters and the grep Command The fundamental building blocks are the regular expressions that match a single character. Most characters, inclu
阅读全文
posted @ 2023-08-04 13:49
ZhangZhihuiAAA
阅读(36)
推荐(0)