Useful Commands
sudo hexdump -C /boot/efi/EFI/ubuntu/shimx64.efi | egrep -C 2 grub –> listet auf, welche EFI-Datei gestartet wird
sudo strings /boot/efi/EFI/ubuntu/grubx64.efi | egrep .cfg –> listet Grub-Config auf
cat /boot/grub/grub.cfg –> genauer Inhalt von Grub-Config
Different Services
| Unit Name | File Appendix | Decription | Example |
|---|---|---|---|
| Service unit | .service | A system service. | cat /etc/systemd/system/sshd.service |
| Target unit | .target | A group of systemd units. -> equivalent to RUNLEVEL | man systemd.target |
| Automount unit | .automount | A file system automount point. | |
| Device unit | .device | A device file recognized by the kernel. | |
| Mount unit | .mount | A file system mount point. | |
| Path unit | .path | A file or directory in a file system. | |
| Scope unit | .scope | An externally created process. | |
| Slice unit | .slice | A group of hierarchically organized units that manage system | |
| processes. | |||
| Snapshot unit | .snapshot | A saved state of the systemd manager. | |
| Socket unit | .socket | An inter-process communication socket. | |
| Swap unit | .swap | A swap device or a swap file. | |
| Timer unit | .timer | A systemd timer. |