Compare commits
97
Commits
main
..
eaaeed850a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eaaeed850a | ||
|
|
6b8aebee5d | ||
|
|
7bea33c6ec | ||
|
|
a4e156d6fa | ||
|
|
c0ee3cedf1 | ||
|
|
cc30bc10ea | ||
|
|
ab875438fd | ||
|
|
464e39c94b | ||
|
|
d38b726dec | ||
|
|
22f5788725 | ||
|
|
ac58fd67a8 | ||
|
|
6d3a508e61 | ||
|
|
514cc022ef | ||
|
|
c5c4cd72c6 | ||
|
|
b03b3d9db0 | ||
|
|
c32ad7e53d | ||
|
|
3b4b93fc0a | ||
|
|
3cc47f826c | ||
|
|
2b70b639dc | ||
|
|
503808e4b9 | ||
|
|
01ef7e6ea6 | ||
|
|
91286c4c3a | ||
|
|
e9ea6b4153 | ||
|
|
2370a80d50 | ||
|
|
300dad06d9 | ||
|
|
c44741afa3 | ||
|
|
6e57a7260c | ||
|
|
167169a951 | ||
|
|
e248ce3cd6 | ||
|
|
54c5c06514 | ||
|
|
6e0086a8fa | ||
|
|
388236618d | ||
|
|
5e771d3082 | ||
|
|
68e7a62031 | ||
|
|
4d196cef0a | ||
|
|
597f393948 | ||
|
|
319eb357d7 | ||
|
|
6ed1abd0c6 | ||
|
|
e26c5c1025 | ||
|
|
0ba9c750b5 | ||
|
|
a8665fda8e | ||
|
|
d02375723f | ||
|
|
5333e82c4b | ||
|
|
62e833d8ba | ||
|
|
9f37f22e70 | ||
|
|
32e9d418fb | ||
|
|
7b43ee88fd | ||
|
|
8e5286f164 | ||
|
|
3d1e358a10 | ||
|
|
a48e3b2ef7 | ||
|
|
d994797108 | ||
|
|
34249101ff | ||
|
|
2501d2851a | ||
|
|
4f114b5c64 | ||
|
|
fe9ec94a4d | ||
|
|
4f8065a49b | ||
|
|
47e0b6c42b | ||
|
|
5367d91865 | ||
|
|
faa08ba05d | ||
|
|
86634aa3fd | ||
|
|
2e286a3559 | ||
|
|
fe77a0f6b2 | ||
|
|
3ac1a417f8 | ||
|
|
bd573693e2 | ||
|
|
3ec35aebbc | ||
|
|
3902d19030 | ||
|
|
dd95452e00 | ||
|
|
8e747248a2 | ||
|
|
4752b1b226 | ||
|
|
259fb183dd | ||
|
|
0e98c23374 | ||
|
|
3fa557479e | ||
|
|
60355c96d1 | ||
|
|
1afc51478c | ||
|
|
c9cb69941a | ||
|
|
6f18c854f1 | ||
|
|
d37e76f7a5 | ||
|
|
0c2c6938ce | ||
|
|
e98f72d0e1 | ||
|
|
7aa84f0190 | ||
|
|
47b64a8b1d | ||
|
|
395419fc35 | ||
|
|
3c40bf96b5 | ||
|
|
d1c36f36d9 | ||
|
|
af4e40b893 | ||
|
|
fc3aef4da8 | ||
|
|
b8797d5ca8 | ||
|
|
ee98ff11c8 | ||
|
|
d974533247 | ||
|
|
1a3c97415f | ||
|
|
443f86504b | ||
|
|
9ad6acac8a | ||
|
|
51c2037d10 | ||
|
|
64d6231d30 | ||
|
|
581e0968aa | ||
|
|
11e35b7b6b | ||
|
|
3667d479ed |
@@ -2,5 +2,5 @@
|
|||||||
LastUsedProfileId=1
|
LastUsedProfileId=1
|
||||||
|
|
||||||
[Training]
|
[Training]
|
||||||
RequiredAccuracy=92
|
RequiredAccuracy=90
|
||||||
RequiredStrokesPerMinute=150
|
RequiredStrokesPerMinute=100
|
||||||
|
|||||||
Binary file not shown.
@@ -1,220 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE KTouchCourse>
|
|
||||||
<KTouchCourse>
|
|
||||||
<Title>BASH-Tippen</Title>
|
|
||||||
<Description>
|
|
||||||
Kurs zum Erlernen und Üben typischer Bash-Befehle,
|
|
||||||
Dateipfade, Optionen, Umleitungen, Pipes und Shell-Skripte.
|
|
||||||
Ausgelegt für eine deutsche QWERTZ-Tastatur.
|
|
||||||
</Description>
|
|
||||||
|
|
||||||
<Lessons>
|
|
||||||
<Lesson>
|
|
||||||
<Title>Grundzeile und einfache Wörter</Title>
|
|
||||||
<NewKeys>asdf jklö</NewKeys>
|
|
||||||
<Text>
|
|
||||||
asdf jklö asdf jklö
|
|
||||||
fall lass das alles
|
|
||||||
date fasse lade
|
|
||||||
ls ls ls
|
|
||||||
pwd pwd pwd
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Erste Bash-Befehle</Title>
|
|
||||||
<NewKeys>g h r u i e n t</NewKeys>
|
|
||||||
<Text>
|
|
||||||
ls
|
|
||||||
pwd
|
|
||||||
cd
|
|
||||||
clear
|
|
||||||
date
|
|
||||||
whoami
|
|
||||||
hostname
|
|
||||||
echo
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Dateien und Verzeichnisse</Title>
|
|
||||||
<NewKeys>m b c v x z</NewKeys>
|
|
||||||
<Text>
|
|
||||||
ls -l
|
|
||||||
ls -a
|
|
||||||
pwd
|
|
||||||
cd ..
|
|
||||||
cd /
|
|
||||||
cd ~
|
|
||||||
mkdir test
|
|
||||||
touch datei
|
|
||||||
rm datei
|
|
||||||
rmdir test
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Pfade und Verzeichnisnavigation</Title>
|
|
||||||
<NewKeys>/ . - _</NewKeys>
|
|
||||||
<Text>
|
|
||||||
cd /tmp
|
|
||||||
cd /var/log
|
|
||||||
cd ~/Dokumente
|
|
||||||
ls ./datei
|
|
||||||
ls ../
|
|
||||||
pwd
|
|
||||||
mkdir -p projekt/src
|
|
||||||
cd projekt
|
|
||||||
cd src
|
|
||||||
cd ..
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Dateien kopieren und verschieben</Title>
|
|
||||||
<NewKeys>p ö ä ü</NewKeys>
|
|
||||||
<Text>
|
|
||||||
cp datei kopie
|
|
||||||
mv kopie archiv
|
|
||||||
mkdir archiv
|
|
||||||
cp datei archiv/
|
|
||||||
mv archiv/kopie archiv/alt
|
|
||||||
rm archiv/alt
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Optionen und lange Befehle</Title>
|
|
||||||
<NewKeys>q w y ö ä ü</NewKeys>
|
|
||||||
<Text>
|
|
||||||
ls -lah
|
|
||||||
ls --all
|
|
||||||
ls --human-readable
|
|
||||||
mkdir --parents projekt/src
|
|
||||||
cp --interactive datei ziel
|
|
||||||
rm --interactive datei
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Ausgabe und Umleitungen</Title>
|
|
||||||
<NewKeys>> < | &</NewKeys>
|
|
||||||
<Text>
|
|
||||||
echo hallo
|
|
||||||
echo hallo > datei
|
|
||||||
cat datei
|
|
||||||
echo welt >> datei
|
|
||||||
cat < datei
|
|
||||||
cat datei | sort
|
|
||||||
cat datei | less
|
|
||||||
sleep 10 &
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Pipes und Textverarbeitung</Title>
|
|
||||||
<NewKeys>s o k f</NewKeys>
|
|
||||||
<Text>
|
|
||||||
ls -l | less
|
|
||||||
ps aux | less
|
|
||||||
cat /etc/passwd | sort
|
|
||||||
grep root /etc/passwd
|
|
||||||
ls -l | grep txt
|
|
||||||
cat datei | wc -l
|
|
||||||
history | tail
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Suchen mit find und grep</Title>
|
|
||||||
<NewKeys>n d v</NewKeys>
|
|
||||||
<Text>
|
|
||||||
find . -name "*.txt"
|
|
||||||
find /tmp -type f
|
|
||||||
grep hallo datei
|
|
||||||
grep -r hallo .
|
|
||||||
grep -i fehler log.txt
|
|
||||||
find . -type f | sort
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Variablen und Umgebungsvariablen</Title>
|
|
||||||
<NewKeys>$ = " ' { }</NewKeys>
|
|
||||||
<Text>
|
|
||||||
name="Bash"
|
|
||||||
echo "$name"
|
|
||||||
echo "${name}"
|
|
||||||
home="$HOME"
|
|
||||||
echo "$home"
|
|
||||||
export EDITOR=vim
|
|
||||||
echo "$PATH"
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Bedingungen und Rückgabewerte</Title>
|
|
||||||
<NewKeys>[ ] ! -</NewKeys>
|
|
||||||
<Text>
|
|
||||||
test -f datei
|
|
||||||
[ -f datei ]
|
|
||||||
[ -d projekt ]
|
|
||||||
[ ! -e alt ]
|
|
||||||
echo $?
|
|
||||||
command -v bash
|
|
||||||
which bash
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Schleifen und kleine Skripte</Title>
|
|
||||||
<NewKeys>for do done in if then fi</NewKeys>
|
|
||||||
<Text>
|
|
||||||
for file in *.txt; do
|
|
||||||
echo "$file"
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ -f datei ]; then
|
|
||||||
echo "Datei vorhanden"
|
|
||||||
fi
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Bash-Kommandos im Fließtext</Title>
|
|
||||||
<NewKeys></NewKeys>
|
|
||||||
<Text>
|
|
||||||
mkdir -p ~/projekt/{src,bin,doc}
|
|
||||||
cd ~/projekt
|
|
||||||
touch src/main.sh
|
|
||||||
chmod +x src/main.sh
|
|
||||||
echo '#!/usr/bin/env bash' > src/main.sh
|
|
||||||
echo 'echo hallo' >> src/main.sh
|
|
||||||
./src/main.sh
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
|
|
||||||
<Lesson>
|
|
||||||
<Title>Abschlussübung</Title>
|
|
||||||
<NewKeys></NewKeys>
|
|
||||||
<Text>
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
projekt="$HOME/bash-training"
|
|
||||||
mkdir -p "$projekt"
|
|
||||||
cd "$projekt" || exit 1
|
|
||||||
|
|
||||||
for name in eins zwei drei; do
|
|
||||||
echo "$name" > "$name.txt"
|
|
||||||
done
|
|
||||||
|
|
||||||
find . -type f -name "*.txt" |
|
|
||||||
sort |
|
|
||||||
while read -r file; do
|
|
||||||
echo "Datei: $file"
|
|
||||||
wc -l "$file"
|
|
||||||
done
|
|
||||||
</Text>
|
|
||||||
</Lesson>
|
|
||||||
</Lessons>
|
|
||||||
</KTouchCourse>
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
yes J | sudo pacman -Syu
|
||||||
|
yes J | sudo pacman -Syu
|
||||||
|
yes J | sudo pacman -Syu && echo "done"
|
||||||
|
yes J | sudo pacman -Syu && echo "done"
|
||||||
|
Der, die, das
|
||||||
|
Der, die, das
|
||||||
|
Eine Dose voller Soße
|
||||||
|
Eine Dose voller Soße
|
||||||
|
Eine Dose voller Soße
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
[duration]
|
||||||
|
radio_lesson=false
|
||||||
|
radio_time=true
|
||||||
|
radio_token=false
|
||||||
|
spin_time=3
|
||||||
|
spin_token=500
|
||||||
|
|
||||||
|
[error]
|
||||||
|
check_beep=true
|
||||||
|
check_correct=true
|
||||||
|
check_stop=true
|
||||||
|
|
||||||
|
[lesson]
|
||||||
|
combo_theme=
|
||||||
|
list_open=19
|
||||||
|
list_own=1
|
||||||
|
list_training=4
|
||||||
|
tab_current=0
|
||||||
|
|
||||||
|
[main]
|
||||||
|
check_illustration=true
|
||||||
|
language_layout=de_qwertz_win
|
||||||
|
language_lesson=de_de_qwertz
|
||||||
|
|
||||||
|
[mainwindow]
|
||||||
|
pos=@Point(0 0)
|
||||||
|
size=@Size(1920 1046)
|
||||||
|
|
||||||
|
[support]
|
||||||
|
check_border=true
|
||||||
|
check_helpers=true
|
||||||
|
check_path=true
|
||||||
|
check_selection=true
|
||||||
|
check_selection_start=true
|
||||||
|
check_status=true
|
||||||
Reference in New Issue
Block a user