How to get into root directory from parent dir in terminal window

General support questions
Post Reply
achugh1
Posts: 1
Joined: 2012/07/12 22:27:03

How to get into root directory from parent dir in terminal window

Post by achugh1 » 2012/07/13 15:34:08

I need help. I am new to Linux esp CentOS. Every time I do anything like try to load a program I keep getting the message "yum-complete-transaction. Then it tells me to go to root dir. When I try to log in it will not except my PW. Is there anyway into the root without logging in or running the yum command from another dir.

Help.

alm2k
Posts: 20
Joined: 2011/07/11 20:01:31

How to get into root directory from parent dir in terminal w

Post by alm2k » 2012/07/14 14:15:31

Are you sure you need to go into root folder? Because what I think it says is that it needs you to become root user to be able to run "yum update" command. Or use "sudo yum update" after which it asks for the root password.

pasaporte
Posts: 3
Joined: 2012/07/13 19:12:14

Re: How to get into root directory from parent dir in terminal window

Post by pasaporte » 2012/07/14 15:44:59

I am not really sure what you mean by getting to root directory. If you wanna be in the root directory the command is "cd /" without the quotes if you wan to become root in its directory you need "su -" this latest command required root password and it's to be used with caution as you become root of the system and you are required to know what you are doing.

Post Reply