LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-01-2001, 10:59 PM   #1
matt
Member
 
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62

Rep: Reputation: 15
defualt terminal folder


Silly, odd, total newbie question.

When I start a terminal window in X, instead of it going to my Home folder (matt), it goes to another folder within my official home folder. So I have to type "cd" to get Home (matt). I must have changed this somehow with my endless tinkering.

How do you change your default folder when you start a terminal window, so the opening command line is like:

[matt@localhost whatever_folder_I_want]

???

Much thanks - this site is great.

)M.
 
Old 08-11-2003, 09:07 AM   #2
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Well, it may not be the right way to do it, but you can try the following:

define an alias to your xterm call like that:

alias xterm "xterm -e cd"

The -e option in xterm is a command to be executed in the terminal before opening. It has to be the last option of your call !! So if you decide to change some other options in your alias, do them before.

If you don't know about aliases, please reply to this posting.

I'm sure there is a more efficient way, but I don't know it! I still have things to learn!

Hope this helps!

Cheers!
Andree
 
  


Reply


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
Removing a Directory from the Terminal without deleting each file or folder lennysokol Linux - General 4 05-31-2005 12:30 AM
Hi, I need to know how to make a new folder using the terminal? grupoapunte Linux - Newbie 1 05-19-2005 07:23 PM
how to get Terminal to start in current folder woodywellhung Linux - Software 1 04-28-2004 10:13 AM
Terminal folder name entry problems timsch75 Linux - Newbie 1 03-14-2004 06:48 PM
How to open a terminal in a special folder under nautilus? kevinqian Linux - Newbie 1 12-04-2003 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

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