使用文本编辑器打开文件:
text_editor test.txt我想把它当作是..。
text_editor test.txt & disown发布于 2017-02-20 16:16:11
如果您的text_editor总是相同的,那么使用一个shell函数。
text_editor(){
/usr/bin/text_editor "$@" & disown
}将这个片段放入~/.bashrc中,然后重新启动shell。
这是通过将命令text_editor替换为一个shell函数来实现的,该函数反过来执行您想要运行的命令。
https://unix.stackexchange.com/questions/346309
复制相似问题