You get out of the root login by typing
Did you remember to escape the colon (: ) characters? You escape characters in the shell with a preceding backslash (\). The shell interprets certain characters for regular expression patterns. For example if you go to your home directory and create a folder..
Now if you list the contents of your home directory filtering the command like so with a wildcard (*)...
Then then all of your folders starting with a capital D will show up such as Documents and Desktop. However since duckling starts with a lower case d then it does not show up. Now lets list all files and folders which start with either an upper case D or a lower case d.
You notice that your duckling folder shows up now. Square brackets () and the asterisk (*) are both examples of characters which are interpreted by the shell. So if you have a file named [myfile].txt then you will have to list it by escaping the square brackets because you don't want the shell to interpret it. You literally just want the filename. You would do that like so...
ls -lah \[myfile\].txt
That's what I did to go into my folder to cat the class file to show its contents...
On another note you can autocomplete folder names by pushing the tab key on your keyboard.
So if you go to the folder /sys/bus/pci/devices/ and type
Then press the tab key it will autocomplete the filename as far as it can and then stop when there are files that start with a 0 but deviate to different letters after that.
You should now see the following after pushing tab.
Now push tab twice and you'll see all of the files that start with that name. If you type the next character to hint which filename you wish to select and push tab again then the shell will autocomplete as far as it can until it reaches more files whose names deviate.
Push tab key to autocomplete. Then push the tab key twice to see your options. If you don't have any more options and your filename is complete then push enter to enter the folder.
By autocompleting with the tab key you'll find you'll get much faster at navigating your computers files through the command line then you ever could using the GUI. All you have to do is to learn the commands of Linux and how to formulate them. Trust me, once you learn this your Linux life will be much easier.
Using resources such as the LQ wiki
will help you learn the Linux way.
I have also written a small guide to Linux as user sagteck which is kind of just a bunch of tutorials I farted out of my head if you want to check that out as well. I did that to teach some people at another forum I frequent.
Learn about Linux
It has a downloadable offline PDF version in case you want to read it on the road or something. I referred you to that guide in case you like my teaching/writing style.
I also highly recommend you purchase a book such as one from the Linux Bible series
(Did an amazon search for linux bible). That's where I learned a lot of my command line nuances in the GNU/Linux terminal.
I hope you don't get discouraged away from Linux and hope you find it as enjoyable as I do! Good luck and if there's anything I write about you don't understand just ask me and I'll elaborate for you.