this post was submitted on 29 Apr 2024
215 points (92.8% liked)

Linux

48145 readers
740 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Muscle memory is causing all kinds of problems.

all 43 comments
sorted by: hot top controversial new old
[–] narc0tic_bird@lemm.ee 40 points 6 months ago

(neo)vi(m) supports multiple platforms including Windows, so no worries :)

[–] azimir@lemmy.ml 29 points 6 months ago (4 children)

If I'm stuck on a windows machine, one of the first packages I try to install is git-scm.org's BASH.

It's not actually Linux, but it's got a command line and enough programs to really help get work done.

[–] Cwilliams@beehaw.org 12 points 6 months ago

There's even a portable version if you don't have admin rights on the device

[–] Tenkard@lemmy.ml 5 points 6 months ago

Yes it's awesome, I use it with Microsoft terminal for tabs + themes, thanks to that I still have to learn how to use powershell

[–] Tanoh@lemmy.world 4 points 6 months ago (1 children)
[–] azimir@lemmy.ml 0 points 6 months ago

I used WSL for a job and it worked fine. It's kind of a weird VM that doesn't really integrate with the host OS fully, but it works for many use cases.

Git BASH has more direct system integration and hardware access than WSL, though it's been a couple of years since I had to look at WSL at all. Hopefully they've improved the integration over time.

[–] zkrzsz@hexbear.net 2 points 6 months ago

WSL for me.

[–] Unpigged@lemmy.dbzer0.com 28 points 6 months ago

Dear sirs, I call bullshit! There's no \n after the :wq!

[–] N0x0n@lemmy.ml 24 points 6 months ago (1 children)

You should have a talk with your boss about NIST keypair :x

[–] krash@lemmy.ml 5 points 6 months ago (1 children)
[–] domi@lemmy.secnd.me 16 points 6 months ago* (last edited 6 months ago)

I'm not OP but NIST is a very shady institution for various reasons:

Use anything NIST related with care. Use ED25519 or if not available, RSA with large key sizes (4096+).

[–] nfsu2@feddit.cl 19 points 6 months ago

This meme was not made by the Emacs gang.

[–] KindaABigDyl@programming.dev 13 points 6 months ago (2 children)

I installed Nix on WSL and then used that to get home-manager and thus my zsh and neovim configs working on Windows

[–] Bogasse@lemmy.ml 10 points 6 months ago

That's what saved me too but I'm still stuck with unpredictable crashes, 150GB of HDD / 8GB of RAM lost in the void and bullshit ads for copilot in the lock screen ...

[–] QuazarOmega@lemy.lol 4 points 6 months ago

I strive for this kind of based level

[–] oo1@kbin.social 13 points 6 months ago (3 children)

I keep typing ls into the command prompt.
Generally it seems to try to do something then crash the cmd.exe process.

[–] PolarisFx@lemmy.dbzer0.com 7 points 6 months ago

You'll wanna use PowerShell. It has its eccentricities when running programs but is a more shell like experience

[–] wewbull@feddit.uk 1 points 6 months ago

I keep trying catalog but it doesn't do anything.

[–] lazylion_ca@lemmy.ca 1 points 6 months ago

Mobaxterm is your friend.

[–] BaldProphet@kbin.social 9 points 6 months ago (1 children)

Your work hasn't upgraded to Windows 11 yet, I see.

[–] 737@lemmy.blahaj.zone 1 points 6 months ago
[–] gravitas_deficiency@sh.itjust.works 9 points 6 months ago (1 children)

Dude just stick WSL on it. Makes the Winderps somewhat less torturous to deal with, though it’s not perfect because it’s still virtualized. Also your container performance is gonna absolutely suck due to the required virtualization layer.

[–] Daxtron2@startrek.website 6 points 6 months ago (1 children)

WSL2 is pretty good. I get better performance running emberjs than my coworkers stuck on Mac do lol

I mean, yeah. Modern MBPs are all ARM architecture now, which introduces another translation layer into the virtualization.

[–] perishthethought@lemm.ee 8 points 6 months ago (1 children)

The reason I have a "ls.bat" batch file on my Windows PC and a "d.sh" script in linux. Both added to my path, of course

[–] MrPoopyButthole@lemmy.world 9 points 6 months ago

Powershell has ls and other common linux commands built in, try it.

[–] projectmoon@lemm.ee 6 points 6 months ago (1 children)
[–] chellomere@lemmy.world 1 points 6 months ago

Word. First thing that gets installed by me on any windows install.

[–] iiGxC@slrpnk.net 4 points 6 months ago
[–] SaltyIceteaMaker@lemmy.ml 4 points 6 months ago* (last edited 6 months ago) (2 children)

I installed windows on an external drive for gaming. Now my arch install is stuck at a start job for some drive, wich causes it to time out and not boot completely. Couldn't be assed to fix it yesterday.

Also i installed nvim in windows for exactly that

[–] antsu@lemmy.wtf 7 points 6 months ago (1 children)

Go to the fstab entry for that drive and add nofail to its options.

[–] SaltyIceteaMaker@lemmy.ml 7 points 6 months ago (1 children)

I assume this continues the boot process even if a drive is not found or something? Because if so you just solved another unrelated issue of mine while also saving me from ½ - 1 hour of troubleshooting/researching

[–] null@slrpnk.net 6 points 6 months ago

Yes it does

[–] LeFantome@programming.dev 3 points 6 months ago

Pretty sure vim is available on Windows. Visual Studio Code allows vim actions.

Can you run in a VM? Use WSL?

[–] mlg@lemmy.world 0 points 6 months ago

I don't know why but this gave me the idea of running meterpreter locally lmao