ajanthan@ajanthan-Lenovo:~$ sudo vi .bashrc
2) The add the below code segment and save the changes.
#Below is to set the terminal title.
set-title(){
ORIG=$PS1
TITLE="\e]2;$@\a"
PS1=${ORIG}${TITLE}
}
3) Now execute the below command.
That's it...
Thanks for this tutor. Was really helpful! :)
ReplyDelete