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
leetcode
blockchain
array
sql
react
leetcode-top-interview
medium
typescript
smart-contract
two-pointer
solana
javascript
java
ethereum
easy
css
Linux
zsh
ubuntu
next.js
jekyll
http
hardhat
golang
ethers
docker
Secureum
Rust
web
wallet
vscode
typeorm
truffle
stack
shell
rpc
notion
notes
nodejs
nextjs
mocha
html
go
github
git
geth
filesystem
express
eslint
cloudflare
Vim
DSA