Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Eseguire comandi su script.sh

    Salve a tutti...

    premetto che ho cercato info un po dappertutto ma non riesco ad uscirne...
    sto creano dei piccoli scriptini da mettere in .kde/autostart per evitare di dover smanettare come un dannato ogni volta che accendo il portatile...


    allora
    il mio script serve per eseguire i seguenti comandi

    switch-to-hostap
    iwconfig wlan0 mode monitor
    iwconfig wlan0 shannel 11

    in modo che faccia tutto in automatico lui senza dovermi ricordare tt i comandi a memoria...

    io il file lo ho scritto come sopra quindi primo comando a capo secondo comando a capo terzo comando...
    pensavo che una volta eseguito il primo passasse al secondo e cosi via ma a quanto pare nn è cosi
    infatti esegue switch-to-hostap e gli altri 2 comandi da errore...

    come cavolo faccio a fare una lista di comandi eseguibili?? e che me li esegua in modo che finito uno passi a quello dopo e cosi via?


    grazie mille


    Cla
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  2. #2

  3. #3
    Grazie mille proprio quello che cercavo
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.