linux
文章平均质量分 50
Ta-ttoo
这个作者很懒,什么都没留下…
展开
-
解决ifconfig只有lo或只有ipv6的问题
打开虚拟机发现连不上网ifconfig:只有本地回环手动启动:# ifconfig eth0 upeth0:unknown interface:没有那个设备尝试eth1# ifconfig eth1 up有戏 此时只有ipv6这时就需要配置eth1了进入下图目录可以看到eth0和lo的配置文件操作:cp ifcfg-eth0 ifcfg-eth0.bakmv ...原创 2018-10-25 12:35:08 · 9068 阅读 · 0 评论 -
Linux常用命令总结
Linux 常用命令awk / arch /bc /cp / clock -w / chmod / chkconfig / cal / cut /chmod / cat / crotable / clean /date / diff / df / du -sh /echo / exit /find / free / fdisk -l /gzip / Grep /Help / his...原创 2018-10-24 17:19:12 · 1595 阅读 · 0 评论 -
关于Linux中的PS1和PS2
export PS1="[\e[36m][\u@\h \W]\$ [\e[m]"原创 2018-10-27 14:32:54 · 1950 阅读 · 0 评论