GNU/Linux shell related internals
biriukov.dev
biriukov.dev
Which is why such banners are generally* not considered compliant with most privacy regulations & are largely put in place out of ignorance/general misinformation around what regulations require.
* Depending on what the cookies are doing it's entirely possible this website might not need to get any consent or even inform users at all - the banner does nothing for them either way.
For bigger sites like YouTube which can't get away with it as much, there's a "Reject All" button that you can click straight away.
NB. This cookie bar annoyance does not work in text-only browser such as links. It only works in popular browsers running CSS and JS.
Uncomment one of the OPTIONS. Then, assuming script is named "1.sh",
sh 1.sh > 1.htm
firefox ./1.htm
#!/bin/sh
#OPTION1=biriukov.dev
#OPTION2=raw.githubusercontent.com
#OPTION3=codeload.github.com
REPO=brk0v.github.io
if test $OPTION3
then
curl -A "" -o$REPO-master.zip https://$OPTION3/brk0v/$REPO/zip/master
fi
for x in \
0-sre-should-know-about-gnu-linux-shell-related-internals-file-descriptors-pipes-terminals-user-sessions-process-groups-and-daemons \
1-file-descriptor-and-open-file-description \
2-pipes \
3-process-groups-jobs-and-sessions \
4-terminals-and-pseudoterminals
do
if test $OPTION2
then
echo url=https://$OPTION2/brk0v/$REPO/master/docs/fd-pipe-session-terminal/$x/index.html
elif test $OPTION1
then
echo url=https://$OPTION1/docs/fd-pipe-session-terminal/$x/
elif test $OPTION3
then
#7z x -so $REPO-master.zip $REPO-master/docs/fd-pipe-session-terminal/$x/index.html
/usr/sbin/unzip -p $REPO-master.zip $REPO-master/docs/fd-pipe-session-terminal/$x/index.html
fi
done|if test $OPTION1
then
curl -A "" -K-
elif test $OPTION2
then
curl -A "" -K-
elif test $OPTION3
then
cat
rm $REPO-master.zip
fi|sed 's/<script/<!--&/g;s/<\/script>/&-->/g;s/cookie.css//g;s/cookie.js//g'https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
Unfortunately, there's not much to a shell other than it's parsing capabilities.
https://archive.fosdem.org/2018/schedule/event/code_parsing_...
Very educational content as well, the section on how pseudoterminals can be used to build terminal emulators was good, and on how ssh creates a remote terminal connection.