【问题标题】:What is the command in Unix something like .a/.exe to run a file you just compiled?Unix 中的命令是什么,例如 .a/.exe 来运行您刚刚编译的文件? 【发布时间】:2014-02-25 00:46:10 【问题描述】: 我已经使用了一段时间但忘记了。它会在 gcc filename.c 之后 【问题讨论】: 我让它与 .a/.exe 一起工作 标签: unix terminal 【解决方案1】: 通常您使用-o 选项为编译器或链接器指定可执行文件的名称,然后使用该名称运行程序。如果您没有使用此选项,则默认的可执行文件名称为 a.out。 【讨论】: