Though nothing can replace a proper backup
Though nothing can replace a proper backup
Hrm, but shouldn’t Linux Mint, being based on Ubuntu, have basically the same drivers?
What OP said. But here’s a more detailed answer courtesy of GPT-4:
Adding cat /dev/random > /dev/pty23
to your .profile
would result in an interesting situation whenever you start a login shell.
Behavior of the Command: The command cat /dev/random
continuously reads random data from the /dev/random
device file, which generates an endless stream of random bytes. Redirecting this to /dev/pty23
means it attempts to write this data to the pseudo-terminal device /dev/pty23
.
Impact on Shell Startup: When you add this to your .profile
, every time you start a login shell (like when you open a new terminal session), it will execute this command. Since /dev/random
produces an endless stream of data, the cat
command will not terminate on its own. This means your shell will be stuck executing this command, and you won’t get a prompt to enter new commands.
Interactive Shell Issue: The shell remains technically interactive, but because the cat
command doesn’t complete, you won’t get a chance to interact with it. The shell is effectively blocked by the cat
command continuously running.
Potential Problems: There’s a possibility that /dev/pty23
might not exist on your system, or you might not have the permission to write to it. In such cases, the command would fail, but it would still block the shell if it doesn’t exit properly.
Fixing the Issue: To regain control of your shell, you might need to edit your .profile
from a different context where it doesn’t get executed, like using a non-login shell or booting into a recovery mode.
In summary, it’s a kind of a “prank” command that can render your login shell unusable until you remove it from your .profile
. It’s an example of how powerful shell startup scripts can be, and also a reminder to be cautious about what gets added to them!
root folders as in /bin /etc.?
Not a bad idea, but if possible, you want to skip loading the ad altogether, which is – to my understanding – what currently happens.
Oh my god
I’m not old enough to remember XMPP first-hand, so allow me to ask what functionality you mean. Do you mean to imply a fediverse, where whatsapp.com is merely an instance, such as lemmy.world is here?
Regarding security, yes. Other than that, Beeper allows you to centralize all kinds of messaging apps into one pretty nice (and open-source AFAIK) UI. Currently using it for all my hardly-used communication channels.
It has become better, though.
Easy. Every year is the Year of the Linux Desktop™.