设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 手机 数据 公司
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

获取有关Linux shell内置命令的帮助(2)

发布时间:2019-07-29 20:36 所属栏目:117 来源:Sandra Henry-stocker
导读:你可以通过向 help 命令提供你感兴趣的内置命令名称来获取关于它们的更多信息,例如 help dirs : $ help dirs dirs: dirs [-clpv] [+N] [-N] Display directory stack. Display the list of currently remembered

你可以通过向 help 命令提供你感兴趣的内置命令名称来获取关于它们的更多信息,例如 help dirs

  1. $ help dirs
  2. dirs: dirs [-clpv] [+N] [-N]
  3. Display directory stack.
  4.  
  5. Display the list of currently remembered directories. Directories
  6. find their way onto the list with the `pushd' command; you can get
  7. back up through the list with the `popd' command.
  8.  
  9. Options:
  10. -c clear the directory stack by deleting all of the elements
  11. -l do not print tilde-prefixed versions of directories relative
  12. to your home directory
  13. -p print the directory stack with one entry per line
  14. -v print the directory stack with one entry per line prefixed
  15. with its position in the stack
  16.  
  17. Arguments:
  18. +N Displays the Nth entry counting from the left of the list
  19. shown by dirs when invoked without options, starting with
  20. zero.
  21.  
  22. -N Displays the Nth entry counting from the right of the list
  23. shown by dirs when invoked without options, starting with
  24. zero.
  25.  
  26. Exit Status:
  27. Returns success unless an invalid option is supplied or an error occurs.

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读