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 "
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
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
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 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😀🙂
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
Thanks Andrew, I'm currently preparing for the RHCSA with your Pluralsight courses. You are a wonderful teacher.
That is very kind of you to say so. Thank you
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 "
2:21 "when cat is ill, you take it to vet"
oh my my, i'll never forget this ever after (:
thanks a lot
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
Love the masterclass content. Thank you.
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
Great content, , thx Andrew.
Thank you
15:10 space in front to avoid it getting stored in history
Depending on your HISTCONTROL variable
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
You could run as a virtual machine inside of VMware or Virtual box
@@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😀🙂
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
Nice!
thank you
hii, this feels so similar to the accent of "gary explains"
thank you