简体   繁体   中英

How to launch console application from terminal in Linux?

I am using ubuntu distro,for your information. I have a console application (doesn't get any parameter, I just need to launch it.) How can I launch it from terminal?

And second question is that since console applications in Linux does not have a "window" can I see console ouputs on terminal?

I know this is a very basic question, but believe me I couldn't find an answer.

In terminal:

cd to the application directory

then type

./appname

You can see the output.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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