a1 und a2
This commit is contained in:
19
.direnv/bin/nix-direnv-reload
Executable file
19
.direnv/bin/nix-direnv-reload
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ ! -d "/home/oq/repos/betriebessysteme" ]]; then
|
||||
echo "Cannot find source directory; Did you move it?"
|
||||
echo "(Looking for "/home/oq/repos/betriebessysteme")"
|
||||
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# rebuild the cache forcefully
|
||||
_nix_direnv_force_reload=1 direnv exec "/home/oq/repos/betriebessysteme" true
|
||||
|
||||
# Update the mtime for .envrc.
|
||||
# This will cause direnv to reload again - but without re-building.
|
||||
touch "/home/oq/repos/betriebessysteme/.envrc"
|
||||
|
||||
# Also update the timestamp of whatever profile_rc we have.
|
||||
# This makes sure that we know we are up to date.
|
||||
touch -r "/home/oq/repos/betriebessysteme/.envrc" "/home/oq/repos/betriebessysteme/.direnv"/*.rc
|
||||
1
.direnv/nix-profile-25.11-9v6qa656sq3xc58v
Symbolic link
1
.direnv/nix-profile-25.11-9v6qa656sq3xc58v
Symbolic link
@@ -0,0 +1 @@
|
||||
/nix/store/7h5wwp171gc8snx8mg2v3v5g54zb7sdz-nix-shell-env
|
||||
2126
.direnv/nix-profile-25.11-9v6qa656sq3xc58v.rc
Normal file
2126
.direnv/nix-profile-25.11-9v6qa656sq3xc58v.rc
Normal file
File diff suppressed because it is too large
Load Diff
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.direnv
|
||||
1
pa-01/a1/a.sh
Executable file
1
pa-01/a1/a.sh
Executable file
@@ -0,0 +1 @@
|
||||
whoami
|
||||
1
pa-01/a1/b.sh
Executable file
1
pa-01/a1/b.sh
Executable file
@@ -0,0 +1 @@
|
||||
who
|
||||
1
pa-01/a1/c.sh
Executable file
1
pa-01/a1/c.sh
Executable file
@@ -0,0 +1 @@
|
||||
finger
|
||||
1
pa-01/a1/d.sh
Executable file
1
pa-01/a1/d.sh
Executable file
@@ -0,0 +1 @@
|
||||
last --help
|
||||
1
pa-01/a1/e.sh
Executable file
1
pa-01/a1/e.sh
Executable file
@@ -0,0 +1 @@
|
||||
man man
|
||||
1
pa-01/a1/f.sh
Executable file
1
pa-01/a1/f.sh
Executable file
@@ -0,0 +1 @@
|
||||
man mesg
|
||||
1
pa-01/a1/g.sh
Executable file
1
pa-01/a1/g.sh
Executable file
@@ -0,0 +1 @@
|
||||
man whatis
|
||||
2
pa-01/a1/h.sh
Executable file
2
pa-01/a1/h.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
info -a --subnodes ls
|
||||
2
pa-01/a1/i.sh
Executable file
2
pa-01/a1/i.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
uname -pv
|
||||
2
pa-01/a1/j.sh
Executable file
2
pa-01/a1/j.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
uptime
|
||||
2
pa-01/a2/a.sh
Executable file
2
pa-01/a2/a.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo ~
|
||||
1
pa-01/a2/b.sh
Executable file
1
pa-01/a2/b.sh
Executable file
@@ -0,0 +1 @@
|
||||
ls -a ~
|
||||
1
pa-01/a2/c.sh
Executable file
1
pa-01/a2/c.sh
Executable file
@@ -0,0 +1 @@
|
||||
cat /etc/passwd
|
||||
2
pa-01/a2/d.sh
Executable file
2
pa-01/a2/d.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
wc -wl /etc/passwd
|
||||
3
pa-01/a2/e.sh
Executable file
3
pa-01/a2/e.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
head -n 7 /etc/passwd
|
||||
tail -n 7 /etc/passwd
|
||||
2
pa-01/a2/f.sh
Executable file
2
pa-01/a2/f.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
touch ~/.hidden-file
|
||||
mkdir ~/.hidden-dir
|
||||
1
pa-01/a2/g.sh
Executable file
1
pa-01/a2/g.sh
Executable file
@@ -0,0 +1 @@
|
||||
mv ~/.hidden-file ~/.hidden-dir/
|
||||
3
pa-01/a2/h.sh
Executable file
3
pa-01/a2/h.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
yesterday="$(date -d "yesterday 13:00" '+%Y-%m-%d')"
|
||||
touch -d "$yesterday" ~/.hidden-dir/.hidden-file
|
||||
4
pa-01/a2/i.sh
Executable file
4
pa-01/a2/i.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
f1="/usr/include/linux"
|
||||
f2="/usr/bin/X11/X"
|
||||
realpath -s --relative-to="$f1" "$f2"
|
||||
4
pa-01/a2/j.sh
Executable file
4
pa-01/a2/j.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
f1="/var/log/cups"
|
||||
f2="/root"
|
||||
realpath -s --relative-to="$f1" "$f2"
|
||||
4
pa-01/a3/a.sh
Executable file
4
pa-01/a3/a.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
touch "*"
|
||||
ls -a "*"
|
||||
rm "*"
|
||||
1
pa-01/a3/b.sh
Executable file
1
pa-01/a3/b.sh
Executable file
@@ -0,0 +1 @@
|
||||
ls -a ~
|
||||
1
pa-01/a3/c.sh
Executable file
1
pa-01/a3/c.sh
Executable file
@@ -0,0 +1 @@
|
||||
cat /etc/passwd
|
||||
2
pa-01/a3/d.sh
Executable file
2
pa-01/a3/d.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
wc -wl /etc/passwd
|
||||
3
pa-01/a3/e.sh
Executable file
3
pa-01/a3/e.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
head -n 7 /etc/passwd
|
||||
tail -n 7 /etc/passwd
|
||||
2
pa-01/a3/f.sh
Executable file
2
pa-01/a3/f.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
touch ~/.hidden-file
|
||||
mkdir ~/.hidden-dir
|
||||
1
pa-01/a3/g.sh
Executable file
1
pa-01/a3/g.sh
Executable file
@@ -0,0 +1 @@
|
||||
mv ~/.hidden-file ~/.hidden-dir/
|
||||
3
pa-01/a3/h.sh
Executable file
3
pa-01/a3/h.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
yesterday="$(date -d "yesterday 13:00" '+%Y-%m-%d')"
|
||||
touch -d "$yesterday" ~/.hidden-dir/.hidden-file
|
||||
4
pa-01/a3/i.sh
Executable file
4
pa-01/a3/i.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
f1="/usr/include/linux"
|
||||
f2="/usr/bin/X11/X"
|
||||
realpath -s --relative-to="$f1" "$f2"
|
||||
4
pa-01/a3/j.sh
Executable file
4
pa-01/a3/j.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
f1="/var/log/cups"
|
||||
f2="/root"
|
||||
realpath -s --relative-to="$f1" "$f2"
|
||||
Reference in New Issue
Block a user