Comment on Every time i have to use windows again my IQ slips a point or two

<- View Parent
skullgiver@popplesburger.hilciferous.nl ⁨1⁩ ⁨year⁩ ago

Learning to work with any operating systems beyond the most basic apps takes a lot of time. Whatever OS you started out with probably took you a few years to get into, but as a kid you don’t notice that you’re learning anything special. And, to be honest, Linux GUIs lack a lot of quality of life features. At least in Windows you can use the mouse to make files read-only, in many Linux utilities you can’t even see or modify such attributes.

Getting Wireguard and Pihole working without any prior Linux knowledge is an impressive feat on its own! Putting three days of work into it shows more dedication than I would have, I hope it paid off when you finished!

Also, you were so close with the name thing. In most shell languages, after typing name=“client_name” you can use the dollar sign to refer to the value you set, i.e. $name.

If type this:

name="Eve"
echo "Hello, $name!"

you would see Hello, Eve!

This would actually work perfectly:

user@box ~ $ name="client_name"
user@box ~ $ echo "[interface]" > $name

This would create a file called client_name that contains the line [interface].

I see a lot of tutorials online that had special characters removed (i.e. the dollar sings) or had broken script because quotes were turned into fancy quotes that are meaningless to the terminal, often because those guides were shamelessly stolen from other sites without checking if they even worked. It’s easy to miss these things!

source
Sort:hotnewtop