Linux command
show ubuntu version
Update Ubuntu
monitor port
apache default file location
apache default html location
include other packages which is not in the default, like python3.7
ssh connect to gcp
environment variable
default:
Method 1. copy file to
Method 2. add path to
內網滲透
安裝python3.8及pip3.8
find and replace in vim
vim 會將檔案內的所有的“search_from”字串替換成“replace_to”字串
關閉與開啟自動換行
Change Password
Search all ip
copy file to ssh server
WireGuard
kill background program
Add iptable rule
only allow specific IP and Ports
start ssh
brew package location
Only can create, can't delete
change website contents (Developer Mode)
bits/stdc++.h path on mac
or
stdc++.h
Sent Message to all user
Sent Message to individual user
use who
to show pts index
Deny Message
sync freeBSD time
string cut
use ' ' to separate strings , and get only the first phrase
Show the top 30 largest files by capacity of each user
share your terminal
Enable SSH Service
Python http server
Execute one-time commands "at" a specified time
synchronize time to Taiwan time zone
Show all listening port
show public ip
Remove all python packages
add github config
change python version
Using Pyenv to change python version
Install speedtest
Check Python Package updates
Trigger Github Action with no changes
get requirements.txt with current version