Hello guys. Im new here, first post.
I am a Linux user for the past couple of years, and just getting into some basic bash scripting.
My coding skills are very basic, and bash is the first skill i am learning and playing with.
I understand it is not an actual "programming language" but a tool to automate admin tasks, manipulate files and such.
So far i am able to write very basic programs with it, using variables, loops, user input, functions and recycling parts of scripts i find online for different learning purposes.
I have been developing websites for long time with WYSIWYG tools and wordpress, but never learned coding like javascript, PHP, python, although I am able to modify sections of code by trial and error, with my limited programming understanding.
Today I am trying to integrate a little bash script I made into a web page. The script takes user input (text), processes it and echoes the desired result.
I am looking online and found a little tutorial to execute a bash script and print the output in html using some PHP and shell_exec.
I couldn't find anything on passing the user input from an HTML form to the actual bash script for processing and spit the result back to the page. In this case, I am trying to adapt the little bash program I previously mentioned into a web page.
So my newbie questions here..
Is it possible to use bash to make web applications or is it very limited to only output whatever the script makes on the server when its executed?
Is it actually safe?
And then, since I am starting to get the basics in a form of programming language, what else should I start learning with the intention to develop some
web applications?
I understand some basic SQL commands, managing databases, and would like to start learning some basic web app development.
Open for suggestions and ideas.
Thank you guys
I am a Linux user for the past couple of years, and just getting into some basic bash scripting.
My coding skills are very basic, and bash is the first skill i am learning and playing with.
I understand it is not an actual "programming language" but a tool to automate admin tasks, manipulate files and such.
So far i am able to write very basic programs with it, using variables, loops, user input, functions and recycling parts of scripts i find online for different learning purposes.
I have been developing websites for long time with WYSIWYG tools and wordpress, but never learned coding like javascript, PHP, python, although I am able to modify sections of code by trial and error, with my limited programming understanding.
Today I am trying to integrate a little bash script I made into a web page. The script takes user input (text), processes it and echoes the desired result.
I am looking online and found a little tutorial to execute a bash script and print the output in html using some PHP and shell_exec.
I couldn't find anything on passing the user input from an HTML form to the actual bash script for processing and spit the result back to the page. In this case, I am trying to adapt the little bash program I previously mentioned into a web page.
So my newbie questions here..
Is it possible to use bash to make web applications or is it very limited to only output whatever the script makes on the server when its executed?
Is it actually safe?
And then, since I am starting to get the basics in a form of programming language, what else should I start learning with the intention to develop some
web applications?
I understand some basic SQL commands, managing databases, and would like to start learning some basic web app development.
Open for suggestions and ideas.
Thank you guys