2014年3月29日

alias

摘要: 1、语法:alias[别名]=[指令名称][root@rusky /]# alias pingm="ping 127.0.0.1" [root@rusky /]# pingmPING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=1.09 ms64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=4.81 ms--- 127.0.0.1 ping statistics ---2、直接输入命令alia 阅读全文

posted @ 2014-03-29 18:22 遠離塵世の方舟 阅读(309) 评论(0) 推荐(0)

linux软硬链接

摘要: ln分为软链接和硬链接 1、软连接 -s ln -s /mnt/hgfs/SHARE hvshare2 相当于在当前目录下新建一个名为hvshare2的快捷方式指向/mnt/hgfs/SHARE路径 ls hvshare2可显示指向路径下的所有文件,删除hvshare2相当于删除原路径的快捷方式 2 阅读全文

posted @ 2014-03-29 18:16 遠離塵世の方舟 阅读(334) 评论(0) 推荐(0)

linux 常用find命令

摘要: 1、查找当前目录下以test开头的所有文件-会进入子目录中去查找 [root@rusky hgfs]# find -name test* 2、查找当前目录下名为test.txt的文件-会进入子目录中去查找 [root@rusky hgfs]# find -name test.txt 3、在指定路径/ 阅读全文

posted @ 2014-03-29 00:00 遠離塵世の方舟 阅读(1642) 评论(0) 推荐(0)

导航