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

Linux

47962 readers
1038 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
[–] [email protected] 40 points 6 months ago

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

[–] [email protected] 29 points 6 months ago

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

[–] [email protected] 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.

[–] [email protected] 12 points 6 months ago

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

[–] [email protected] 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

[–] [email protected] 4 points 6 months ago (1 children)
[–] [email protected] 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.

[–] [email protected] 2 points 6 months ago

WSL for me.

[–] [email protected] 24 points 6 months ago (1 children)

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

[–] [email protected] 5 points 6 months ago (1 children)
[–] [email protected] 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+).

[–] [email protected] 20 points 6 months ago

This meme was not made by the Emacs gang.

[–] [email protected] 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

[–] [email protected] 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 ...

[–] [email protected] 4 points 6 months ago

I strive for this kind of based level

[–] [email protected] 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.

[–] [email protected] 7 points 6 months ago

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

[–] [email protected] 1 points 6 months ago

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

[–] [email protected] 1 points 6 months ago

Mobaxterm is your friend.

[–] [email protected] 10 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.

[–] [email protected] 7 points 6 months ago (1 children)

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

[–] [email protected] 3 points 6 months ago

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

[–] [email protected] 9 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 months ago
[–] [email protected] 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

[–] [email protected] 9 points 6 months ago

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

[–] [email protected] 6 points 6 months ago (1 children)
[–] [email protected] 1 points 6 months ago

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

[–] [email protected] 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

[–] [email protected] 7 points 6 months ago (1 children)

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

[–] [email protected] 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

[–] [email protected] 6 points 6 months ago

Yes it does

[–] [email protected] 4 points 6 months ago
[–] [email protected] 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?

[–] [email protected] 0 points 6 months ago

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