Shell Flashcards

1
Q

Welcher Befehl wird für Softlinks verwendet?

A

ln

ln -s für soft

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Befehl zum erstellen eines CPIO Archivs

A

find | cpio -L -v -o -H newc > ../artifacts/initrd.cpio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Befehl zum Compilen des Kernels

A

ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make -j5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Befehl zum Herunterladen von Dateien?

A

wget

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HW5 Befehl von Qemu?

A

qemu-system-aarch64 -m 64 -smp 4 -M virt -cpu cortex-a72 -nographic -kernel artifacts/Image.gz -netdev user,id=mynet0,hostfwd=tcp::22222-:22 -device virtio-net,netdev=mynet0 -append “console=ttyAMA0 init=init” -initrd artifacts/initrd.cpio
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Befehl zum remote connecten?

A

ssh -o “StrictHostKeyChecking=off” root@localhost -p 22222 “$@”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly