Linux的命令选项,从a到z

来源:互联网 发布:qq表情生成软件 编辑:程序博客网 时间:2024/04/28 02:31

Linux的命令选项繁复庞杂,让人眼花缭乱。不够有些选项往往有固定的含义,熟悉了他们记忆便不再有困难了
-a

  1. all : 全部,所有(ls , lsattr , uname)
  2. archive : 存档 (cp , rsync)
  3. append : 附加 (tar -A , 7z)
    -b

  4. blocksize : 块大小,带参数(du , df)

  5. batch : 批处理模式 (交互式程序通常拥有此项,如 top -b)
    -c

  6. command : 执行命令,带参数(bash , ksh , python)

  7. create : 创建 (tar)
    -d
  8. debug : 调试
  9. delete : 删除

    -e

  10. excute : 执行,带参数 (xterm ,perl)

  11. edit : 编辑
  12. exclude :排除
    -f

  13. force : 强制,不经确认 (cp ,rm .mv)

  14. file : 文件,带参数 (tar)
  15. congfiguration file : 指定配置文件(有些守护进程拥有此选项,如ssh, lighttpd)
    -g

    -h

  16. help : 帮助
  17. human readable :人性化显示 (ls , du)
  18. head : 头部
    -i

  19. interactive :交互模式,提示(rm ,mv)

  20. include : 包括
  21. interactive : 交互模式,提示(man)
  22. include : 包括
    -j

    -k

  23. keep : 保留

  24. kill : 杀死
    -l

  25. load : 读取(gcc,emacs)
    -m

  26. message: 消息(cvs)

  27. manual : 手册(whereis)
  28. creat home : 创建home目录(useradd,usermod)
    -n

  29. number : 行号编号(cat , tail, head , pstreee , lspci)

  30. no : (useradd , make)
    -o

  31. output : 输出(cc ,sort)

  32. options : 选项(mount)
    -p

  33. port : 端口,带参数(很多网络工具拥有此选项,如ssh , lftp)

  34. protocol : 协议,带参数
  35. password:密码
    -q

  36. quiet : 静默
    -r

  37. reverse :反转

  38. recursive:递归(cp ,rm , chomd -R)
    -s

  39. silent : 安静

  40. size : 大小,带参数
  41. subject
    -t

  42. tag

  43. type : 类型(mount)
    -u

  44. user : 用户
    -v

  45. verbose :冗长

  46. version : 版本
    -w

  47. width : 宽度

  48. warn :警告
    -x

  49. exclude : 排除(tar ,zip)
    -y

  50. yes
    -z

  51. zip : 启用压缩(bzip , tar ,zip , cvs)

原创粉丝点击