roll for perception

cross-posted from: https://piefed.zeromedia.vip/c/linuxmemes/p/430708/roll-for-perception

183 points · 31 comments · view on lemmy.world

31 Comments

panda_abyss@lemmy.ca · 45 pts · 79d (6 replies)

How much fun would it be if each additional R showed you another level down the directory tree though?

surewhynotlem@lemmy.world · 21 pts · 79d (2 replies)

Thank you. I've just created a few aliases for ls, lss, lsss, lssss.

panda_abyss@lemmy.ca · 14 pts · 79d

https://superuser.com/questions/787424/hook-into-command-not-found-handler-in-ubuntu

https://www.gnu.org/software/bash/manual/html_node/Command-Search-and-Execution.html

You can plug into the command not found handler in bash to make this work infinitely

Left as an exercise to the reader

fleem@piefed.zeromedia.vip · 4 pts · 79d

holy mackerel this is good thinking

HeyThisIsntTheYMCA@lemmy.world · 2 pts · 79d (2 replies)

Oh gods I can't remember if there's a DOS command for that. I've finally forgotten. ^I'm^ ^free^

panda_abyss@lemmy.ca · 2 pts · 78d (1 reply)

There was tree, which had been ported to Linux/unix

HeyThisIsntTheYMCA@lemmy.world · 1 pts · 78d

i'ma go ask and see if it was the other way around hold on

WAIT that might make me remember. Ken can sleep another hour.

waterSticksToMyBalls@lemmy.world · 22 pts · 79d (1 reply)

sl

panda_abyss@lemmy.ca · 5 pts · 79d

The alternative for windows, rid should be an alias to rm

woelkchen@lemmy.world · 14 pts · 79d (18 replies)

ls works on Windows just fine. PowerShell understands this command since a long time, maybe even since the very beginning (not looking through the git commits, just to find out).

fleem@piefed.zeromedia.vip · 16 pts · 79d (17 replies)

heck, you're right.

also dir works on linux but it is not as pretty, (i am finding out as we speak)

This meme is pivoting to education bait?

Magnum@infosec.pub · 5 pts · 79d (15 replies)

Well who uses powershell? Common people open command prompt and it doesn't support ls.

marcos@lemmy.world · 6 pts · 79d

Oh, man, don't.

Powershell is so less worse, it does not even compare.

suxen_tsihcrana@anarchist.nexus · 6 pts · 79d (4 replies)

I can tell it's been a while since you used windows 😁.

Some of us are forced to btw.

Modern "command prompt" on windows is called Terminal and supports both PowerShell and CMD commands.

Appoxo@lemmy.dbzer0.com · 3 pts · 79d

And will open Ps by default unless configured otherwise.

Magnum@infosec.pub · 3 pts · 79d

I will try it at work tomorrow.

BCsven@lemmy.ca · 1 pts · 79d (1 reply)

Terminal is just the tabbed app to open any command line interface.

suxen_tsihcrana@anarchist.nexus · 1 pts · 79d

Yes

woelkchen@lemmy.world · 4 pts · 79d

Well who uses powershell? Common people open command prompt and it doesn’t support ls.

Windows Terminal is shipped with Windows and defaults to PowerShell. Too bad Windows ships some ancient PS version by default but winget install Microsoft.PowerShell isn't that complicated.

numerator3962@fedinsfw.app · 4 pts · 79d (5 replies)

Who is the “common person” listing directory contents via the command line instead of the explorer window?

suxen_tsihcrana@anarchist.nexus · 3 pts · 79d (3 replies)

Tech workers

woelkchen@lemmy.world · 3 pts · 79d (2 replies)

Tech workers

I don't. Not that this has to be true for others but I use the command line for ping, ipconfig, and winget.

suxen_tsihcrana@anarchist.nexus · 2 pts · 79d

I manage hundreds of windows server VMs as a matter of routine. At that scale the efficiency of the command line wins out.

HeyThisIsntTheYMCA@lemmy.world · 1 pts · 79d

I remember living in a place with such shitty internet I had scripts for ipconfig release and renew on my desktop because I needed them five times a day.

BCsven@lemmy.ca · 2 pts · 79d

Hi it is me. When you have 500 files in a folder sometimes

dir Jobnumber_string*.part is faster than using explorer

elvith@feddit.org · 3 pts · 79d (1 reply)

You could define Powershell as the default shell in Windows 10, so that you wouldn't need to explicitly invoke it every time - although, which (non-technical) user does this?

Windows 11 changed the default to Powershell so that you'll always land in Powershell and need to invoke the old CMD explicitly. Also the new Terminal (optional in Win10, Default in Win11) defaults to Powershell.

HeyThisIsntTheYMCA@lemmy.world · 1 pts · 79d

Wait. I always just invoked cmd explicitly to get the command prompt. What the hell was I supposed to be doing to get the command prompt

blackbeans@lemmy.zip · 5 pts · 79d

Powershell is starting to become more common. But simple directory listing is actually much faster in cmd as Powershell treats everything as an object while cmd just dumps the contents as text.

DudeImMacGyver@kbin.earth · 4 pts · 79d (1 reply)

Dir /p

HeyThisIsntTheYMCA@lemmy.world · 2 pts · 79d

Dir/w/p

I got monitor space might as well use it

HeyThisIsntTheYMCA@lemmy.world · 2 pts · 79d

Uhhh, look south?

I ain't mudded in a while but I can dig if you can dig