UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
369 Views
Registered: ‎09-19-2017

how to change the petalinux prompt?

Holle,

    As the follwing Fig., I want to change the petalinux prompt "root@plnx_aarch64" to "MyPetalinux".

THANK YOU!

 

 

无标题.png

0 Kudos
1 Reply
Teacher xilinxacct
Teacher
186 Views
Registered: ‎10-23-2018

Re: how to change the petalinux prompt?

@lucas_zyq

If it is a standard bash shell... change the PS1 value... (e.g. export PS1="XXX: ")

To permanently change it, change your .bashrc file in your home directory.

Hope that helps

If so, please mark as 'solution accepted' to close the issue

 

0 Kudos