-   Linux - Newbie (
-   -   Switching directories in Konsole (

bootznbooze77 08-06-2003 05:40 AM

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.:newbie:

moeminhtun 08-06-2003 05:45 AM

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.

jharris 08-06-2003 06:17 AM

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!


bootznbooze77 08-06-2003 06:36 AM

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

Proud 08-06-2003 03:38 PM

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

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