ubuntu restart via cmd code example
Example: restart terminal command line ubuntu
#To reset Terminal:
$ reset
#To rerun/restart your bash.rc
$ source ~/.bashrc
#To Restart your computer
$ reboot
#To reset Terminal:
$ reset
#To rerun/restart your bash.rc
$ source ~/.bashrc
#To Restart your computer
$ reboot