Your Linux computer, assuming it's 'normal' will retain the commands you typed in the terminal and this is your Bash…