On Windows, to sever all network CIFS/SMB:
net use * /delete
On Linux using bash, the ultra useful repeat history:
history | grep whatever_you_want_to_recall
then bang-number from history, i.e.:
$ history | grep restart 431 /etc/init.d/apache2 restart 483 /etc/init.d/sshd restart 501 history | grep restart $ !431
Simple tricks that somehow I always forget. I don't know how, these should be akin to typing by this point. Maybe by posting them I will remember.