[Risolto]skip caratteri o spazi da stringa presa con grep

Qui vengono spostati discussioni e messaggi ritenuti inadeguati per il contenuto o la forma con cui sono stati espressi.
Scrivi risposta
Avatar utente
kimj
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1058
Iscrizione: sabato 13 settembre 2008, 11:45

[Risolto]skip caratteri o spazi da stringa presa con grep

Messaggio da kimj »

ok c'e' ovunque, usa direttamente pretty_name, dovrebbe essere universale.

Codice: Seleziona tutto

echo -e $LRED "Benvenuto in $(awk -F '=' '/PRETTY_NAME/ {print $2}' /etc/os-release 2>/dev/null | tr -d '\n"') architettura $(uname -m | tr -d '\n') su $HOSTNAME di $LOGNAME $Z" 
(elimina anche gli apici intorno al nome della distro)
finito qui.
We no longer think of chairs as technology; we just think of them as chairs. But there was a time when we hadn't worked out how many legs chairs should have, how tall they should be, and they would often 'crash' when we tried to use them.
Scrivi risposta

Ritorna a “Quarantena”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti