Thread: change prompt in terminal
hi all,
problem pretty minor, think.
guy set computer up, left prompt don't like.
"james@offra-200:~$"
can permanently change :
"offra@hp200:~$"
if so, how?
thank
issue 'hostname' command change temporarily
result of above action (start new terminal)code:wim@desktop-01:~$ sudo hostname abc wim@desktop-01:~$
if works, edit /etc/hostname make change last after rebootcode:wim@abc:~$ hostname abc wim@abc:~$
the file still reflects original hostname.code:wim@abc:~$ cat /etc/hostname desktop-01 wim@abc:~$
ps
read 'man hostname'
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] change prompt in terminal
Ubuntu
Comments
Post a Comment