简体   繁体   English

Linux / Ubuntu命令类似于Windows cmd“启动”吗?

[英]Linux / Ubuntu command similar to Windows cmd “start”?

From cmd on windows, you can type "start filename" and an action will be taken based on the programs associated with the type of the file. 在Windows的cmd中,您可以键入“开始文件名”,然后将根据与文件类型关联的程序执行操作。 EXEs will launch, JPEGs will have an associated file viewer opened, etc.. EXE将启动,JPEG将打开相关的文件查看器,依此类推。

Is there a way to do this on Linux / Ubuntu? 有没有办法在Linux / Ubuntu上执行此操作?

您想要xdg-open

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM