Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Bash command prompt difficulties

    Hi, I recently edited my bash command line so that it's in color. Everything looked like I expected it to. Then all of a sudden one day I login and I've got [] squares in my command line. Anyone know how I can get rid of them?

    The line in my .bashrc file is below:

    PS1="\033[0;34m\][\t]\033[0;34m\][\u@seaborg:\w]\$ \033[0;00m\] "

    Thanks in advance =)

  2. #2
    Actually the strange thing is that it depends on which computer I use to ssh into this cluster. If I ssh in from home I don't get this problem. If I login on my computer at work I do.

  3. #3
    That's not strange.

    Terminals interpret character codes differently. Try using a different terminal emulator at work, or configure your current one to work.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts