LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-04-2008, 01:53 PM   #1
msbaseball210
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, 03:01 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Are you sure it didn't mean
Code:
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, 03:51 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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)
 
  


Reply

Tags
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 01:28 PM
How to set up Proxy on Ubuntu? Spinlock Ubuntu 2 11-18-2006 06:10 PM
Set DNS in ubuntu, how?? FireInTheDark Ubuntu 2 04-11-2006 11:35 AM
Ubuntu Internet Set Up chazyd Linux - Networking 1 04-18-2005 05:48 PM
Need help to set up the modem on Ubuntu mesocool Ubuntu 7 03-28-2005 09:44 AM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration