开发者社区 问答 正文

Bash编写中sort命令有哪些?

Bash编写中sort命令有哪些?

展开
收起
开发者小助手_LS 2021-10-09 18:20:13 566 分享 版权
1 条回答
写回答
取消 提交回答
  • 有5个不同的sort命令,分别是:

    sort path/to /file;

    sort --reverse path/to/file

    sort --ignore-case parth/to/file

    sort --numeric-sort path/to/file

    sort --unique path/to/file

    资料来源:电子书《Shell 脚本速查手册》,下载链接:https://developer.aliyun.com/topic/download?id=7888

    2021-10-11 17:13:23
    赞同 展开评论
问答分类:
问答标签: