TheDarkQuark

joined 1 year ago
[–] TheDarkQuark@lemmy.world 0 points 2 weeks ago

Don't think he has the time though.

[–] TheDarkQuark@lemmy.world 5 points 1 month ago (1 children)

Explaining like you are 5:

If you have worked with programming languages, you might have come across global variables and inbuilt functions/keywords. PATH is a similar global variable for your terminal session.

Every time you open up a terminal, you load up these "global variables", and you/programs can access them (or the applications assigned to them).

So, let's say you have your application (executable) as /home/werecat/corncob/bin/corn, instead of starting it with ./home/werecat/corncob/bin/corn ..., if you have /home/werecat/corncob/bin in your PATH variable, you can just use it as corn ....

export PATH="/home/werecat/corncob/bin:$PATH"

just means:

  1. PATH = /home/werecat/corncob/bin + PATH
  2. persist (export) path for the duration of this session (usually until you close the terminal tab)

If you see somewhere to add it to your /home/werecat/.bashrc file, it means "all commands in .bashrc file are auto-executed every time you start a new terminal session, so if you have it there, you won't need to manually keep entering the command over and over again".

You can list these environment variables by just running:

env

Also, recommend you have a look at https://www.freecodecamp.org/news/how-to-set-an-environment-variable-in-linux/.

Hope this helps. Good luck on your Linux journey.

[–] TheDarkQuark@lemmy.world 63 points 1 month ago

I'm glad that you want to switch to Linux, but I think there'd be open source solutions for Windows too. I daily drive Linux, and I would begin with looking for open source timers if I ever need timers. Why not do the same in Windows too?

Here are a few: https://alternativeto.net/software/free-countdown-timer/?platform=windows&license=opensource

[–] TheDarkQuark@lemmy.world 14 points 1 month ago (1 children)
[–] TheDarkQuark@lemmy.world 71 points 2 months ago (4 children)
sudo: apt: command not found
[–] TheDarkQuark@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

For a person with not much familiarity with Linux, and just wants to check things out, I would recommend starting out with a VM. WSL is good, but that is not the "Linux experience". Moreover, if they are not already familiar with the command line, it may be a bit intimidating. The same goes for dual booting. It's more technical, and it's more appealing to just jump back into Windows when things go wrong on Linux. VM approach though, gives you a sandboxed space where you can smoothly get familiar and comfortable with Linux before making the final switch. That's my personal opinion for beginners.

[–] TheDarkQuark@lemmy.world 0 points 3 months ago

anime waifus

[–] TheDarkQuark@lemmy.world 9 points 4 months ago (2 children)

The secret is to have no friends! 😎

[–] TheDarkQuark@lemmy.world 14 points 4 months ago

Bet that thing has a bidet!

[–] TheDarkQuark@lemmy.world 2 points 5 months ago (1 children)

If you want updates, may be go for gen 6/7. 5a won't be receiving updates after August 2024.

See: https://grapheneos.org/faq#device-lifetime