LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2017, 10:43 AM   #1
jeffecarneiro
LQ Newbie
 
Registered: Sep 2017
Posts: 4

Rep: Reputation: Disabled
SHELL SCRIPT AND HTML integrated?


I can integrate programs made in html and css3 in python for example, using a framework ...
Is it possible to make a box for the html to run inside the shell script?
 
Old 09-14-2017, 12:15 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Hi jeffecarneiro and welcome to LQ.

Not that I'm aware of. I'm moving this thread to the Programming forum in case there's a viewer there who may know different.
 
Old 09-14-2017, 12:30 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Not sure if I understand the question, but are you asking about things like these?

https://www.djangoproject.com/
http://flask.pocoo.org/

Last edited by dugan; 09-14-2017 at 12:31 PM.
 
Old 09-14-2017, 12:31 PM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,268
Blog Entries: 24

Rep: Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195
Welcome to LQ and the programming forum!

I do not really understand the question.

It would be helpful if you could describe in more detail what you are trying to do. Please see the Site FAQ for guidance in asking a more complete question so that others will be better able to help.
 
Old 09-14-2017, 12:56 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I think that the OP is asking if they can run HTML from within a shell script.

Actually I think it is possible to access an HTML page, or cause the browser to run and load a certain page as part of a shell script, but it will not be exactly as they seemed to have said, which would be a window within the terminal that contains this. I'm not sure if that actual behavior is a mandatory need, or if once they can run a browser and load an HTML page that they will be all set.

Meanwhile, what would be important to know is whether or not a graphical desktop environment is currently running. If your Linux is only running at the command line and no graphical desktop is loaded, this problem becomes far worse to consider tackling.
 
Old 09-14-2017, 05:24 PM   #6
jeffecarneiro
LQ Newbie
 
Registered: Sep 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
great! the flask will answer me thank you!
 
Old 09-14-2017, 06:12 PM   #7
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Welcome to LQ!!! You seem to have a great interest, but need more on:
basic concepts, and tech writing.
I don't understand how web programming (flask etc) helps toward shell programming.
To me, shell is an interface to OS syscalls, but web is more of GUI 'apps'.

I did see your next Thread; I'd recommend 2 different directions:
OS concepts and python.
Think about how .py could be both a CLI and produce web code.

Going advanced, 3 'hot' areas: security, cloud, web design/code (think: Equifax Struts)

Can you clarify more about this "html in bash"? Clarify so one could picture your vision.

A web-search of: [allintitle:] run html in bash
Found:https://au.answers.yahoo.com/questio...1102052AAjDMcA
But note that that was confusing too.

Best wishes; continue ...!!! Hope to hear more details from you.
Lots of optimal search keywords Like: equifax struts

Last edited by !!!; 09-14-2017 at 06:16 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Systems call integrated to shell script LinuxDeian Linux - Newbie 3 05-17-2016 08:23 AM
Shell script with html form sagar666 Linux - Server 4 06-14-2015 08:58 AM
[rant] Shell script integrated search engine?! Weapon S General 3 08-29-2013 01:31 AM
execute a shell script from the html button samoptimus@hotmail.com Linux - Newbie 1 12-21-2012 04:16 PM
shell script help with HTML formatting (??) cbtshare Programming 9 01-12-2010 10:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration