分类: LINUX
2010-10-14 17:26:23
export _POSIX2_VERSION=199209更改POSIX版本。更改后的结果:
[root@localhost script]# df -k | tail +2
tail: 无法打开 “+2” 读取数据: 没有那个文件或目录
[root@localhost script]# export _POSIX2_VERSION=199209
[root@localhost script]# df -k | tail +2
/dev/sda10 10091648 8032704 1538040 84% /
tmpfs 1031248 24 1031224 1% /dev/shm
/dev/sda8 41801096 14970368 26830728 36% /media/other
/dev/sda7 30724280 15621888 15102392 51% /media/backup
/dev/sda5 31342780 23073472 8269308 74% /media/software
/dev/sda1 12289692 8388572 3901120 69% /media/disk
/dev/sda9 2032360 286414 1745946 15% /media/disk-1
/dev/sda6 25607576 14232812 11374764 56% /media/study