Yes. All the time.
Yes. All the time.
Sure, but there’s no verification when calling a cab so you can use an alias if you want.
Most useful? Without a doubt, my laptop. The amount of things that can be done with a modern computer is pretty stunning, and a portable one is arguably more useful.
Other than that, maybe my car keys because the amount of things you can do with a car is stunning, but you need the keys to start it, and the car isn’t in this room.
Show your effective sshd server config: sudo sshd -T
If I understand the problem correctly it has a pretty simple solution that I have done before. Make a new partition on the destination and dd if=/dev/diskAsB of=/dev/diskXsY
where A is the source disk and B is the source partition and X is the destination disk and Y is the destination partition. You may have to run fsck on the destination afterwards and maybe a gpt repair tool.
Honestly though, since it’s an ext filesystem, if it were me I’d just mount the source and dest and rsync.
While I don’t disagree with you, I think it’s a bit funny that you’re bringing up hardships using apt to update software in Debian when the biggest complaint about Ubuntu is having to use snap instead of apt.
Ubuntu is not terrible and if it works for you then fine. I would be surprised if Debian or Mint didn’t also work for you just as well though.
I had the same experience on my one gui Ubuntu machine. I also have several headless machines, and due to some shared libraries I always ended up with snapd installed even though none of the packages I was running were installed through snap. I always found it through the mount point pollution that snapd does.
It’s not a typo. The first section of the regex is a matching section, where a dot means “match any character”, and an escaped dot is a literal dot character. The second section is the replacement section, and you don’t have to escape the dot there because that section isn’t matching anything. You can escape it though if it makes the code easier to read.
rename
is written in Perl so all Perl regular expression syntaxes are valid.
However, your comment did make me realize that I hadn’t escaped a dot in the third example! So I fixed that.
compgen -back
to see all valid things you can type into a shell.
This is because $HOME/bin
is in your $PATH
environment variable. You can add more paths that you’d like to execute scripts from, like a personal git repo that contains your scripts.
Check out rename
$ touch foo{1..5}.txt
$ rename -v 's/foo/bar/' foo*
foo1.txt renamed as bar1.txt
foo2.txt renamed as bar2.txt
foo3.txt renamed as bar3.txt
foo4.txt renamed as bar4.txt
foo5.txt renamed as bar5.txt
$ rename -v 's/\.txt/.text/' *.txt
bar1.txt renamed as bar1.text
bar2.txt renamed as bar2.text
bar3.txt renamed as bar3.text
bar4.txt renamed as bar4.text
bar5.txt renamed as bar5.text
$ rename -v 's/(.*)\.text/1234-$1.txt/' *.text
bar1.text renamed as 1234-bar1.txt
bar2.text renamed as 1234-bar2.txt
bar3.text renamed as 1234-bar3.txt
bar4.text renamed as 1234-bar4.txt
bar5.text renamed as 1234-bar5.txt
I used to love trying every new Ubuntu release. Then snap came along. :( After 17 years of Ubuntu (6.04-23.10), with only a few years of centos in the middle, I switched back to Debian. I see this release is still all-in with snap. Lame.
Oh man, what a throwback! I had completely forgotten about this. It made a splash and then I never heard anything more about it. One of my coworkers installed it on his Toshiba laptop and ran it for a week or two before giving up.
Seriously this. Any comment about a complicated system that starts with “just” can be ignored 99% of the time.
Also, there are 4k forks of Ventoy already. Obviously forking it isn’t helping. Actual work needs to be done.
Not my last, but after using killall
in Linux, I tried it on hpux, only to discover and later confirm in the man page that on hpux it doesn’t take any arguments, it just kills every process.
Michigan lakes area. It is sometimes really windy and really cold for long periods of time. The kind of climate where we get ice in the inside of our windows. Any mechanics needed to have a mechanical doorbell would also let in cold air.
Edit: apparently there are some that have mechanics that pass through the wall that are similar to a door handle and can be sealed up pretty well. Very cool!
I would love that if my climate allowed for it.
Best site to learn them: https://www.animatedknots.com
Moving towards the equator made me hate winter a lot less. Having more consistent daylight throughout the year made a big difference for me.