News for hackers. Stuff that matters.
Re:How many Linux commands can a 7 year old learn? by amcpu on Saturday May 07, 2022 @09:54PM (#31300503)
I honestly cannot remember ever typing sl instead of ls. Funny little “utility” in place there. It doesn’t appear to be part of a minimal Ubuntu installation, have you found it install “out of the box” with any Linux distros?
Re:How many Linux commands can a 7 year old learn? by layer8 on Sunday May 08, 2022 @08:48AM (#31303548)
Doesn’t happen for “ls” for me, but I type “funciton” and “exmaple” all the time.
Re:How many Linux commands can a 7 year old learn? by eternityforest on Saturday May 07, 2022 @11:12PM (#31300916)
I basically never make any letter swap typos at all. I guess it's more common with faster typists that are using more fingers at once, and going fast enough that they aren't thinking one individual letters?
Re:How many Linux commands can a 7 year old learn? by srcreigh on Saturday May 07, 2022 @11:39PM (#31301052)
Maybe you forget about them.

I never noticed myself doing it either. But after learning of Emacs (and MacOS) "transpose" shortcut C-t (aka Control-T on macs), I find I use it about once every 1-2 weeks.

It's not even faster than deleting the word and re-typing it, no. It's just funny.

Re:How many Linux commands can a 7 year old learn? by rdlw on Sunday May 08, 2022 @12:09AM (#31301213)
I did not know about transpose but I am now fully convinced that Emacs shortcuts can be art.

Really, I tried it out and giggled out loud. Now how do I go about sharing this joke with my friends? "It all started in 1976... let me tell you about bucky bits."

Re:How many Linux commands can a 7 year old learn? by eternityforest on Saturday May 07, 2022 @11:44PM (#31301078)
Lol I would not have guessed Mac would have a shortcut like that!
Re:How many Linux commands can a 7 year old learn? by Gracana on Sunday May 08, 2022 @12:54AM (#31301425)
Yeah, it's great, and that's not the only one. Mac OS supports a whole bunch of emacs style text editing commands. I wish I could replicate in Linux.
Re:How many Linux commands can a 7 year old learn? by BlueGh0st on Sunday May 08, 2022 @02:56AM (#31301917)
I find that it largely depends on the keyboard that I'm using, but I can think of two scenarios when it happens to me.

If I'm typing at a steady pace ( no matter the speed), when a finger doesn't get the tactile feedback it expects, it may hesitate while the next finger strikes the next key on the same pace.

And for short commands like, `ls` or `cat`, I often hit the all the letters at nearly the same time which can swap letters.

Re:How many Linux commands can a 7 year old learn? by jakear on Saturday May 07, 2022 @11:19PM (#31300951)
Slow typist here, I make letter swap typos all the time. Cmd+T is my best friend.

Curious if other aphantastics are similarly slow/error prone? I cannot visualize a keyboard, and while I can usually type without looking, my form is poor and I do steal occasional glances.

Re:How many Linux commands can a 7 year old learn? by necovek on Sunday May 08, 2022 @02:04AM (#31301735)
I don't think aphantasia matters here.

I don't have a visual representation of the keyboard in my mind at all, but having touch typed (imperfectly) since high school, I can tell when I mistyped a key by feel too (eg. not looking at the output on the screen either, your muscle memory will let you know if any movement was awkard or unexpected).

FWIW, it's important to learn where the "corrective" (backspace, delete, cursor movement...) keys are on your keyboard while looking at the output: then you can easily push yourself to not look down on the keyboard while practicing.

Re:How many Linux commands can a 7 year old learn? by lrvick on Sunday May 08, 2022 @07:20AM (#31303072)
Aphantastic here. I never learned to visualize a keyboard and went with blank keycaps to force myself to learn with weeks of painful brute force muscle memory. I learned Colemak which is much less finger travel and helped too as many words can be typed with home row.

I also do everything I possibly can on the command line because it is -one- interface to learn with a universal history to reference past commands vs randomly mucking about in GUI interfaces I can not picture in my head that are wildly different in every application.

Re:How many Linux commands can a 7 year old learn? by srcreigh on Saturday May 07, 2022 @11:42PM (#31301071)
Aphantastic here to say I have always had pretty great touch typing. In high school I would touch type on a HW keyboard phone - great to reply to texts while looking at my teacher for their presentation.

I do make mistakes but I don't feel particularly slow or error prone. As I said elsewhere I like to use the C-t command to fix letter swaps and I get them definitely less than once per normal day.

Re:How many Linux commands can a 7 year old learn? by emteycz on Sunday May 08, 2022 @03:25AM (#31302005)
I never visualize the keyboard even though I could, it's all muscle memory.
Re:How many Linux commands can a 7 year old learn? by eternityforest on Saturday May 07, 2022 @11:45PM (#31301089)
Huh, maybe it has more to do with whether you type without looking or not?
Re:How many Linux commands can a 7 year old learn? by Handytinge on Monday May 09, 2022 @09:02AM (#31313509)
Anecdotally I'm 130wpm+ and I make that typo a few times a week.
Re:How many Linux commands can a 7 year old learn? by 0des on Saturday May 07, 2022 @10:06PM (#31300554)
recent distros or of all time?
Re:How many Linux commands can a 7 year old learn? by amcpu on Sunday May 08, 2022 @04:02PM (#31307624)
Any, I was just curious. :)