Ubuntu: Do all Linux programs have some kind of terminal command as well?



Question:

Do all Linux programs have some kind of terminal command as well? Its seems many that I use do. And many seem like terminal commands can actually be more effective sometimes.

I was just wondering if it was always programmed in to software to allow terminal commands for any given software. Like, could you pick up anything and use it fully in a terminal? (Like a messenger) I am getting the idea that it's up to the developer. If they want to incorperate the commands, they can, if not, they just have it as a GUI program. I just wasn't sure how it all worked.


Solution:1

Apps can be at least executed from the terminal. However not all apps have special built in commands specific to the program.

However on a similar note there are terminal only apps that can only be used in a terminal, And there are ones that you can open from a terminal, but only if you have a GUI installed.


Solution:2

Although many programs have a CLI (command line interface) and can be used only from the terminal, not all work that way. It is really up to the developer of the program how they want it to work.

To see if a program has a commandline counterpart, you can either use man or --help. These are the most common ways to find out how to use it from a terminal (or what command line switches it accepts). i.e. if I wanted to find out more about the command cat, I would normally use

cat --help   

This usually provides a summary. man (short for manual pages, a central document store Linux uses for program documentation) is usually more in depth, in case --help doesn't provide the details you need.

man cat  

Many times typing a command with no arguments will also bring up a summary help list, just like --help.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »