Visit Jeremy's Blog.
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-06-2003, 04:40 AM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 12

Rep: Reputation: 0
Switching directories in Konsole

Hi, i just started with mandrake 9.1 today, and was wondering how to switch directories once im in konsole, i was compiling Xchat, and it got to the part where i switch to root then do make install, i was wondering how exactly i switch to root also, is it "su -" then type your pw? cause i did this and it put me in a different directory now i cant do make install.
Old 08-06-2003, 04:45 AM   #2
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
don't put "dash" behind.
If you type "su -", you will get into the root's environment and straight get into the root's home directory.

Just type "su" (without dash behind) so that you will still be in your environment. So the directory would not shange.

Last edited by moeminhtun; 08-06-2003 at 04:47 AM.
Old 08-06-2003, 05:17 AM   #3
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
And you use cd to change directory. So
cd /home/someDir
would change your working directory (as reported by pwd (print working direcotry)) to /home/someDir. You might want to search around on the web for a Unix/Linux primer to list these basic commands for you. Once you've grasped the basics have a look through so of the stuff availabe at

HTH, welcome to LinuxQuestions!


Last edited by jharris; 08-06-2003 at 05:19 AM.
Old 08-06-2003, 05:36 AM   #4
LQ Newbie
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
thanks guys this helped alot.
another quick question, in my first post i said i was compiling xchat, i meant to say i was compiling glib 2.2.2, i had to do this cause when compiling Xchat, i do the ./configure and i get an error in the middle of the configuring saying glib 2.0.3 isnt installed, so i reinstalled the newest version of it, and im still getting the same error, im not sure if glib installed correctly, but it goes through the "make install" fine

Last edited by bootznbooze77; 08-06-2003 at 05:42 AM.
Old 08-06-2003, 02:38 PM   #5
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You should have only needed to install any development packages of glib off the Mandrake cds via RpmDrake/urpmi.


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
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
konsole RaI Linux - Software 3 09-05-2005 04:34 PM
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 02:00 PM
Konsole??? suselinux9 Linux - Software 0 04-11-2004 03:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 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
Open Source Consulting | Domain Registration