LSB 5.0标准中规定操作系统需要支持以下基础命令: [ du ar echo at ed awk egrep basename env batch expand bc expr cat FALSE chfn fgrep chgrp file chmod find chown fold chsh fuser cksum gencat cmp getconf col gettext comm grep cp groupadd cpio groupdel crontab groupmod csplit groups cut gunzip date gzip dd head df hostname diff iconv dirname id dmesg infocmp install install_initd ipcrm ipcs join kill killall ln locale localedef logger logname lp lpr ls lsb_release m4 mailx make man md5sum mkdir mkfifo mknod mktemp more mount msgfmt mv strings newgrp strip nice stty nl su nohup sync od tail passwd tar paste tee patch test pathchk tic pax time pidof touch pr tput printf tr ps TRUE pwd tsort remove_initd tty renice umount rm uname rmdir unexpand sed uniq sendmail useradd seq userdel sh usermod shutdown wc sleep xargs sort zcat split 每个命令对应的测试用例合入测试仓库: https://gitee.com/anolis/anolis-sys-tests 用例需要归属到所属的软件包,每个软件包的用例在同一个字目录中管理。