You can just grep for carriage returns followed by newlines, grep -Pirn '\r\n$' /path/to/whatever
. It’ll identify all your problematic files.
You can just grep for carriage returns followed by newlines, grep -Pirn '\r\n$' /path/to/whatever
. It’ll identify all your problematic files.
Note: Create your partitions from your empty space. You may need to resize your existing partition to do this. But don’t practice on your main drive.
This is a simple job, in that the steps are few, but it’s something that causes catastrophic data loss if you get it wrong.
I’d recommend buying a cheap second drive, doesn’t have to be big or even good. Partition it, mount it, make sure you can make the partitions automatically mount, teach yourself to copy data around, umount it and remount, make sure you got it right.
Just… these are all very simple things. I wouldn’t hesitate to repartition my own drives. But if you fuck it up you fuck it up good. Make sure you know the operations you’re taking first. Measure twice, cut once, all that jazz.
Boot from a live distro so you can modify your boot disk. Use the disk utility to create partitions. Copy the data to the relevant partitions ensuring to maintain file ownership and permissions. Modify /etc/fstab
to mount the partitions at the designated locations in the filesystem.
I don’t bother putting anything but /home
on its own dedicated partition, but if you ask 10 people this question you’ll get 12 opinions, so just do what feels right.
Actually just saw btop mentioned on Lemmy the other day lol
htop
and/or btop
are more modern user friendly alternatives to the classic top
Plex setup is literally just installing it on a machine. It took me an hour because I decided to move it to a different machine after I set it up.
You might check out xfce. It’s gtk like Gnome but the development team doesn’t have their heads up their asses; pretty much every aspect of xfce can be customized. It should be a simple install from your package manager, whatever distribution you’re using. The downside of this, however, is it might take extensive tweaking to get it to look how you want as it’s a pretty bare bones UI by default. Personally I like it, but ymmv.
That’s the beautiful thing about the Linux world. If you don’t like some aspect there’s virtually always an alternative.
You’ll thank yourself for it later. Things like this take a little longer up front but putting them off has a way of making you have to work around it again and again until, when you get around to correcting it, it takes far more time to undo the workarounds than it would’ve taken to correct it the first time.
I don’t think you understand what root is. By definition it has those permissions because it’s root.
If a different user doesn’t exist then you obviously can’t run the command as that different user. The only solution here is to create a new user account.
Also your image is improperly configured which is something you should fix first.
Simple doesn’t mean well done. Badly written code can be simple but still bad
I’d look at the container’s networking, if I were you.
Yeah “it does nothing but downloads torrents” is the selling point. It’s the reason I exclusively use Transmission.
Don’t bundle your app, let the CDNs do their job. God damn, that’s revolutionary.
Hopefully your idea takes off like the idiot that started the “monorepos” craze.
To your credit, your idea is actually good.
Computers communicate across networks using ports. Port 22 is a commonly used remote administration port called ssh. Bots go around probing computers with an open port 22 hoping to find badly secured or outside misconfigured ssh servers to turn them into bots and crypto miners, etc.
If you do want to open 22, and there are plenty of good reasons to want to, just implement something called port knocking and you can do it safely.
Note with this you still need good authentication. That means no passwords, key based auth only.
Exactly like you think. Cronjob runs a periodic rsync of a handful of directories under /home. My OS is on a different drive that doesn’t get backed up. My configs are in an ansible repository hosted on my home server and backed up the same way.
Just sit them down with it. Kids can figure new technology out.