BASH History Masterclass

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 21

  • @alejandromadail
    @alejandromadail 4 роки тому +6

    Thanks Andrew, I'm currently preparing for the RHCSA with your Pluralsight courses. You are a wonderful teacher.

    • @theurbanpenguin
      @theurbanpenguin  4 роки тому +2

      That is very kind of you to say so. Thank you

  • @matman1975
    @matman1975 3 роки тому +1

    Another great bash history lesson and I still pick up something new. One command I often use for not saving my history for a session is " unset HISTFILE && exit "

  • @yash1152
    @yash1152 3 роки тому

    2:21 "when cat is ill, you take it to vet"
    oh my my, i'll never forget this ever after (:
    thanks a lot

  • @yash1152
    @yash1152 3 роки тому

    3:33 history
    3:41 logout or exit
    7:15 !ec
    4:25 prompt detail
    5:32 reading/printing prompt's detail
    5:51 modifying prompt
    7:58 other command for reading prompt's variable
    8:35 using declare to modify prompt
    9:32 escape special character for history
    will rewatch later

  • @robd.2466
    @robd.2466 4 роки тому

    Love the masterclass content. Thank you.

  • @jkemp814
    @jkemp814 3 роки тому +2

    You didn't touch on stopping those two characters commands from loading in history. cd, ls, df to name a few.
    Here is a string to add to bashrc that will stop that using HISTIGNORE.
    HISTIGNORE="&:[bf]g:df *:ls *:cd *:pkill *:man *:*shutdown *:*rm *:ping *:*reboot:clear:"
    The first part stops the two characters commands. The others with the asterisks before and after stops those as well. The * in front of the string is used when using sudo.
    sudo rm /etc/some_config_file for example, or sudo shutdown now

  • @DevilDriver665
    @DevilDriver665 4 роки тому

    Great content, , thx Andrew.

  • @yash1152
    @yash1152 3 роки тому

    15:10 space in front to avoid it getting stored in history

  • @ACT.PODCAST
    @ACT.PODCAST 3 роки тому

    very good just a question install kali with windows can take me problem or not ?? and i don't know why when i am working and knowing a new thing at computer or have a new eror and problem i have very esteres thanks for good videos

    • @theurbanpenguin
      @theurbanpenguin  3 роки тому +1

      You could run as a virtual machine inside of VMware or Virtual box

    • @ACT.PODCAST
      @ACT.PODCAST 3 роки тому

      @@theurbanpenguin ok thank you and I install it doual boot with windows 😀 but a fact in Cumputer world everything is changeable and Its be can fix so thanks from you😀🙂

  • @saeidzafari6870
    @saeidzafari6870 4 роки тому

    W: APT had planned for dpkg to do more than it reported back (0 vs 5).
    Affected packages: lvm2:amd64
    Hello there!
    what is this error when I try update, install and remove package?
    How can I resolve it? ubuntu 20.4

  • @guilherme5094
    @guilherme5094 4 роки тому

    Nice!

  • @abbasbavarsad4448
    @abbasbavarsad4448 4 роки тому

    thank you

  • @yash1152
    @yash1152 3 роки тому

    hii, this feels so similar to the accent of "gary explains"

  • @alaeddinebenhassir4176
    @alaeddinebenhassir4176 4 роки тому

    thank you