BASH skript

Sekcia: Aplikácie & Desktop 31.10.2007 | 12:41
Avatar Dare_devil Debian, OpenSuse  Používateľ
Dobry den.Ako sa da napisat skript, ktory spravi toto?
viktor@home:~ ssh 127.0.0.1
viktor@home:~ at now + 1 minute
at> DISPLAY=:0.0 xlock
at> <EOT>
job X at XXXXX
viktor@home:~ exit
logout
Connection to 127.0.0.1 closed.
viktor@home:~
Velmi by mi to pomohlo, chcel by som sa naucit pisat bash skripty a taktiez, potrebujem to urobit do klikacej aplikacie.
Dakujem
There is no flag large enough to cover the shame of killing innocent people
    • Re: BASH skript 31.10.2007 | 12:51
      Avatar Dare_devil Debian, OpenSuse  Používateľ
      to ssh je lahke, predsa.. ale to at nie, + na konci treba zmacknut ctrl+d aby sa to ulozilo.. po napisani at> <EOT> to at neukoncilo, treba to ukoncit zmacknutim ctrl+d. Prosim je to surne :( Dakujem
      There is no flag large enough to cover the shame of killing innocent people