LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
LQ 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: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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



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

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

All times are GMT -5. The time now is 03:07 PM.

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
Open Source Consulting | Domain Registration