Add trim command
This commit is contained in:
@@ -20,3 +20,9 @@ Generare una chiave crittografica e salvarla in `/etc/zabbix/agent.psk`:
|
|||||||
```bash
|
```bash
|
||||||
openssl rand -hex 32 | tee /etc/zabbix/agent.psl
|
openssl rand -hex 32 | tee /etc/zabbix/agent.psl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Trim
|
||||||
|
Opzionalmente, eliminare tutte le righe commentate per accorciare il file.
|
||||||
|
```bash
|
||||||
|
sed -iE '/^#|^$/d' local.conf
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user