Using the Bash History

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

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

  • @maximianum
    @maximianum 4 месяца назад

    Subscriber 396 says Hello . I'm sure your channel Will grow massively soon. keep the good ( great) work up 👍

    • @RayChavez
      @RayChavez  4 месяца назад +1

      Thank you! And my pleasure.

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

    Great video. Additionally, you can run the last command using !-1 and using !$ allows you to reuse the last argument from the previous command.

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

      I believe it’s !! not !-1 for the last command 🤔

    • @MohammadLsk
      @MohammadLsk 2 месяца назад +1

      @@RayChavez Yes. The '!!' command is used to run the last command, but you can also use negative numbers to run previous commands. For example, '!-1' runs the last command and '!-2' runs the second to last command.

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

      Are you sure it’s not “!1” instead of “!-1”?
      In either case, thank you!
      I’ll give the negative numbers a try 👌🏼

  • @Prescott2400-my6di
    @Prescott2400-my6di 4 месяца назад

    You need run more neofetch command 🤨