繼 google.com 與 YouTube 之後,Google 宣布其雲端平台將一併使用新演算法 TCP BBR。相對於目前的演算法,在 10Gb 的網路頻寬下,網路傳輸率最高可提升 2700 倍。
(圖片來源:Google Cloud Platform Blog)
Leave a comment繼 google.com 與 YouTube 之後,Google 宣布其雲端平台將一併使用新演算法 TCP BBR。相對於目前的演算法,在 10Gb 的網路頻寬下,網路傳輸率最高可提升 2700 倍。
(圖片來源:Google Cloud Platform Blog)
Leave a comment偶爾會碰到這種錯誤,但是每次都會忘記怎麼用指令去解決,又不喜歡修改 ~/.ssh/known_hosts
,記錄一下解決方式
在透過 SSH 連線目標主機時,如果是第一次連線,會出現以下訊息,詢問是否要繼續連線:
The authenticity of host 'x230.caloskao.org (10.10.3.68)' can't be established.
ECDSA key fingerprint is SHA256:OhTNCCfw+ymd0iRXL/ZEwU9q/uJCNRKHu534yuJCxQI.
Are you sure you want to continue connecting (yes/no)?
Read more “SSH 連線警示「WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!」”
Leave a commentdig
、nslookup
、nsupdate
是在進行域名解析除錯時常用到的工具,這三個指令是隸屬於 BIND DNS Server 的 Utility,如果安裝套件時直接搜尋指令,應該是看不到套件名稱上會有指令名稱的,應該會是 bind-utils
或 dnsutils
。
安裝方式
Debian/Ubuntu:
sudo apt install -y dnsutils
Red Hat (CentOS/Fedora/RHEL):
sudo yum install bind-utils
Cygwin: 可透過 EXE 安裝檔安裝 bind-utils,有 apt-cyg 可以使用下列指令安裝:
apt-cyg install bind-utils
Leave a commentReferences
BIND Open Source DNS Server | Internet Systems Consortium
watch 是一個可以定期執行指令的實用工具,臨時需要定期執行指令時特別有用。
Usage:
watch [options] command
Options:
-b, --beep beep if command has a non-zero exit
-c, --color interpret ANSI color and style sequences
-d, --differences[=<permanent>]
highlight changes between updates
-e, --errexit exit if command has a non-zero exit
-g, --chgexit exit when output from command changes
-n, --interval <secs> seconds to wait between updates
-p, --precise attempt run command in precise intervals
-t, --no-title turn off header
-x, --exec pass command to exec instead of "sh -c"
-h, --help display this help and exit
-v, --version output version information and exit
Read more “[Linux] 使用 watch 定期執行指令”
Leave a commentUnix Like 作業系統的分支發行版眾多,如果是圖形介面可能還勉強可以猜出是什麼發行版,但是如果是在 CLI 底下就無法直接得知。這裡整理針對 Linux 與 BSD 兩大分支的五種查看發行版本與核心版本的指令。
uname -mrs
(Linux / BSD)uname
在 Linux 與 BSD 的發行版都可使用,在 BSD 系統底下可直接查看發行版本與核心版本,而在 Linux 系統底下僅能查看核心版本,發行版本需透過其它指令得知。
Linux 4.15.0-23-generic x86_64
FreeBSD 11.1-RELEASE amd64
Read more “[Linux] 查詢發行版本與核心版本”
Leave a comment