LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2014, 11:40 AM   #1
foooooooofa
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Rep: Reputation: Disabled
init & html


Hello guys ,

i have these two questions if anyone can help me to find it !

1)Write a script called whichdaemon.sh that checks if the httpd and init daemons are
running on  your system. If an httpd is running, the script should print a message like,
"This machine is running a  web server." Use ps to check on processes.

2)Write a script that implements a simple web browser (in text mode), using wget and
links -dump to display HTML pages to the user. The user has 3 choices: enter a URL,
enter b for back and q to quit. The last 10 URLs entered by the user are stored in an
array, from which the user can restore the URL by using the back functionality

Thank you linux questions !
 
Old 12-13-2014, 02:38 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,019

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
please do not double post
see your OTHER post on this
http://www.linuxquestions.org/questi...ml-4175528144/
 
Old 12-13-2014, 03:08 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,661

Rep: Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256
Quote:
Originally Posted by foooooooofa View Post
Hello guys ,

i have these two questions if anyone can help me to find it !

1)Write a script called whichdaemon.sh that checks if the httpd and init daemons are
running on  your system. If an httpd is running, the script should print a message like,
"This machine is running a  web server." Use ps to check on processes.

2)Write a script that implements a simple web browser (in text mode), using wget and
links -dump to display HTML pages to the user. The user has 3 choices: enter a URL,
enter b for back and q to quit. The last 10 URLs entered by the user are stored in an
array, from which the user can restore the URL by using the back functionality

Thank you linux questions !
sounds like a homework problem to me.

BTW, if your system is running... then you have an init daemon running. If it isn't running, then the system has crashed or halted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
init & html foooooooofa Programming 2 12-15-2014 09:06 PM
What is the exact diff between init 1,init S and init s challavijay Linux - Newbie 1 08-05-2010 06:51 AM
Search & Replace Technique to Fix html HREFs w/o html extension donv2 Linux - Newbie 1 01-30-2007 11:59 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM


All times are GMT -5. The time now is 04:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration