This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux_tutorial [2016/05/12 15:23] peek |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== What Is A Terminal? | ||
| - | |||
| - | ===== In The Beginning... ===== | ||
| - | |||
| - | "In the beginning there was the shell, and lo, it was good..." | ||
| - | |||
| - | {{: | ||
| - | |||
| - | An 80x24 matrix of blurry green characters with a keyboard, it was pure 1970's sexy. No mouse, no graphics, just pure, unadulterated power. | ||
| - | |||
| - | Today, we have computers that are so powerful that we often run dozens of programs simultaneously, | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | Q: How many windows do I actually have open on my desktop right now? | ||
| - | A: | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ...And that's just the current desktop! | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ===== Why Should I Bother? ===== | ||
| - | |||
| - | "But why," I hear you say, "is any of this 1970's garbage relevant today, now that we have all of this flash-bang graphical GUI stuff?" | ||
| - | |||
| - | The answer is simple: Because... | ||
| - | * It's still the most powerful interface in the world | ||
| - | * When you log into a machine remotely from off-site, particularly a server of some kind, the shell is what you will interacting with | ||
| - | * All that flash-bang GUI stuff? | ||
| - | |||
| - | So this is something of which you should at least know the basics, and that's what this tutorial is all about. | ||
| - | |||
| - | * The **shell** is a special program that interacts with the user. It's job is to wait for the user to type in a command. | ||
| - | |||
| - | * Instead of entering commands manually, a user may decide to place commands into a file. The shell can execute the commands listed within the file rather than waiting on the user to type. This, and the modular nature of UNIX command line programs, is the key to the true power of UNIX: Enabling the user to automate their workflow in ways that simply can't be done with a GUI. Files that hold commands for a shell are called **shell scripts**, or just scripts for short. | ||
| - | |||
| - | * In the beginning, the shell was the one and only way for users to interact directly with the operating system. | ||
| - | |||
| - | Old And Busted: | ||
| - | |||
| - | New Hotness: | ||
| - | |||
| - | How many windows do I actually have open on my desktop? | ||
| - | |||
| - | ...And that's just the windows open on one of many virtual desktops! | ||