Linux
sunboy520555
这个作者很懒,什么都没留下…
展开
-
文件编码格式转换 dos2unix unix2dos
Task: Convert DOS file to UNIX format Type the following command to convert file called myfile.txt:$ dos2unix myfile.txt However above command will not make a backup of original file myfile.txt. To make a backup of original file. The original file is ren原创 2020-05-09 10:24:59 · 738 阅读 · 0 评论 -
Linux常用命令与shell函数总结
一、主机相关命令 查看主机名:hostname 或者export 修改主机名:vi /etc/sysconfig/network 查看ip地址:ifconfig 修改ip地址:vi /etc/sysconfig/network-scripts/ifcfg-eth0 修改ip与主机名的映射关系:vi /etc/hosts 关闭iptables并设置其开机启动/不启动:servic...转载 2019-08-31 17:17:46 · 445 阅读 · 0 评论