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/

参考

1http://linux.die.net/man/2/readlink

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2021-12-27
  • 2021-08-18
  • 2022-01-07
  • 2021-12-14
  • 2021-09-30
  • 2022-12-23
猜你喜欢
  • 2021-09-05
  • 2022-01-27
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案