|
51.
|
|
|
Run a system command automatically at Startup
|
|
|
|
Rulează o comandă de sistem automat la pornirea calculatorului
|
|
Translated and reviewed by
Manuel R. Ciosici
|
Shared: |
|
Execută automat o comandă de sistem la pornirea calculatorului
|
|
|
Suggested by
Lucian Adrian Grijincu
|
|
|
|
Located in
hardware/C/hardware.xml:308(title)
|
|
52.
|
|
|
Sometimes it can be useful to add a custom command to the startup process so that your computer executes it on every boot. Refer to the following procedure in order to set this up.
|
|
|
|
Uneori poate fi util să adăugaţi o comandă personalizată la procesul de iniţializare astfel încât calculatorul s-o execute la fiecare pornire. Pentru aceasta apelaţi la procedura următoare.
|
|
Translated by
Mihai R
|
|
Reviewed by
Lucian Adrian Grijincu
|
|
|
|
Located in
hardware/C/hardware.xml:310(para)
|
|
53.
|
|
|
Edit the <application>crontab</application> with administrative privileges. To do so, type the following at the command prompt followed by the <keycap>Enter</keycap> key (if asked for a password, enter your user password and press the <keycap>Enter</keycap> key): <screen>
sudo crontab -e
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Editaţi <application>crontab</application> cu privilegii administrative. Pentru a face aceasta, tastaţi următoarele în prompterul de comandă urmate de tasta <keycap>Enter</keycap> key (dacă solicită parolă, introduceţi parola dumneavoastră de utilizator şi apăsaţi tasta <keycap>Enter</keycap> key): <screen>
sudo crontab -e
</screen>
|
|
Translated by
Mihai R
|
|
Reviewed by
Lucian Adrian Grijincu
|
|
|
|
Located in
hardware/C/hardware.xml:324(para)
|
|
54.
|
|
|
Replace <filename>/home/user/command</filename> with the full path to your command.
|
|
|
|
Înlocuiţi <filename>/home/user/command</filename> cu calea întreagă până la comanda dumneavoastră.
|
|
Translated and reviewed by
Manuel R. Ciosici
|
|
|
|
Located in
hardware/C/hardware.xml:342(para)
|
|
55.
|
|
|
Insert the following line: <screen>
@reboot /home/user/command
</screen><placeholder-1/>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Inseraţi următoarea linie: <screen>
@reboot /home/user/command
</screen><placeholder-1/>
|
|
Translated and reviewed by
Manuel R. Ciosici
|
|
|
|
Located in
hardware/C/hardware.xml:336(para)
|
|
56.
|
|
|
Save the file and exit. If using <application>Nano</application> as the default command line editor, press <keycombo><keycap>Ctrl</keycap><keycap>X</keycap></keycombo> followed by <keycap>Y</keycap> for <emphasis>Yes</emphasis> and then the <keycap>Enter</keycap> key.
|
|
|
|
Salvaţi fişierul şi ieşiţi. Dacă folosiţi <application>Nano</application> ca editor în linie de comandă implicit, apăsaţi <keycombo><keycap>Ctrl</keycap><keycap>X</keycap></keycombo> urmate de <keycap>Y</keycap> pentru <emphasis>Da</emphasis> şi apoi tasta <keycap>Enter</keycap>.
|
|
Translated by
Mihai R
|
|
Reviewed by
Lucian Adrian Grijincu
|
|
|
|
Located in
hardware/C/hardware.xml:351(para)
|
|
57.
|
|
|
Change default Operating System at boot
|
|
|
|
Schimbaţi sistemul de operare care porneşte automat la pornitea calculatorului.
|
|
Translated and reviewed by
Manuel R. Ciosici
|
|
|
|
Located in
hardware/C/hardware.xml:363(title)
|
|
58.
|
|
|
Make a backup of your boot configuration file. To do so, type the following at the command prompt followed by the <keycap>Enter</keycap> key (if asked for a password, enter your user password and press the <keycap>Enter</keycap> key): <screen>
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
hardware/C/hardware.xml:373(para) hardware/C/hardware.xml:429(para) hardware/C/hardware.xml:482(para)
|
|
59.
|
|
|
Edit the <filename>menu.lst</filename> file by pressing <keycombo><keycap>Alt</keycap><keycap>F2</keycap></keycombo> and then typing <userinput>kdesu kwrite /boot/grub/menu.lst</userinput> followed by pressing the <guibutton>OK</guibutton> button.
|
|
|
|
Editaţi fişierul <filename>menu.lst</filename> apăsând <keycombo><keycap>Alt</keycap><keycap>F2</keycap></keycombo> şi apoi tastând <userinput>kdesu kwrite /boot/grub/menu.lst</userinput> urmate de apăsarea butonului <guibutton>OK</guibutton>.
|
|
Translated by
Mihai R
|
|
Reviewed by
Lucian Adrian Grijincu
|
|
|
|
Located in
hardware/C/hardware.xml:384(para)
|
|
60.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Manuel R. Ciosici
|
|
|
|
Located in
hardware/C/hardware.xml:394(programlisting)
|