Im back! Finally decided to tackle this Linux thing again. I have two questions. 1. What file do I need to edit if I want something to run when the machine is booted, not necessarily with anyone logged in. 2. I forgot the syntax to run a program that is not in the root. TIA <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 9"> <meta name=Originator content="Microsoft Word 9"> <link rel=File-List href="cid:filelist.xml@01BED919.96333260"> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> </w:WordDocument> </xml><![endif]--> <style> /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} span.EmailStyle15 {mso-style-type:personal-compose; mso-ansi-font-size:10.0pt; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:black;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:1248344542; mso-list-type:hybrid; mso-list-template-ids:437567244 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-tab-stop:.5in; mso-level-number-position:left; text-indent:-.25in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=EN-US style='tab-interval:.5in'> <div class=Section1> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>I’m back!<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>Finally decided to tackle this Linux thing again.<span style="mso-spacerun: yes"> </span>I have two questions.<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <ol style='mso-margin-top-alt:0in' start=1 type=1> <li class=MsoNormal style='color:black;mso-list:l0 level1 lfo1;tab-stops:list .5in'><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>What file do I need to edit if I want something to run when the machine is booted, not necessarily with anyone logged in.<o:p></o:p></span></font></span></li> <li class=MsoNormal style='color:black;mso-list:l0 level1 lfo1;tab-stops:list .5in'><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>I forgot the syntax to run a program that is not in the root.<o:p></o:p></span></font></span></li> </ol> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>TIA<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> </div> </body>
I'm back! Finally decided to tackle this Linux thing again. I have two questions. 1.What file do I need to edit if I want something to run when the machine is booted, not necessarily with anyone logged in. 2.I forgot the syntax to run a program that is not in the root.
Hello, 1) According to the manual, put the full path of the script/program in /sbin/init.d/boot.d 2) I don't understand this question. To get any program to run it is sufficient to use the full path name i.e. /home/jrandomuser/foo or (more likely) /usr/X11R6/bin/xfoo David Bellows
I'm back! Finally decided to tackle this Linux thing again. I have two questions. 1.What file do I need to edit if I want something to run when the machine is booted, not necessarily with anyone logged in. 2.I forgot the syntax to run a program that is not in the root.
1. You can use boot.local 2. Either /the/full/path/to/the/file-to-run or, if you are already in the directory where the file is: /.file-to-run -- JLK Linux, because it's STABLE, the source code is included, the price is right.
participants (3)
-
bfootdav@bellsouth.net
-
chris@kulish.com
-
jlkreps@navix.net