Help answer threads with 0 replies.
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 08-21-2011, 02:06 AM   #1
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Rep: Reputation: 15
How to chang the terminal title

I am a linux user.When i start a terminal it always start in a folder named documet(when i typed pwd after starting a teminal it's not in the home directory and it give the following out put '/home/sanjayagayan/Documents')
I want it to be in my home can i do that.
Old 08-21-2011, 02:09 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It would help us if you said which terminal emulator (e.g. xterm, GNOME Terminal, etc) you were using.
1 members found this post helpful.
Old 08-21-2011, 02:19 AM   #3
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You give very little information. What distro & version are you using? Are you talking about a terminal program used in a desktop environment like gnome or kde? or a virtual terminal, tty (accessed by ctl-alt-F1)? The solution depends on factors like these.

1 members found this post helpful.
Old 08-21-2011, 11:06 PM   #4
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
i am using kubuntu
0 members found this post helpful.
Old 08-21-2011, 11:43 PM   #5
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 607

Rep: Reputation: 219Reputation: 219Reputation: 219
That didn't help... Which terminal program do you use ? (As mentioned by Nylex)

Also your title doesn't fit with your question (or you have two questions...)

The title of the terminal is not related to the current working directory...

Btw, it might be the "link" (on your menu/desktop) that you use which doesn't have the working directory you're expecting...

Edit: With the right search, you could have found this too...

Last edited by NoStressHQ; 08-21-2011 at 11:49 PM.
Old 08-22-2011, 01:45 AM   #6
Senior Member
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,036

Rep: Reputation: 186Reputation: 186
try doing a "cd ~" then shut down the terminal from it's menu
the next time you start it up it should be in ~ the next time you start it
Old 08-22-2011, 06:15 AM   #7
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
what shell are you using? If you're using bash you may be able to force it to start in your home folder by adding cd ~ to ~/.bashrc
echo cd ~ >> ~/.bashrc
1 members found this post helpful.
Old 08-23-2011, 10:01 AM   #8
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
I am using bash and "echo cd ~ >> ~/.bashrc" work on me.thank you.


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
[SOLVED] Terminal xterm Title is too dynamic (title doesn't change manually) ZeroDaHero Slackware 4 11-04-2012 12:16 PM
Get the title of xterm/gnome-terminal redleafong Linux - Software 6 01-10-2011 06:38 PM
weird terminal title bujecas Linux - General 5 09-28-2006 11:18 AM
How to change terminal title obnascar Linux - General 1 01-12-2006 02:41 PM
change window title in terminal sandman Linux - General 4 12-15-2002 03:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 PM.

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