Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've been using ubuntu for a while but am not really experienced in the more technical side of things. I've decided to start using the terminal and thought i'd go to the linux help guide for help on commands.
I now know some basic commands, but i just can't work out how to use the "cd" command correctly.
I've tryed everything. I use the "pwd" command, to find out what directory i'm in, but how to i move around using "cd"???
I don't understand what you have trouble with. You just pass the directory you want to change to as an argument to cd. For example,
will change your current directory to /usr/bin. Some things to note: "cd -" will take you to the previous directory and "cd .." will take you up a level in the tree (e.g from /usr/bin to /usr). You can use .. multiple times in a path, since it is shorthand for the parent directory (e.g. from /usr/local/bin, doing "cd ../../ will take you to /usr).
Many new users have trouble spatially or conceptually with the inverted tree metaphor for the file system . Going "up" or "down" the directory tree isn't immediately comfortable to them. Even though they may be able to dive from one folder into a sub-folder in a GUI explorer, there is still a hierarchical disconnect. Pictures often help solidify the abstraction, especially for those more visual.
Students seemed to like some of the graphics I created for Unix intro course:
Using the GUI, how do i find out which directories there are?
Use whatever file manager you use. In the command line, ls will tell you which files and directories are in the current directory and pwd will tell you the current working directory (but you may not need it because the directory may be shown in your prompt). / is the root of the filesystem hierarchy.