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/
参考