如何使用bash使用默认GUI编辑器打开我的脚本文件?
在OS X上有命令open,但据我所知,在linux上不存在.什么是良好的跨平台替代方案?
open
(open somefile.ext在OS X上执行就像在Finder中双击文件一样).
open somefile.ext
linux macos bash shell terminal
bash ×1
linux ×1
macos ×1
shell ×1
terminal ×1