Thursday, May 2, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3988  / 2 Years ago, mon, august 8, 2022, 1:45:55

when i open the terminal, it looks like this (without the *'s)



montenrgro@montenrgro-GE620-*******-*******-*****:~/Desktop$ 


the code thing and montenrgro@montenrgro takes up a lot of space, on my laptop. Any way I can decrease it to just: /home/Desktop.
I'm sure there is some kinda of specialization to the terminal, but i can't find it. I've tried changing profile but that doesn't seems to work either


More From » command-line

 Answers
1

Don't forget to put the following line in your ~/.bashrc file, if you want the PS1 (stands for First Prompt String) to be permanent:



export PS1="w$ "


Similarly you can also change PS2 or PS3.


[#36202] Wednesday, August 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mentpengu

Total Points: 148
Total Questions: 114
Total Answers: 119

Location: Anguilla
Member since Sun, Aug 7, 2022
2 Years ago
;