Ubuntu - 修改 hostname
20 Feb 2023ubuntu
-
查看目前的 hostname
hostname
-
修改 etc/hostname
sudo vim etc/hostname
-
修改 etc/hosts
sudo vim etc/hosts
-
運行以下指令
sudo hostname -F /etc/hostname
重新開啟 terminal ,應該就可以看到新的 hostname 了!
ubuntu
查看目前的 hostname
hostname
修改 etc/hostname
sudo vim etc/hostname
修改 etc/hosts
sudo vim etc/hosts
運行以下指令
sudo hostname -F /etc/hostname
重新開啟 terminal ,應該就可以看到新的 hostname 了!
solidity
picoCTF
Go
ethernaut
linux
blockchain
sql
react
smart-contract
typescript
solana
javascript
ethereum
css
Linux
ubuntu
next.js
jekyll
hardhat
golang
ethers
Secureum
Rust
zsh
web
wallet
vscode
truffle
rpc
notion
notes
nodejs
nextjs
mocha
html
github
git
geth
express
eslint
docker
cloudflare
Vim
DSA