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 NameFile AppendixDecriptionExample
Service unit.serviceA system service.cat /etc/systemd/system/sshd.service
Target unit.targetA group of systemd units. -> equivalent to RUNLEVELman systemd.target
Automount unit.automountA file system automount point.
Device unit.deviceA device file recognized by the kernel.
Mount unit.mountA file system mount point.
Path unit.pathA file or directory in a file system.
Scope unit.scopeAn externally created process.
Slice unit.sliceA group of hierarchically organized units that manage system
processes.
Snapshot unit.snapshotA saved state of the systemd manager.
Socket unit.socketAn inter-process communication socket.
Swap unit.swapA swap device or a swap file.
Timer unit.timerA systemd timer.