?
Solved

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

Posted on 2014-11-24
5
Medium Priority
?
464 Views
Last Modified: 2014-12-01
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
0
Comment
Question by:mac_g
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 4

Assisted Solution

by:popesy
popesy earned 999 total points
ID: 40461773
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
 
LVL 19

Assisted Solution

by:jools
jools earned 501 total points
ID: 40461799
You cant set font size in a PS1 variable, you should do this on the terminal options
0
 

Accepted Solution

by:
mac_g earned 0 total points
ID: 40461906
NOT console, only  PS1.

please let me know navigation for the same
0
 
LVL 4

Assisted Solution

by:popesy
popesy earned 999 total points
ID: 40461951
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
 

Author Closing Comment

by:mac_g
ID: 40473314
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

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question