on windows I have command
title new title name
is it possible on Ubuntu?
Use xtitle (not installed by default):
xtitle new title name
In 10.04 go to Edit > Profile Preferences and select the "Title and Command" tab and change:
Initial title: any_title_you_like
When title commands set their own titles: Keep initial title
Assuming that by title you mean the text shown in the Titlebar: If you use the gnome-terminal, you can goto Menu > Terminal > Title. It will ask you to set the title for the terminal. However, the name will be lost after you close the terminal.
Assuming you want to change the name@hosts:~$
bit because of a mis-spelling. Well, thats a wee lil' bit complicated. There are three parts to it, your username, your hostname, and the current directory. You can change the username by executing
usermod --login NewUserName
You can change the hostname by editing the contents of the /etc/hostname
. Just type
sudo nano --nonewlines /etc/hostname
And third, your current directory environment variable will keep changing according to the well, current directory :p