Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    Something I learned decades ago but that I don't often see others use, on the Bash command line the key sequence "ESC ." or "Alt-." copies the last word from the previous command in shell history and inserts it the cursor of the command you're editing.

    Pianificato Fissato Bloccato Spostato Uncategorized
    3 Post 3 Autori 3 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • liw@toot.liw.fiL Questo utente è esterno a questo forum
      liw@toot.liw.fi
      ultima modifica di

      Something I learned decades ago but that I don't often see others use, on the Bash command line the key sequence "ESC ." or "Alt-." copies the last word from the previous command in shell history and inserts it the cursor of the command you're editing. Sometimes quite handy.

      loke@functional.cafeL gustavinobevilacqua@mastodon.cisti.orgG 2 Risposte Ultima Risposta Rispondi Cita 1 0
      • loke@functional.cafeL Questo utente è esterno a questo forum
        loke@functional.cafe @liw@toot.liw.fi
        ultima modifica di

        @liw That's remarkable. It's not often I learn something new in the Unix shell (this works on zsh as well).

        Normally I'd do C-p C-a C-k, then type the new command, and press C-y to insert it where it's needed.

        1 Risposta Ultima Risposta Rispondi Cita 1 0
        • gustavinobevilacqua@mastodon.cisti.orgG gustavinobevilacqua@mastodon.cisti.org shared this topic on
        • gustavinobevilacqua@mastodon.cisti.orgG Questo utente è esterno a questo forum
          gustavinobevilacqua@mastodon.cisti.org @liw@toot.liw.fi
          ultima modifica di

          @liw

          Wow, thanks a lot!

          1 Risposta Ultima Risposta Rispondi Cita 0
          • Primo post
            Ultimo post