紀錄工作上的點點滴滴

Linux Cli Netstat

2024-06-03 linux Netstat

線上手冊內容 NETSTAT(8) Linux System Administrator's Manual NETSTAT(8) NAME netstat - Print network connections, routing tables, interface statistics, ... Read More

nginx ssl 設定步驟

2024-05-29 linux

檢查本機的OpenSSL支援加密協定 openssl ciphers -v | grep TLS ❯ openssl ciphers -v | grep TLS TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD ... Read More

linux CLI rsync

2024-05-18 linux rsync

中斷續傳 rsync -P --rsh=ssh jameschang@[IP]:[source-path] [gold-path] -P 顯示進度 Read More

一到指令刪除相關進程

2024-04-27 linux

查詢 java 所有的進程 ❯ top -b -n 1 | grep java | cut -c 1-7 8190 15263 15512 16641 17148 假設我要刪除 java 全部的進程可以這樣處理 ❯ top -b -n 1 | grep java | cut -c 1-7 | ... Read More

KDE 桌面 CLI

2024-04-09 linux KDE

KED 強制登出使用者 sudo pkill -KILL -u [username]] 是直接強制踢出指定使用者所有程序 Read More

Linux 發行板核心版本整理

2024-03-09 linux Linux Kernel rhel_3 rhel_4 rhel_5 rhel_6 rhel_7 rhel_8 Debian Oracle Linux Rocky Linux

前幾天在工作中因為要導入GBC,但是在客戶的系統當中有非RedHat衍生發行板的系統,所以想說用相近的 Linux Kernel 作為導入的基礎,在這邊把整好的核心版本整理一下 Linux 發行板 Kernel Version Rocky Linux 8 4.18.0 Rocky Linux 9 ... Read More

windows ssh key 登入 Linux

2023-11-15 linux linux windows

先產生 ssh 金鑰 ssh-keygen 將公鑰上傳到目標主機 type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {account}@{IP-ADDRESS-OR-FQDN} "cat >> ... Read More