.bashrc & rename hostname & rename username All In One
.bashrc & rename hostname & rename username All In One
macOS
mbp
$ pwd
$ cd ~
$ pwd
$ cat .bashrc
$ vim .bashrc
# sudo vim .bashrc
# i
# ESC + :wq!
Raspberry Pi change hostname
eric@rpi4b:~ $ sudo raspi-config
eric@rpi4b:~ $ cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
# fix hostname lost ❓
ff00::0 ip6-localnet
ff00::0 ip6-mcastprefix
#
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 rpi4b
# fix github 443 ❌
185.199.108.133 raw.githubusercontent.com
# fix: git repo
20.205.243.166 github.com
164.90.255.4 install.pi-hole.net
eric@rpi4b:~ $ cat /etc/hostname
rpi4b
eric@rpi4b:~ $ hostname -I
192.168.18.168
https://www.tomshardware.com/how-to/raspberry-pi-change-hostname
Windows 10
demos
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10935638.html
未经授权禁止转载,违者必究!