Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
One only need look at LinuxQuestions.org to notice the great amount of script (and code) questions and varieties of comments to realize that we all have varying opinions about bash programming.
Many questions are very complicated, as are the resulting answers and script recommendations. I've noticed that two fundamental points are invariably overlooked by the questioners, and many of the comments:
"All programming is the use of simple operations to solve complex problems
If you are working on the command line and you want an application to open a text file, do it
running a command.
However, this requires you to know the name of the application, which can be difficult to remember,(bad memory!) Especially if you don't know what application it was written in! But Linux has a solution for people like us. Its called gnome-open.
Gnome-open actually makes use of the gnome file handlers to decide what kind...
The following started out as a comment to this blog entry by Carla Schroder on linuxtoday.com. But it quickly became too long so I decided to simply post it here.
Any interface is a metaphor for what you're really doing: shifting zeroes and ones around. Absolutely everything you ever do on the computer is just a metaphor, whether it's using a GUI, the CLI or even programming.
And like language metaphors, different metaphors are useful in different contexts and apply...