#重定向输出重定向:1>覆盖输出(1可省略)[root@VM_168_102_centostmp]#lsfunctions>shuchu
[root@VM_168_102_centostmp]#catshuchu
functions
[root@VM_168_102_centostmp]#lsfstab>shuchu
[root@VM_168_102_centostmp]#catshuchu
fstab
1>>追加输出(1可省..
分类:
系统相关 时间:
2014-08-17 17:10:33
阅读次数:
302
#chown命令:通过chown改变文件的属主和属组。在更改文件的属主或所属组时,可以使用用户名称和用户识别码设置。普通用户不能将自己的文件改变成其他的属主。其操作权限一般为管理员。修改文件属主和属组:[root@VM_168_102_centos~]#ls-l
total8
drwxr-xr-x2wanghanhx4096Aug1..
分类:
系统相关 时间:
2014-08-13 19:26:27
阅读次数:
336
#useradd命令:建立用户帐号和创建用户的起始目录,使用权限是超级用户[root@VM_168_102_centos~]#useraddtest
[root@VM_168_102_centos~]#idtest
uid=502(test)gid=502(test)groups=502(test)
[root@VM_168_102_centos~]#tail-n1/etc/passwd
test:x:502:502::/home/test:/bin/..
分类:
系统相关 时间:
2014-08-13 15:23:07
阅读次数:
534
#文件名通配通配符:*:匹配任意长度的任意字符(0到多个)[root@VM_168_102_centos~]#ls*
0812080808
2014-05-16:
test.log
ceshi_1:
test:
[root@VM_168_102_centos~]#ls-ldt*
drwxr-xr-x2rootwanghan4096Aug1115:46test
?:匹配任意单个字符
[root@VM_168_102_cento..
分类:
系统相关 时间:
2014-08-12 13:52:34
阅读次数:
385
#stat命令:查看文件信息[root@VM_168_102_centos~]#stattest.log
File:`test.log‘
Size:0Blocks:0IOBlock:4096regularemptyfile
Device:ca01h/51713dInode:483339Links:1
Access:(0644/-rw-r--r--)Uid:(0/root)Gid:(500/wanghan)
Access:2014-08-1114:27:24.000000000+0800
Mo..
分类:
系统相关 时间:
2014-08-11 18:15:14
阅读次数:
527
.main_con img{ max-width: 610px; height: auto; cursor: pointer; border: 0px double #cccccc; padding: 2px; zoom: expression( function...
分类:
其他好文 时间:
2014-07-25 14:27:11
阅读次数:
177
一.HTML 商品1 @RenderBody() 二.CSS/*瀑布流浏览方式*/.main{ width: 720px; height:auto; border: 1px solid #cccccc; margin-left: 12px;...
分类:
其他好文 时间:
2014-07-08 00:09:24
阅读次数:
319
.style1
{
width: 50%; border:1px solid #cccccc; border-collapse:collapse; font-size:12px;
}
.style1 td{ border:1px solid #cccccc; height:25px; }
input{...
分类:
Web程序 时间:
2014-07-05 10:59:28
阅读次数:
216
正则表达式是基于样式匹配的进行文本处理,透过一些特殊符号的辅助,可以达到搜寻、删除、取代某特定的字符串。
grep可用于shell脚本,因为grep通过返回一个状态值来说明搜索的状态,如果模板搜索成功,则返回0,如果搜索不成功,则返回1,如果搜索的文件不存在,则返回2。
..
分类:
其他好文 时间:
2014-05-24 16:58:02
阅读次数:
270
下是centos6.4里安装vim配置操作命令[BEGIN]2014/5/13星期二上午10:08:54
[root@bogon~]#rpm-qa|grepvim
[root@bogon~]#yumremovevimvim-enhancedvim-commonvim-minimal
[root@bogon~]#wgetftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
[root@bogon~]#yumupdatewget
[root@..
分类:
其他好文 时间:
2014-05-15 00:36:45
阅读次数:
379