The Official Ubuntu Book: Welcome to the Command Line
- Starting Up the Terminal
- Moving around the Filesystem
- Manipulating Files and Folders
- System Information Commands
- Searching and Editing Text Files
- Dealing with Users and Groups
- Getting Help on the Command Line
- Searching for Man Files
- Using Wildcards
- Executing Multiple Commands
- Moving on to More Advanced Uses of the Command Line
One of the most powerful parts of any Ubuntu system is the command line. It can also be one of the most daunting to dive into. There is often little help, and commands are not easy to find. But if you are willing to learn, the power of the command line will speed up your work and can be a great education.
While the command line is a nice addition to a desktop user's life, it is completely invaluable if you run a server. The Ubuntu server installs without any graphical user interface, so the tools explained in this chapter and other books will be absolutely critical to success. And hey, remember to have fun!
Starting Up the Terminal
The terminal can be found under Accessories > Terminal. When it first launches, you will see something similar to that shown in Figure A-1.
Figure A-1 The terminal window.
You will see a blinking cursor immediately preceded by a string ending in a $. The first word in that string is your user name, followed by the @ symbol. After the @ the hostname of your computer is listed followed by the name of the folder you are currently in (currently your home folder), which is represented by a ~ symbol.
There are many dozens of commands. Here are a few, broken down by category.