[ Pobierz całość w formacie PDF ]
." We will use the shorter expressions wherever their meaning is clear.Sometimes people familiar with Linuxdrop the word "run," so that one user might tell another, "I tried who but didn't see anything unusual." It's understood by the context that when they "tried who," they actually ran it.Something else you will notice if you are reading carefully is that there seem to be both Linux programs and Linux commands.A command is what you type at the shell prompt.For this reason, the combination of the shell prompt and what you type after itis often called a command line.When you press the Enter key, Linux takes the command you've entered and tries to perform it.The Linux system has built-in responses to some commands; for other commands it finds the appropriately named program on your harddisk and executes that program.In the strictest sense, then, the command is what you type, and the program is what performs your command.However, very simple programs with straightforward results, such as who, are often referred to as commands, although there is actually a whoprogram on your hard disk.More complicated programs, usually interactive such as adduser, or open-ended such as a text editor, are called programs.So you might hear one experienced user tell another, "The adduser program worked fine.I tried the whocommand 15 minutes later and the new user had logged in already."SummaryIn this chapter, we assigned a password to the root login and created a new user ID to be used in the next few chapters.We tried out Linux multitasking, and we learned some useful Linux terminology tips that will serve us well in the future (we willtry to avoid seeing too many error messages, though).At this point, you can either ensure that you have logged out of all virtual terminals, or move on to the following chapters.In the next two chapters, we will become more familiar with using Linux.In Chapter 7, "Basic Linux Commands and Utilities," we try out a variety of Linux commands as we exercise our Linux muscles.In Chapter 8, we learn more about how Linux stores its programs and data, and explore some of the interesting terrain on your hard drive
[ Pobierz całość w formacie PDF ]