full-blockchain-solidity-course-js icon indicating copy to clipboard operation
full-blockchain-solidity-course-js copied to clipboard

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

Open linghuccc opened this issue 2 years ago • 3 comments
trafficstars

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.

linghuccc avatar Jan 27 '23 06:01 linghuccc

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

victorgtrrz avatar Apr 09 '23 16:04 victorgtrrz

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

spaceexplorer06 avatar Jun 08 '23 17:06 spaceexplorer06

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

alymurtazamemon avatar Jun 09 '23 11:06 alymurtazamemon