Mine is using the arrow keys to navigate typed text while writing and editing. It helps speed things up, versus having to move your hand to the mouse to navigate.

Use the Up and Down Arrows to move/jump vertically.

Left and Right Arrows to move/jump horizontally.

Combine Left or Right Arrow with Shift to be able to select text. Use Up or Down Arrow with Shift to quickly select whole/nearly whole sections of text.

Combine Control with Left/Right Arrow to jump whole words to more quickly move to where you want to type.

  • moe93@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    57
    ·
    26 days ago

    To navigate to the previous folder

    cd -

    To reissue the previous command with a prefix. For example:

    cat /root/.ssh/authorized_keys # Will fail without privilege

    sudo !!

    To use the argument of the previous command. For example:

    tac ~/.ssh/authorized_keys # oops, misspelled cat

    cat !$

    • owenfromcanada@lemmy.ca
      link
      fedilink
      arrow-up
      20
      ·
      25 days ago

      Oh dang, I never knew about the !! shortcut. I especially like it for the sudo example, because when it complains I don’t have permission, I can basically yell at it.

      • davidgro@lemmy.world
        link
        fedilink
        arrow-up
        16
        ·
        25 days ago

        I’ve seen posts suggesting adding the following to your .bashrc:

        alias fuck='sudo $(history -p \!\!)'
        
    • hornywarthogfart@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      25 days ago

      The - works with git branching as well for those who didn’t know. git checkout - will switch to the previously checked out branch so it effectively toggles between your two most recent branches.

    • Luc@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      25 days ago

      Not sure if you’re aware that tac is not a typo but reverse cat, as in, it works like cat but prints the last line first. I use this semi-regularly

      sl, now, that’s a typo. Nobody wants a free choo choo

  • Bahnd Rollard@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    25 days ago

    Microsoft has never fixed the sticky keys replacement cheese to unlock a PC you have physical access to. Ive done it up to W10, never tested it on W11.

    1. Get a Windows recovery USB.

    2. Boot into the recovery menu and open the command prompt.

    3. Navagate to system32 and make a copy of the cmd.exe file (for a backup)

    4. Copy the sticky_keys.exe and have it overwrite cmd.exe, then reboot.

    5. On the login screen, smash the shift key until the command prompt appears and for some reason (because no user has logged in yet) it has admin permissions, so you can reset local passwords.

    6. Once your logged in as a local admin, copy the backup of cmd.exe back so noone is none the wiser (except the security software that knows you messed with something)

    • feannag@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      15
      ·
      25 days ago

      That… Seems like a pretty massive vulnerability. Like obviously that can be locked down by each user or administrator, but still…

      • Sheldan@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        25 days ago

        It is, we used the same just with the accessibility button in earlier Windows Versions to troll one another in school. Thing is, if encryption is enabled it won’t work.

        • Züri@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          25 days ago

          Not having the disk encrypted is the same as writing the password on the frame of the screen.

          • Bahnd Rollard@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            25 days ago

            Exactly, bitlocker or disk encryption prevents this from working and because you need some means of editing the file system outside of the user permissions, also physical access is required. At this point your are pretty much authorized to unplug the box and walk out of there with it (even if your not supposed to).

    • ZoteTheMighty@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      25 days ago

      This seems like a lot of work to bypass a password on an unencrypted drive. You can access all the files using a bootable Linux drive.

      • Kornblumenratte@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        25 days ago

        They are already using the Windows recovery disk. This is not about accessing the disk, but to access the OS with admin rights.

    • Krudler@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      24 days ago

      I used to use a boot CD with a password eraser. I think the last time I used it was win 7 though

  • zxqwas@lemmy.world
    link
    fedilink
    arrow-up
    26
    ·
    26 days ago

    Vim takes your keyboard shortcuts to the extreme. If you can be bothered to learn it.

  • TimewornTraveler@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    27
    arrow-down
    3
    ·
    edit-2
    25 days ago

    Are you serious? arrow keys instead of clicking? let’s take it further:

    shift+arrow highlights letters
    ctrl+arrow skips entire words
    ctrl+shift+arrow highlights entire words
    home/end jumps to start/end of line
    ctrl+home/end jumps to start/end of text box
    ctrl+shift+home/end jumps to start/end of textbox and highlights it
    um, do you need me to explain what ctrl+xcv do? or ctrl+zy? or ctrl+asdwerfgop?

    isn’t this just basic typing? didnt yall learn this in the 90s??? how are you all on the internet right now

    wait til you hear about how i swipe texted all this

  • hansolo@lemmy.today
    link
    fedilink
    arrow-up
    27
    arrow-down
    5
    ·
    26 days ago

    Find a Linux distro you like and install it instead of Windows.

    Use LibreOffice, not MSOffice

    Ditch Google, Apple, Meta, and Microsoft.

    Tech walled gardens are insane asylums. Leave them.

  • Bitflip@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    25 days ago

    Ctrl+r on bash and zsh (possibly others) for quickly recalling anything you’ve typed before

    • hornywarthogfart@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      25 days ago

      This is a huge one for me. For those who don’t know, this brings up the rev-i-search utility which allows cycling from most recent to oldest commands executed. It also supports partial finds so if you did ‘cd’ it would cycle the most recent change directory commands.

      The forward search (in case you’re somewhere in the history stack) is ctrl+s and operates the same except crawls the command history forwards.

      I use these constantly in my normal workflow and they save a ton of time.

      • Mr. Satan@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        25 days ago

        I use zsh autosuggestion and syntax highlighting plugins it gives me usable history search and completion functionality.

  • JamonBear@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    25 days ago

    Using ublock origin picker to remove everything useless. Like, Youtube suggestions, everything but download button on ddl websites, useless footers/headers on news, etc…

    • thermal_shock@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      25 days ago

      Just getting people to switch away from chrome to get ublock origin is a major hack all itself and completely changed the way you use the internet.

    • shalafi@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      25 days ago

      Why have I not been doing this?! Just removed the “2 years old” .world banner.

    • TimewornTraveler@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      25 days ago

      I’m kinda mind blown that this is even considered a tip. isn’t this just basic functionality of a text box???

      it’s shit like this that makes me think I do know tech a little bit, until i stumble on an actual tech community and feel like I know nothing

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        25 days ago

        For real, I remember when Solitaire was added to Windows to teach people how to use a mouse. It wasn’t just some fun little thing they added on a whim. The goal was to provide an entertaining way for users to naturally learn mouse controls like clicking and dragging.

        Before then, you had to use the keyboard to navigate text, because you literally didn’t have a mouse.

    • kadaverin0@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      25 days ago

      I don’t know shit about Linux but I’ve been using Mint for the last year with no problem. It’s pretty idiot-proof and I haven’t had any issues with software since gaming is largely solved on Linux and Adobe can eat my ass.

    • thatradomguy@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      25 days ago

      less configuration needed

      Would say that GNU/Linux is actually *more * customizable than Windows which then requires more config. For a techie like me, not a downside as I can figure it out… but wouldn’t say this is true for all distros even with vanilla Gnome compared to Windows or something like ZorinOS. IMO, GNU/Linux still takes the cake on this one unfortunately.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        Yeah, I understand the mindset behind “if I tell people Linux is easy, they might actually switch.” Getting people to switch means overcoming a lot of social inertia. But the issue is that this makes you an unreliable source when a newbie inevitably runs into issues. They’ll be more likely to go “eh I was told it was easy but this isn’t. I guess it’s just not for me.”

        Providing a realistic outlook may make Linux sound less appealing, but it will mean those who do try it are more likely to stick with it.

  • jaschen306@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    25 days ago

    Yay, nobody said my favorite hack.

    While browsing on the web and you want to “open link into a new tab”, click using the mouse wheel like it’s a regular left or right click.

    It’s great for researching.

  • Randomocity@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    ·
    25 days ago

    My favorite windows shortcut is ‘Windows+shift+left/right’ to move an application between monitors. Very helpful for moving games around or snapping without have to use a mouse.

  • mriswith@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    25 days ago

    Far from most used, but very handy: ctrl+win+shift+b

    It restarts the graphic subsystem, which can help recover from situations where game crashes or similar cause visual issues.