Daily Archives: 一月 29th, 2008

这个版本的rhel直接支持acl

aaa{aaa}201: cat /proc/version
Linux version 2.6.9-42.ELsmp (bhcompile@ls20-bc1-13.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Wed Jul 12 23:32:02 EDT 2006
aaa{aaa}202: cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
aaa{aaa}203: cat /etc/issue
Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
Kernel \r on an \m

文摘-solaris下nfs设置

http://blog.vetcafe.net/2005/11/solarisnfs.html
姜源的WebLog

solaris nfs文件

more /etc/dfs/dfstab
#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       Issue the command ‘/etc/init.d/nfs.server start’ to run the NFS
#       daemon processes and the share commands, after adding the very
#       first entry to this file.
#
#       share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#       .e.g,
share -F nfs  -o rw /1
share -F [...]

redhat的nfs的exports文件

/111            192.168.0.0/255.255.255.0(ro,async,no_root_squash)
/222    192.168.0.0/255.255.255.0(rw,async,no_root_squash)

bash里面cd -能回到上一次目录

bash里面cd -能回到上一次目录

tar cvf - xxx|(cd /xyz;tar xvf -)的补充

如果是复制/uvw/xxx
一定要使用
cd uvw
tar cvf - xxx|(cd /xyz;tar xvf -)
不然会变成 /xyz/uvw/xxx