linux, PS1 settings : how to customize it for font size

I have below setting for my PS1.


export PS1="\e[1;33m\u: \w $ \e[m"


I would like to increase PS1 values - to increase font.
please advice how to custmise for the same
mac_gAdmin - Oracle Fusion Middleware suiteAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mac_gConnect With a Mentor Admin - Oracle Fusion Middleware suiteAuthor Commented:
NOT console, only  PS1.

please let me know navigation for the same
0
 
John PopeConnect With a Mentor IT ConsultantCommented:
Hi

Do you need this for the console or are you using a remote access utility like putty etc.?

If it is the latter, you can set your font/appearance for the terminal window from within the utility itself.

Cheers, JP.
0
 
joolsConnect With a Mentor Commented:
You cant set font size in a PS1 variable, you should do this on the terminal options
0
 
John PopeConnect With a Mentor IT ConsultantCommented:
Hi mac_g

Sorry, do you mean that you only want to set the font using the PS1 variable?

There is a way of setting the font other than the terminal too; I haven't used this method before, but it seems that the 'setfont' command exists to allow you to set the console font using a predefined console font file, like;

setfont /path/to/fontfile

Open in new window


You can set this up in the default profile/bashrc to configure your environment.

If you need the terminal window utility option (like putty) please say, it is a trivial task.


Cheers, JP
0
 
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
EE >>
Provide a Reason Please state your reason for accepting your own comment as the solution. If additional information would assist others in understanding your solution, please add that information below
<<


I have not selected my name still displaying above message.
please fix this issue
0
All Courses

From novice to tech pro — start learning today.