When a command is entered such as cd /etc, the command isn't actually saved in the device. For example afterwards when i run a pwd the directory isn't /etc its the directory it was in when the connection was established.
I have attached a screenshot.