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.
Hi everyone, I done the search thing and the wheel just kept going around so I thought I'd just ask, when using the command line what determines the spaces? Do you start to type after the blinking cursor or do you space and then start to type? What is the rule of thumb in either case? Thank you Saquear!!!
Two things I can think of could be confusing you. First, in many programs there is a single line for a cursor while the command line often has a solid block. Think of the left side of the block as the single-lined cursor and you'll be fine. Second, there is a space between your prompt on the command line and where you start typing, but that's technically part of the prompt and not something you type. Try hitting backspace and you'll see it won't delete. If you're in doubt, hit backspace to get rid of any spaces you've put in there, then start to type.
Thanks guys, " one down" next, where do you use a space in the command line, otherwise what calls for leaving a space symbols or cyphers or letters? What is the rule for for when you apply spaces??? Saquear!!!
to learn how to use the command line. Spaces go in between arguments, and it should be common sense once you learn the commands. For example, it seems obvious (to me at least) that you type "cd /etc" instead of "cd/etc" to change directories to /etc.
Common sense is only an agreement between users, and since I'm new I am not sure what the agreement is, that is why I am asking!!! Thank you anyway!!! I have been going to Linux Command dot org and it is a very good tutorial especially the way he approaches but he omitts spacing... I also sent him an email about this topic but no response yet... I just thought that since this whole site is based around products that are command line oriented I thought it would be easier to get some assistance here!!! Saquear.
I apologize if my post came across as putting you down, that certainly wasn't my intention. From my experience it seems clear but maybe it isn't as obvious as I thought. I'll try to explain how spaces work here, and post back with specific questions if that doesn't help. I'm still a little confused exactly what you're asking.
When typing something on the command line, you start typing immediately without putting any spaces before what you're typing. The first things to put is the command you want to run (for example, "cd" or "mv"). Next comes a space. After that usually comes some options passed to the command (such as "-nolisten" "--version" or "-la"). Then another space. Then whatever else the command requires, such as the path to a file or two (again separated by spaces).
ls -la /etc
tar zxvf archive.tar.gz
mv /home/you/file /home/you/renamedfile
cp file1 directory1
Let me know if anything's still confusing. The exact syntax really depends on what command you're using.
If you have ever used DOS, or the CLI of enterprise routers and switches, then the way spaces are used is pretty much the same.
I have to agree that it is pretty much a common sense sort of thing. Try thinking of it like typing a letter or other document. A space is used to seperate words. Using the commend interface is very much the same, a space seperates a command and any paramaters it takes.
BTW, I am a newbie at this too. I am fairly comfortable working in a CLI environment, but not very familiar with the specifics of Linux.
OooooKay!!! Thanks a lot, you guys don't understand but that did clear a lot of confusion... And jrdioko I am going to take you up on that offer cause I'm almost positive that I'm going to have more questions... Again all of you Thank you very much, Saquear!!!