Did you know LQ has a Linux Hardware Compatibility List?
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 05-04-2008, 02:53 PM   #1
LQ Newbie
Registered: May 2008
Location: USA
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Question How to set up cd - on ubuntu

i was following an online guide to install a tar.gz file and it said to type in "cd -" in the terminal so i did but the terminal said i didnt have it set up

if anyone can please help me set it up it would help a lot - thanx in advance
Old 05-04-2008, 04:01 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Are you sure it didn't mean
su -
Because that would make more sense to me..with 'su -' you become superuser (dash ensures the root's environment is in use, not the user's). 'cd' is used to change working directory.
Old 05-04-2008, 04:51 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 735Reputation: 735Reputation: 735Reputation: 735Reputation: 735Reputation: 735Reputation: 735
On my machine, "cd -" toggles between the current directory and the last one I was in. Handy tool, but I can't tell how it relates to installing a tar.gz

To "install" a tar.gz:
tar xzvf filename
open the folder that is created
find the README file for further instructions (it depends on what the thing is that you are installing)


cd, set, terminal, ubuntu

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
how do I set up dual monitors is Ubuntu 7.0.4 mustang05 Linux - Software 1 06-14-2007 02:28 PM
How to set up Proxy on Ubuntu? Spinlock Ubuntu 2 11-18-2006 07:10 PM
Set DNS in ubuntu, how?? FireInTheDark Ubuntu 2 04-11-2006 12:35 PM
Ubuntu Internet Set Up chazyd Linux - Networking 1 04-18-2005 06:48 PM
Need help to set up the modem on Ubuntu mesocool Ubuntu 7 03-28-2005 10:44 AM

All times are GMT -5. The time now is 12:54 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