Home
Sign Up
Sign In
V2EX
›
macOS
mac 的 ls 没有 Linux 的好用?
datadump
·
PRO
·
Aug 24, 2022
· 2660 views
This topic created in 1555 days ago, the information mentioned may be changed or developed.
小弟初入 mac ,比如执行:
ls -l /bin
ls /bin -l
这两个 linux 下跑的好好的,但是 mac 第一个可以第二个不行
貌似 mac 的 ls 乱七八糟的。能不能安装 linux 的 ls 呢?
感谢大家
Mac
Linux
bin
乱七八糟
6 replies
•
2022-08-24 17:39:43 +08:00
jorneyr
Aug 24, 2022
1
安装 exa 代替 ls 吧,整个别名
datadump
OP
PRO
Aug 24, 2022
2
@
jorneyr
exa 是最优解决方案吗
catoncat
Aug 24, 2022
3
BSD 和 GNU 的区别
catoncat
Aug 24, 2022
1
4
brew install coreutils
export PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"
catoncat
Aug 24, 2022
5
@
crs0910
#4 哈 换行失败
datadump
OP
PRO
Aug 24, 2022
6
@
crs0910
就是在找这个东东呀,太感谢了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1031 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 18:46
·
PVG 02:46
·
LAX 10:46
·
JFK 13:46
♥ Do have faith in what you're doing.
❯