1、mkdir
-m, --mode=MODE set file mode (as in chmod), not a=rwx - umask
-p, --parents no error if existing, make parent directories as needed
mkdir -p DIR1/DIR2 //如果dir1不存在,也建立dir1
mkdir -m 755 /usr/dir3 //并設定mode
2、rmdir
-p, --parents
remove DIRECTORY and its ancestors; e.g., `rmdir -p a/b/c' is similar to `rmdir a/b/c a/b a'
3、mount
mount [參數] [挂載裝置] [持載點]
umount [持載點]
常用:
mount -t type /dev/hdxx /mountpoint/
參考