Updating the new host name in the shell prompt
(Doc ID 2421467.1)
Last updated on AUGUST 04, 2018
Applies to:Linux OS - Version Oracle Linux 6.0 to Oracle Linux 7.0 [Release OL6 to OL7]
To update the new hostname in the shell prompt.
Note: In this case, the hostname(OracleLinux6) has already been updated in /etc/sysconfig/network and /etc/hosts file, but still needs to be updated in the shell prompt.
Example - to change the old shell prompt as below:
From : [root@OL6 ~]#
To : [root@OracleLinux6 ~]#
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document