smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
12.25k stars 2.94k forks source link

"history -c" does not really erase the history (lesson 5-17) #4616

Open linghuccc opened 1 year ago

linghuccc commented 1 year ago

It only clear the history for the current tab, however if you open a new VS Code window and input "history", you will be able to see all the history input for command window.

So whatever you input in the VS Code command window, is still fragile for hacker.

victorgtrrz commented 1 year ago

Hi, it only works in bash, so check which shell you're using

spaceexplorer06 commented 1 year ago

It only clear the history for the current tab, however if you open a new VS Code window and input "history", you will be able to see all the history input for command window.

So whatever you input in the VS Code command window, is still fragile for hacker.

Use clear-history , if it's powershell

alymurtazamemon commented 1 year ago

@linghuccc For each shell there is a different command. Please check for yours on google.