Skip to content
Snippets Groups Projects
Commit b777fb0f authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Beispiele und Notizen 16.4.2021

parent a7994da4
No related branches found
No related tags found
No related merge requests found
cassini/home/peter/bo/2021ss/bs/20210416> cat calculate
#!/usr/bin/bc
2 ^ 50 / 10 / 1000 / 1000 / 1000000
cassini/home/peter/bo/2021ss/bs/20210416> ./calculate
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
112
^C
(interrupt) use quit to exit.
quit
cassini/home/peter/bo/2021ss/bs/20210416>
cassini/home/peter/bo/2021ss/bs/20210416> cat calculate
#!/usr/bin/bc -q
2 ^ 50 / 10 / 1000 / 1000 / 1000000
quit
cassini/home/peter/bo/2021ss/bs/20210416> ./calculate
112
cassini/home/peter/bo/2021ss/bs/20210416>
cassini/home/peter/bo/2021ss/bs/20210416> ls -l test-*.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-1.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-2.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:37 test-3.txt -> test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
Test 1
cassini/home/peter/bo/2021ss/bs/20210416> cat test-3.txt
Test 1
cassini/home/peter/bo/2021ss/bs/20210416> rm test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-3.txt
cat: test-3.txt: Datei oder Verzeichnis nicht gefunden
cassini/home/peter/bo/2021ss/bs/20210416>
cassini/home/peter/bo/2021ss/bs/20210416> ls -l test-*.txt
-rw-r--r-- 1 peter peter 7 Apr 16 14:39 test-1.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-2.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:37 test-3.txt -> test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
Test 3
cassini/home/peter/bo/2021ss/bs/20210416> ln -s test-1.txt test-3.txt
cassini/home/peter/bo/2021ss/bs/20210416> rm test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> ln -s test-3.txt test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> ls -l test-*.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:42 test-1.txt -> test-3.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-2.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:37 test-3.txt -> test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
cat: test-1.txt: Zu viele Ebenen aus symbolischen Links
cassini/home/peter/bo/2021ss/bs/20210416>
cassini/home/peter/bo/2021ss/bs/20210416> ls -l test-*.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:42 test-1.txt -> test-3.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-2.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:37 test-3.txt -> test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
cat: test-1.txt: Zu viele Ebenen aus symbolischen Links
cassini/home/peter/bo/2021ss/bs/20210416>
cassini/home/peter/bo/2021ss/bs/20210416> rm test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> ls -l test-*.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-2.txt
lrwxrwxrwx 1 peter peter 10 Apr 16 14:37 test-3.txt -> test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416>
Test 1
test-1.txt
\ No newline at end of file
Hello, world!
../20210409/unix-20210409.tex
\ No newline at end of file
cassini/home/peter/bo/2021ss/bs/20210416> echo "Test 1" > test-1.txt
cassini/home/peter/bo/2021ss/bs/20210416> echo "Test 2" > test-2.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
Test 1
cassini/home/peter/bo/2021ss/bs/20210416> cat test-2.txt
Test 2
cassini/home/peter/bo/2021ss/bs/20210416> ls -l
insgesamt 16
lrwxrwxrwx 1 peter peter 27 Apr 16 10:27 bs-20210416.pdf -> ../20210409/bs-20210409.pdf
-rw-r--r-- 1 peter peter 0 Apr 16 11:53 cd..
-rw-r--r-- 1 peter peter 82 Apr 16 12:20 hello.c
drwxr-xr-x 2 peter peter 4096 Apr 16 12:25 test
-rw-r--r-- 1 peter peter 7 Apr 16 12:26 test-1.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:26 test-2.txt
lrwxrwxrwx 1 peter peter 29 Apr 16 10:19 unix-20210416.pdf -> ../20210409/unix-20210409.pdf
lrwxrwxrwx 1 peter peter 29 Apr 16 12:06 unix-20210416.tex -> ../20210409/unix-20210409.tex
cassini/home/peter/bo/2021ss/bs/20210416> cd test
cassini/home/peter/bo/2021ss/bs/20210416/test> cp -p ../test*.txt
cassini/home/peter/bo/2021ss/bs/20210416/test> ls -l
insgesamt 0
cassini/home/peter/bo/2021ss/bs/20210416/test> cd ..
cassini/home/peter/bo/2021ss/bs/20210416> ls -l
insgesamt 16
lrwxrwxrwx 1 peter peter 27 Apr 16 10:27 bs-20210416.pdf -> ../20210409/bs-20210409.pdf
-rw-r--r-- 1 peter peter 0 Apr 16 11:53 cd..
-rw-r--r-- 1 peter peter 82 Apr 16 12:20 hello.c
drwxr-xr-x 2 peter peter 4096 Apr 16 12:25 test
-rw-r--r-- 1 peter peter 7 Apr 16 12:26 test-1.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:26 test-2.txt
lrwxrwxrwx 1 peter peter 29 Apr 16 10:19 unix-20210416.pdf -> ../20210409/unix-20210409.pdf
lrwxrwxrwx 1 peter peter 29 Apr 16 12:06 unix-20210416.tex -> ../20210409/unix-20210409.tex
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
Test 1
cassini/home/peter/bo/2021ss/bs/20210416> cat test-2.txt
Test 1
cassini/home/peter/bo/2021ss/bs/20210416>
cassini/home/peter/bo/2021ss/bs/20210416/test> echo cp -p ../test*.txt
cp -p ../test-1.txt ../test-2.txt
cassini/home/peter/bo/2021ss/bs/20210416/test>
cassini/home/peter/bo/2021ss/bs/20210416> for x in 1 2 3; do echo "Test $x" > test-$x.txt; donecassini/home/peter/bo/2021ss/bs/20210416> ls -l test*.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-1.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-2.txt
-rw-r--r-- 1 peter peter 7 Apr 16 12:30 test-3.txt
cassini/home/peter/bo/2021ss/bs/20210416> cat test-1.txt
Test 1
cassini/home/peter/bo/2021ss/bs/20210416> cat test-2.txt
Test 2
cassini/home/peter/bo/2021ss/bs/20210416> cat test-3.txt
Test 3
cassini/home/peter/bo/2021ss/bs/20210416> cd test/
cassini/home/peter/bo/2021ss/bs/20210416/test> cp -p ../test*.txt
cp: das angegebene Ziel '../test-3.txt' ist kein Verzeichnis
cassini/home/peter/bo/2021ss/bs/20210416/test>
......@@ -22,3 +22,9 @@
- Mumble-Client: Forward-Error-Correction aktivierbar machen
- PULT auf übersichtlichere und effizientere Weise neu programmieren
* Docker für PULT
- Komfortable Fernsteuerung von Rechnern von Teilnehmenden über VNC in PULT
- Komfortable Fernsteuerung von Rechnern von Teilnehmenden über VNC in BBB
- Work Advanture für die Hochschule installieren
Bsp-Instanz aus Bochum (von dem dortigen Hackspace): https://virtuallab.das-labor.org/
Doku dazu: https://howto.rc3.world/workadventure.en.html
- Treiber für freies Smartphone
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment