`
hankzhousandy
  • 浏览: 8892 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Linux 基本命令

阅读更多

 

1.修改hostname(最好两文件都修改)

/etc/sysconfig/network

/etc/hosts

注销       

 

2关闭防火墙

1) 重启后生效 
开启: chkconfig iptables on 
关闭: chkconfig iptables off 

2) 即时生效,重启后失效 
开启: service iptables start 
关闭: service iptables stop 

3)查看状态

service iptables status

3 linux cp 不提示overwrite

  cp换成   \cp

  \cp -rf  

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics