Spyke

Replies

linux

Comment on

Stop being elitist, spread Linux!

If someone comes to me I'm more than happy to answer questions and help, but I won't bring it up. People don't like being told that their tool of choice is "bad" "not optimal" or anything like that. Even if it's only their choice because they grew up with it or don't want to learn anything new. And they still need to learn if it's more than browsing the web.

Also I really don't want to be the one they come running to once something doesn't work the way they expected - or not at all. I don't have the time nor the inclination to be tech support for my family and half of my friends.

linux

Comment on

Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.

In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can't really get any worse if it doesn't work.

For the future: A backup is only any good if you know how to restore it and tested that that actually works.

Regarding the permissions: If you do a cp fileA.txt fileB.txt fileB.txt will normally be owned by the creating user. So a sudo cp ... will create the files as root.

I would personally use rsync with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn't make a whole lot of sense if the files weren't copied that way too.

linux

Comment on

SHARE WITH THE CLASS: What aliases are you using?

Reply in thread

I couldn't even work if I had aliases in my muscle memory. Imagine ssh'ing to a server and every second command you issue doesn't exist because it's some weird alias you set up for yourself.

I'll stick with the "pure" command and use tab completion.

That's also part of the reason why I don't use some of the fancy new tools like ripgrep and exa.

dach

Comment on

Bayern: Gast zahlt 16 Biere einzeln mit EC-Karte

Mich würd ja interessieren, warum der Wirt nicht einfach den Gast darauf aufmerksam macht und spätestens nachm 2. Bier raus haut oder einfach nicht mehr bedient. Anstatt fröhlich weiter zu machen und dann die Polizei zu rufen.

Vielleicht hat der Wirt ja auch schon ein paar Bier intus gehabt und konnte nicht mehr so weit denken.

Edit:

https://www.br.de/nachrichten/bayern/mamminger-bierstreit-wirt-stellt-sachverhalt-klar,UHT7t0l

Oder die Polizei faselt einfach nen Stuss.

firefox

Comment on

What's the best way to sideload extensions?

You can place the .xpi file in a special folder. On my linux system that is in /usr/lib/firefox/browser/extensions/. Which would be the system wide folder. There are others which only affect the current user thkugh.

The user folder is $profile_dir/extensions/. To open the profile directory you can type about:profile in you address bar and click on Open Directory besides Root Directory in the default profile section.