Bash console numbering

Hi,

I’m wondering why the number of the the bash console I have opened starts with the number 4.
I have actually no problem with that, but I would like to know if that is due to not well finished old session
and how it is possible to check that.

Thanks for answering

Marc_3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Have an example? A shell can be customized to show about any static or
dynamic data so it’s hard to say. Show the output of your shell along
with the output from the following:

echo $PS1

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOfczqAAoJEF+XTK08PnB5oIAP/3Khado4boNM3JS60OjJnRYn
mo1QisSCB/Hwj/q480+1aFRxJOOuHMeidchJ3yNZMM9vMGLi0JJ2m+HkKm/1jP9N
OZtzBUX0DkGWuEVsRKxF6iO28Ug+DnHHKD/Vk0ZOLuIYMKzjyMsHsOMVF+SMe9x1
xAqt/7OPh/Oa516av9DBKPrgfrAt/vzMJHXCDl1q9xk+3khgoOYKwP5LpvAPr+Nm
eOthrTQp7ZX1qCz2AUl2lsf6A12guFgHXuLPQGg3wc/GsNJ5sDyvyXnjuCaUzN+x
2qLO7VPosSEC4wsnn6uGp5jpVBytMb7FTVnaBRlM94MryVucPqS47VQ81b5vbCQq
bamVicUcKdTGR83Y/nd3puMjWOlDODouvzsM8n0iwNT1+sZmfvyv8darbkxOhAfi
UkTa+U9q+o/fw1uuC9gKJ4egeK9t/j5xQO1dSbm50+pO12if1bFP4QKqyC8LQBV9
TVeiElICmvpMUfjdFLK8P3rR7MLRiy6IHR34OVotyFuXswGvAPaOX6DCzjnsm8+o
c724GkC9G+CaviFTEItdlB+SLFcK4xGaxgUlX/6ygar9jgvk2Fjs9VqSDyoLoui7
zTFSG9Yv59nwvL9wr4aBfnOSYRjs3Rvlhn11wjonPh6RvfTN4PGVcBaReFqxUEzf
1NedhDpnwTcTg9TCigvM
=MY+3
-----END PGP SIGNATURE-----

Hello,

I’m afraid that it doesn’t help me much.

Can you understand that:

marc@linux-kd6l:~> echo $PS1
$(ppwd \l)\u@\h:\w>
marc@linux-kd6l:~>

NB the stupid smiley is not wanted and take the place of : \

I have to correct something else. I discover that I have a problem with vi how say that there is an other works session and I can’t work further on the text I was tipping yesterday

So if you add the /l command to your PS1 prompt, you can get it to display the terminal number. If I open up a terminal session using konsole, it just says /l=1. If I open up a session using Ctrl-Alt-F3 for instance then /l=tty3 but I don’t really know why you start with 4, but you would think that is because sessions 1-3 are already open perhaps? What terminal program are you using and does switching it to something else make any difference?

Thank You,