adeee
February 4th, 2011, 05:43 PM
Actually totally new i am.so dont mind. :p
i create a folder bin in home directory. and then file create my_script
paste this script.
#!/bin/bash
# make_page - A script to produce an HTML file
echo "<HTML>"
echo "<HEAD>"
echo " <TITLE>"
echo " The title of your page"
echo " </TITLE>"
echo "</HEAD>"
echo ""
echo "<BODY>"
echo " Your page content goes here."
echo "</BODY>"
echo "</HTML>"
cat << _ADEEE_
<HTML>
<HEAD>
<TITLE>
The title of your page
</TITLE>
</HEAD>
<BODY>
Your page content goes here.
</BODY>
</HTML>
_ADEEE_
then i paste this command.
make_page > page.html
Then it
says
make_page: command not found
but page.html create in bin directory.
and when i double click it there is no output.totally blank.
any idea. :mad:
please reply me as quick as possible if you dont mind because if i face start up problem then i cant learn more.:confused:
------------------------------------------------------------------------------------------
this is my mega thread so if i face any problem in programming then i ask here.admin dont mind. ):P
i create a folder bin in home directory. and then file create my_script
paste this script.
#!/bin/bash
# make_page - A script to produce an HTML file
echo "<HTML>"
echo "<HEAD>"
echo " <TITLE>"
echo " The title of your page"
echo " </TITLE>"
echo "</HEAD>"
echo ""
echo "<BODY>"
echo " Your page content goes here."
echo "</BODY>"
echo "</HTML>"
cat << _ADEEE_
<HTML>
<HEAD>
<TITLE>
The title of your page
</TITLE>
</HEAD>
<BODY>
Your page content goes here.
</BODY>
</HTML>
_ADEEE_
then i paste this command.
make_page > page.html
Then it
says
make_page: command not found
but page.html create in bin directory.
and when i double click it there is no output.totally blank.
any idea. :mad:
please reply me as quick as possible if you dont mind because if i face start up problem then i cant learn more.:confused:
------------------------------------------------------------------------------------------
this is my mega thread so if i face any problem in programming then i ask here.admin dont mind. ):P