• pwdthe current working directory
  • cd -: return to the previous working directory
  • Filenames that begin with a period character are hidden. 使用ls不会显示 这些文件,必须使用ls -a
  • By adding -l to the commandls -l, we changed the output to the long format.
  • ls -lt 列出文件详细信息,并根据修改时间排序。使用ls -lt --revers会反向排序。
  • ls -F,如果是文件夹会显示为:Downloads/,在结尾用符号“/”加以区别。
  • ls -lh,文件大小以KB为单位显示,便于阅读。
  • ls -lhS,按照文件大小排序,大小以KB为单位显示。

相关文章:

  • 2021-07-29
  • 2021-10-12
  • 2021-09-24
  • 2021-04-08
  • 2021-08-02
  • 2021-11-06
  • 2021-10-01
猜你喜欢
  • 2022-12-23
  • 2022-01-17
  • 2021-10-09
  • 2021-12-23
  • 2021-12-23
  • 2021-07-02
相关资源
相似解决方案