Jestem początkujący, więc proszę o wyrozumiałość. Umieściłem w katalogu /root plik restart. Po wpisaniu:
Kod: Zaznacz cały
/root/restart
Kod: Zaznacz cały
No such file or directory
Kod: Zaznacz cały
/root/restart
Kod: Zaznacz cały
No such file or directory
Kod: Zaznacz cały
su
reboot
Kod: Zaznacz cały
su
mv /root/restart /usr/bin/
chmod +x /usr/bin/restart
restart
Kod: Zaznacz cały
ls /root
Kod: Zaznacz cały
ls /root
hlds1 restart serverchecker Steam test3.so
hldsupdatetool.bin restartall serwer1 test1.so ventrilo
readme.txt restart.sh steam test2.so
Kod: Zaznacz cały
mkdir ~/SERVER
su
mv /root/hlds1 [font=monospace] /home/exus/SERVER
....
....
...
[/font]chown -Rv exus:exus /home/exus/SERVER
exit
Kod: Zaznacz cały
chmod +x ~/SERVER/restart
Kod: Zaznacz cały
cd /SERVER/
./restart