Ergebnisse der Gruppe HoneyPi

Aufgabe 2
a)
1) pwd
2) cd ~/buildroot/configs
3) ls
4) find / -name raspberrypi
5) cd
6) file install.sh
7) 1.less install.sh 2. more install.sh

b)
1) mkdir tutorial
2) mkdir -p tutorial/firststeps/directories
3) 1. touch readme.txt 2. > readme.txt
4) echo „Linux ist klasse!“ > hallo.txt
5) echo „weiterer Text“ >> hallo.txt
6) mv hallo.txt linux.txt
7) mv tutorial beispiel
8) 1. mkdir beispiel2 && mv *.txt beispiel2 2. mkdir beispiel2 && cp *.txt beispiel2
9) rm -r beispiel1

c)
1) nano ~/install.sh
2) ^w buildroot
3) ^x n
4) nano ~/shared/beispiel2/linux.txt
5) test
test
^o
6) cursor auf Anfang Zeile 1: ^k^k^k
7) cursor auf Ende ^u
8) ^x

d)
1) ls > inhalt.txt
2) less inhalt.txt &
3) fg [Jobnummer]
4) man man &
5) kill -15 [Jobnummer]
6) ps
7) 1. ps ax 2. top
8) pgrep ssh

e)
#! /bin/sh

auswahl=

until [ „$auswahl“ = „E“ ] ; do

cat << EOF
Ihre Optionen

[1] Buildroot initialisieren (minimale Konfiguration)
[2] Buildroot initilaisieren (Wayland Konfiguration)
[3] Buildroot initialisieren (HTML UI Konfiguration)
[4] sdcard.img nach ~/shared kopieren
[5] neues Projekt anlegen
[E] Ende

EOF

echo -n „Bitte wählen Sie: “
read auswahl
echo

case „$auswahl“ in
1)
#minimal
cd ~/buildroot
make BR2_EXTERNAL=../custom 0=../make dhbw_minimal_defconfig
cd ..
;;
2)
#wayland
cd ~/buildroot
make BR2_EXTERNAL=../custom 0=../make dhbw_wayland_defconfig
cd ..
;;
3)
#HTML UI
cd ~/buildroot
make BR2_EXTERNAL=../custom 0=../make dhbw_html_defconfig
cd ..
;;
4)
#sdcard.img kopieren
cd ~/make/images/sdcard.img ~/shared
;;
5)
#neues Projekt
cd ~/make
make dhbw_minimal_defconfig
;;
E)
echo „Auf Wiedersehen“
;;
*)
echo „Ungültige Eingabe“
;;
esac
done

HoneyPi (1) Praktischer Einstieg in Linux und Buildroot

Ein Kommentar zu „HoneyPi (1) Praktischer Einstieg in Linux und Buildroot

Kommentare sind geschlossen.