|
|
Home Personal Work Computers Miscellaneous LaTeX Software Projects Rendering Tutorial UNIX Commands Using CVS Case Modding Base Wiki |
|
This is part of the tutorial on UNIX Commands. What the heck is a UNIX command line?Nowadays, most unices (that's the multiple of "unix") are shipped with a graphical user interface (GUI) and a window manager like Gnome or KDE. If you want to use UNIX as a desktop, e.g. for writing documents or surfing the internet, you're probably just fine with the tools offered with the desktop. You can easily explore your files in a file browser and start all of your applications (such as an office suite or a web browser) from the menus provided by the desktop environment. But once you want to do a bit more with your machine, you'll have to reside to a command line interface, that puts you right at the controls of your operating system. From such a command line, you can enter commands with your keyboard, and ask your computer to issue the commands and thus do useful stuff with your operating system. People familiar with DOS are probably familiar with such a command line. It allows you to browse your file system, let's you copy and move files around in your file system, but you can also start programs from the command line. Getting a command lineThere are two possible options to log on to a UNIX system. A first option is that you get a command line to start with. If this is the case, you're all set to start experimenting with the commands I'll be explaining in this tutorial. Another option is that you get a graphical user interface, and it's not possible to type in any commands when viewing the desktop. If this is the case, look in the menus where you can find all applications that come with the opertaing system. Look for an application called Once the terminal or terminal emulator is started, you get a text window in which you get a command line. In the top left corner, something like We're first going to inspect what the message Chances are that you only see something like What a command usually looks likeA command is usually split up into a couple of parts, and depending on the program, or the implementation of the program, the command may look different. Most commonly, a command is split up into the command itself, and a couple of parameters that need to be passed to the command. The command and its parameter are usually seperated with a space, but more than one space, or a tab, or a combination of these are allowed too. A parameter that needs to be passed to a command usually starts with a dash ( Here are some examples of commands we'll be using in the following section:
What is so special about UNIX commands?The cool, and at first daunting thing about UNIX is that there are hundreds of small commands available. This is daunting, as it takes some time to get used to all of the commands. The cool thing is that all of these commands can do a very small task, and it is very easy to combine these little commands to do something special and more complex. As this tutorial progresses, you'll see how the command can be used to do useful things with your operating system in order to obtain all kinds of information from your system. Next |
|
|
All contents copyrighted 2000-2006 Anthony Liekens unless otherwise noted. Powered by PmWiki Page last modified on October 14, 2005, at 01:45 PM. |