Advanced Tips for the Bash Command-Line

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 29

  • @majumdardipesh
    @majumdardipesh 5 лет назад +9

    one of the best videos available on youtube on bash scripts ... also I am wondering why are you not making more of such videos... this is real gold and your presentation is unique and awesome... good job!

  • @ramprasad1479
    @ramprasad1479 5 лет назад +1

    I learnt more from these 10 mins than 1 - 2 hours in many bash books and 1 - 2 years on the job. Simply awesome.

    • @kyptin
      @kyptin  5 лет назад

      I'm glad it was helpful! And thanks for saying so!

  • @gdrapps
    @gdrapps 6 лет назад +5

    Thanks a lot for this video man, I thought I was going to see the typical bash 'tips', find, ls -lsa, ctrl + r, sudo !!, this was beyond! Great work!

  • @banxt
    @banxt Месяц назад

    Very good video and it’s *really* advanced ! Learned a lot, thank you very much !

    • @banxt
      @banxt Месяц назад

      Are you going to share more of these ? It's really helpful!

  • @TheEdi9999
    @TheEdi9999 6 лет назад

    I really liked the video !
    I didn't know about the `fc` command, but it seems really useful indeed. I am currently using the readline shortcut C-x C-e which opens the currently typed command in your "$EDITOR".
    I also always have trouble to remind myself of the flags that can be used in command substitution (such as !!:gs/foo/bar), so I use only rarely for now.
    The Alt-. binding is indeed very useful, I use it all the time.
    Looking forward to other videos like this one !

    • @kyptin
      @kyptin  6 лет назад

      I agree that !!:gs is hard to remember. And I didn’t know about C-x C-e, nice! I think I’ve gotten comfortable enough with emacs-style in-line editing (C-a, C-e, M-b, M-f, M-backspace, C-y, etc.) that I probably wouldn’t need that much. Still, good to know about-when you need an editor, you need an editor!

  • @keyvansaidi4073
    @keyvansaidi4073 5 лет назад

    This video is awsome.please continue and share more handy tips like these.

  • @knight024
    @knight024 5 лет назад +2

    Didn't know about fc and :gs// (freakin' awesome!)

  • @jijosunny8626
    @jijosunny8626 2 года назад

    Awesome video, i came with confidence that I might know atleast one ... But I didn't any of th, thanks for sharing.

  • @sumitmundhada933
    @sumitmundhada933 4 года назад

    Simply superb. This was truly awesome. Is there a way I can have a small portion of bash to display these tips persistently? I may want to replace the content of that part once I master a shortcut.

  • @pward17
    @pward17 3 года назад

    Hey this video was amazing to see these tricks. I use zsh with bindkey -v for vim controls. What are your thoughts about the VIM bindings?

    • @pward17
      @pward17 3 года назад

      @Jeff Terrell Interesting, Ill check it out thanks again for the great information.

  • @Bestietvcute
    @Bestietvcute 3 года назад

    Very helpful, thanks

  • @ChillerDragon
    @ChillerDragon 5 лет назад

    Nice to see that I actually know some of the stuff:)

  • @zachadam6773
    @zachadam6773 6 лет назад

    Is there any difference between ALT+Period and !$ ?

    • @kyptin
      @kyptin  6 лет назад +1

      Yes, a subtle one. They refer to the same thing: the last word from the previous command. However, !$ will get expanded when the command is executed (i.e. after you hit return), whereas M-. will get expanded immediately, so that you can see it and even edit what's inserted before executing the command.

    • @zachadam6773
      @zachadam6773 6 лет назад

      kyptin Awesome, I figured there was something. Thanks!

    • @bdgoad
      @bdgoad 6 лет назад

      Yeah, I've been using $_ for the past five years as found here www.gnu.org/software/bash/manual/html_node/Special-Parameters.html . It's good to know the ALT + . shortcut as well.

  • @dumbhead2125
    @dumbhead2125 5 лет назад

    Thanks for this nice Video. Make more videos of this kind.

  • @oeaoo
    @oeaoo 2 месяца назад

    fc is so cool

  • @adraug8076
    @adraug8076 6 лет назад +1

    Thanks so much!

  • @stevenanderson7046
    @stevenanderson7046 5 лет назад

    Awesome, thanks!

  • @invokesus
    @invokesus 6 лет назад

    Awesome video!

  • @A_Lesser_Man
    @A_Lesser_Man 4 года назад

    i did not know about

  • @teamvigod
    @teamvigod 3 года назад +2

    Bash ninja

  • @aaronlippincott7385
    @aaronlippincott7385 5 лет назад +2

    advanced tips for the bash command line _when using git_