Hi
I need to change the prompt from osmario@osm to osmario@lma
Is it possible?
Thanks in advance
Debian 11
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[solved]Change prompt
- sunrat
- Administrator
- Posts: 6457
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: Change prompt
That is the hostname.
To change for the current session, as root or sudo:
To change permanently, edit /etc/hostname.
For more info:
To change for the current session, as root or sudo:
Code: Select all
hostname lma
For more info:
Code: Select all
man hostname
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times