.scope File unità systemd
Testo e codice sorgente
| Tipo MIME | text/x-systemd-unit |
|---|---|
| Descrizione | File unità systemd |
| Categoria | Testo e codice sorgente |
| Firma (magic bytes) | 0A 5B 41 75 74 6F 6D 6F 75 6E 74 5D 0A (.[Automount].)0A 5B 49 6E 73 74 61 6C 6C 5D 0A (.[Install].)0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].) |
| Basato su | text/plain |
| Altre estensioni | .automount, .device, .mount, .path, .service, .slice, .socket, .swap, .target, .timer |
Domande frequenti
Che cos’è un file .scope?
Un file .scope è un formato di tipo «File unità systemd» (tipo MIME text/x-systemd-unit).
Come apro un file .scope?
Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.
Come si riconosce un vero file .scope?
Dai byte all’inizio del file, la firma (magic bytes): 0A 5B 41 75 74 6F 6D 6F 75 6E 74 5D 0A (.[Automount].), 0A 5B 49 6E 73 74 61 6C 6C 5D 0A (.[Install].) e 0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].). Su Linux e macOS, file --mime-type example.scope verifica il tipo reale indipendentemente dall’estensione.
Su quale formato si basa .scope?
Tecnicamente un file .scope è un sottotipo di «Documento in testo semplice» (text/plain), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .scope?
Il tipo MIME è text/x-systemd-unit. Nel server web Apache: AddType text/x-systemd-unit .scope; in nginx: types { text/x-systemd-unit scope; }.