Recently Updated Pages
系統帳號管理
教學連結 How to Lock User Accounts After Failed Login Attempts Restrict SSH User Access to Certai...
Vim 高級技巧
常用技巧 跳到上次編輯的行號:'. 刪除游標以下所有內容:dG 刪除游標以上所有內容:dgg 開啟指令視窗::terminal :below terminal , :bel ...
Secure Docker Network
With SWAG SWAG - Secure Web Application Gateway With iptables 對於 Container 不同啟動方式,在 iptables 的...
SWAG - Secure Web Application Gateway
SWAG is a rebirth of the letsencrypt docker image, a full fledged web server and reverse proxy th...
BookStack Installation
With Docker Tutorial: linuxserver/bookstack LSIO BookStack & Swag Setup docker-compos...
系統管理技巧
完整複製 Home 目錄 由於 User 的 Home 目錄內有許多隱藏檔,若要完整複製它們,有兩個方法: 方法一:可以複製成一個新目錄 cd /home cp -a user1/ us...
Learning SHELL
7 Bash tutorials to enhance your command line skills in 2021 Top 10 Free Resources to Learn Sh...
sar
簡介 sar(系統活動回報程式)- Sar - RedHat/CentOS 內建的系統效能分析工具,這工具會蒐集、回報本日截至目前為止的系統活動資訊。預設的資訊包括本日的 CPU 使用率,每十...
String Manipulation 字串處理
字串長度 my_string="abhishek" echo "length is ${#my_string}" Using expr str="my string" length=$...
AIX 管理技巧
資安相關指令 # Login Failed who /etc/security/failedlogin | tail -50 # Check the number of previou...
拾人牙慧
系統管理 ShellHub - ShellHub is a modern SSH server for remotely accessing Linux devices via comma...
Learning Git
中文 Git 筆記 - Git初始設定 & Github入門 英文 Getting started with GIT on Linux 10 things to lo...
ssh
檢視連線參數的設定 $ ssh -F ~/.ssh/config -G remote-host-name user root hostname 173.82.136.138 port 2...
Yum & Rpm
Yum 系統更新 yum repolist enabled 查詢所有可更新的套件 yum list updates 更新所有套件 yum update --disablere...
系統帳號管理
建立系統用帳號 # CentOS/RedHat groupadd -r asterisk useradd -r -g asterisk -d /var/lib/asterisk -M as...
網路管理
ip # 顯示所有網卡資訊 ip addr ip a # 顯示所有網卡的 IP ip -br -c addr show # 需要較新版 ip # 顯示 eth0 網卡資訊 ...
加密你的隨身碟 - Cryptsetup
說明 如果你想對某個 USB隨身碟內的資料做加密保護,每次掛載前必須先輸入一組密碼。 開始加密 安裝套件 sudo apt install cryptsetup 插入要加密的隨身碟,並...
Learning nmap
線上教學 Top 32 Nmap Command Examples For Linux Sys/Network Admins [中文] https://www.lijyyh.com/20...
常用指令集
掃描單一主機 ### Scan a single ip address ### nmap 192.168.1.1 ## Scan a host name ### nmap serv...
ps
以 PID 查詢 ps -fp <PID> ps -fp <PID#1>,<PID#2>,<PID#3> 分析 CPU/Memory 使用...