Commit 34180af5 authored by Jean Privat's avatar Jean Privat
Browse files

Merge branch '193-final-differe' into 'master'

193 final differe

See merge request jprivat/INF1070!47
parents c28a36a0 1899058d
Pipeline #5425 passed with stage
in 4 minutes and 49 seconds
USER PID PPID C SZ STIME TTY TIME CMD
root 1 0 0 56441 16:38 ? 00:00:02 /sbin/init splash
root 270 1 0 41086 16:38 ? 00:00:01 /lib/systemd/systemd-journald
root 295 1 0 11766 16:38 ? 00:00:00 /lib/systemd/systemd-udevd
avahi 920 1 0 11855 16:38 ? 00:00:00 avahi-daemon: running
root 934 1 0 250305 16:38 ? 00:00:01 /usr/lib/snapd/snapd
avahi 946 920 0 11769 16:38 ? 00:00:00 avahi-daemon: chroot helper
root 1000 1 0 76552 16:38 ? 00:00:00 /usr/sbin/cups-browsed
gdm 1151 1 0 19247 16:38 ? 00:00:00 /lib/systemd/systemd --user
gdm 1153 1151 0 28079 16:38 ? 00:00:00 (sd-pam)
root 1476 1 0 72442 16:38 ? 00:00:00 /usr/lib/x86_64-linux-gnu/boltd
root 1477 1 0 110386 16:38 ? 00:00:14 /usr/lib/packagekit/packagekitd
whoopsie 1581 1 0 97146 16:38 ? 00:00:00 /usr/bin/whoopsie -f
lambda 1589 1 0 19245 16:38 ? 00:00:00 /lib/systemd/systemd --user
geoclue 1834 1 0 116749 16:38 ? 00:00:00 /usr/lib/geoclue-2.0/geoclue -t 5
lambda 4323 1589 7 193804 16:59 ? 00:00:50 /usr/[...]/gnome-terminal-server
lambda 4421 4323 0 6075 16:59 pts/0 00:00:00 bash
lambda 4496 4421 0 5304 16:59 pts/0 00:00:00 tmux
lambda 4498 1589 16 8174 16:59 ? 00:00:41 tmux
epsilon 4534 4497 0 6251 16:59 pts/2 00:00:00 bash
lambda 4568 4498 0 6251 16:59 pts/3 00:00:00 -bash
omicron 4602 4495 0 6380 16:59 pts/4 00:00:00 bash
lambda 4981 4498 0 6252 17:07 pts/1 00:00:00 -bash
epsilon 5019 4534 80 1903 17:07 pts/2 00:02:39 cat /dev/urandom
epsilon 5020 4534 23 1874 17:07 pts/2 00:00:41 tr -cd ABC
lambda 5030 4981 67 1877 17:07 pts/1 00:00:00 tail -f error.log
lambda 5031 4568 0 3399 17:08 pts/3 00:00:00 nc -l 8888
lambda 5032 4498 0 6251 17:08 pts/5 00:00:00 -bash
omicron 5236 4602 8 202123 17:10 pts/4 00:00:00 gnome-calculator
omicron 5248 4602 0 9342 17:10 pts/4 00:00:00 ps -e -o user,pid,ppid,[...]
\ No newline at end of file
$ ls -l
drwxr-xr-x 1 dark_vador empire 4096 dec 19 20:00 etoile_noire/
-rwxr-xr-x 1 dark_vador empire 1977 mai 25 21:00 stormtrooper
-rw-r--r-- 1 dark_vador empire 2015 dec 18 22:00 premier_ordre
$ cat stormtrooper
#!/bin/bash
if [ -d "$1" ]; then
rep="$1"
else
exit 1
fi
shift
if [ "$1" -gt 0 ]; then
for f in $(seq 1 $1); do
touch "$rep/stormtrooper_$f"
done
exit 0
else
exit 2
fi
\ No newline at end of file
$ echo 5; sleep 4; sleep 1 # C1
$ { sleep 3; sleep 4; } | sleep 1 # C2
$ sleep 1 && sleep 6 # C3
$ sleep 2 | sleep 3 # C4
$ sleep 1 || sleep 7 # C5
\ No newline at end of file
$ ls -l /home/tarzan/bin
-rwxr-xr-x 1 tarzan jungle 3754 dec 15 14:00 crier
$ pwd
/home/tarzan
$ echo $PATH
/usr/local/bin:/usr/bin:/bin
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment