Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2009, 11:11 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
Unhappy terminal is not opening up: modified custom command

I was trying around various options in order to change the command prompt of terminal which displayed "bash-3.00$" to its original state which showed my login path.

Then I went to Edit>current profile>title & command> custom command and entered [vanna@linux ~] $
since whenever i try to open the text editor it crashes
how can i fix this??

Last edited by vanna; 03-11-2009 at 12:54 AM.
Old 03-10-2009, 11:40 PM   #2
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
The window is only the terminal emulator-- what runs in it is the shell. You want to change the command prompt within the shell. at your shell, type something like

export PS1="\[\033[1;30m\][\[\033[1;34m\]\u\[\033[1;30m\]@\[\033[0;35m\]\h\[\033[1;30m\]] \[\033[0;37m\]\W \[\033[1;30m\]\$\[\033[0m\] "
(I got this from

I have absolutely no idea what the Title & Command option does in gnome-terminal but custom command runs some command instead of your shell, which is not what you want...
Old 03-10-2009, 11:57 PM   #3
LQ Newbie
Registered: Mar 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Red face sorry for not quoting properly : i am not able to open my terminal

sorry for not quoting properly : i am not able to open my terminal
i am working on a redhat linux. so cant type in the command u quoted

Last edited by vanna; 03-11-2009 at 01:43 AM.


command, title

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
command line//text editor Fred Caro Linux - Newbie 6 02-18-2009 12:23 PM
Need text editor w/ GOOD CUSTOM SYNTAX HIGHLIGHTING. (Dont care what langs come with) bdb4269 Programming 3 05-02-2007 04:17 AM
Text editor capable of opening Images. ////// Programming 5 11-07-2006 11:37 AM
Error when opening files with custom command in Gnome deejross Linux - Newbie 2 12-21-2005 11:50 AM
VI text editor in command line InSane103 Linux - Software 4 07-09-2003 10:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration