Andrew Hudson - Fedora™ Unleashed, 2008 edition

Здесь есть возможность читать онлайн «Andrew Hudson - Fedora™ Unleashed, 2008 edition» весь текст электронной книги совершенно бесплатно (целиком полную версию без сокращений). В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Город: Indianapolis, Год выпуска: 2008, ISBN: 2008, Издательство: Sams Publishing, Жанр: ОС и Сети, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Fedora™ Unleashed, 2008 edition: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Fedora™ Unleashed, 2008 edition»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

Quick Glance Guide
Finding information you need is not always easy. This short index provides a list of common tasks discussed inside this book. Browse the table of contents or index for detailed listings and consult the specified chapter for in-depth discussions about each subject.
left How Do I…?
See…
How Do I…?
See…
left Back up my system?
Chapter 13
Partition a hard drive?
Appendix B, Chapters 1, 35
left Build a new Linux kernel?
Chapter 36
Play MP3s and other music?
Chapter 7
left Burn a CD?
Chapter 7
Print a file?
Chapter 8
left Change a password?
Chapter 4
Read a text file?
Chapter 4
left Change the date and time?
Chapter 32
Read or send email?
Chapter 21
left Compress a file?
Chapter 13
Read or post to newsgroups?
Chapter 5
left Configure a modem?
Chapter 2
Reboot Fedora?
Chapter 1
left Configure a printer?
Chapter 8
Rescue my system?
Chapter 13
left Configure a scanner?
Chapter 7
Set up a DNS server?
Chapter 23
left Configure a sound card?
Chapter 7
Set up a firewall?
Chapter 14
left Configure my desktop settings?
Chapter 3
Set up a web server?
Chapter 15
left Connect to the Internet?
Chapter 5
Set up an FTP server?
Chapter 20
left Control a network interface?
Chapter 14
Set up Samba with SWAT?
Chapter 19
left Copy files or directories?
Chapters 13, 32
Set up wireless networking?
Chapter 14
left Create a boot disk to boot Fedora?
Chapter 1
Shut down Fedora?
Chapter 1
left Create a database?
Chapter 16
Use a spreadsheet?
Chapter 6
left Create a user?
Chapter 4
Use Instant Messaging?
Chapter 5
left Delete a file or directory?
Chapter 32
Watch television on my computer?
Chapter 7
left Get images from a digital camera?
Chapter 7
Edit a text file?
Chapter 4
left Install Fedora?
Chapter 1
Make Fedora more secure?
Chapter 14
left Log in to Fedora?
Chapter 1
Mount a CD-ROM or hard drive?
Chapter 35

Fedora™ Unleashed, 2008 edition — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Fedora™ Unleashed, 2008 edition», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

This chapter looks at some of the basic commands that you need to know to be productive at the command line. You will find out how to get to the command line, and also get to grips with some of the commands used to navigate around the file system. Later on in this book is the "Command-Line Master Class" (Chapter 32), which explores the subject in more depth.

Understanding the Command Line

Hang around Linux users for any length of time and it won't be long before you hear them speak in hushed tones about the command line or the terminal. Quite rightly, too, because the command line offers a unique and powerful way to interact with Linux. However, for the most part, you may never need to access the command line because Fedora offers a variety of graphical tools that enable you to configure most things on your system.

But this is the real world, and sometimes things go wrong, meaning that you might not always have the luxury of a graphical interface to work with. It is in these situations that a fundamental understanding of the command line and its uses can be a real life saver.

It's tempting to think of the command line as the product of some sort of black and arcane art, and in some ways it can appear to be extremely difficult to use. By the end of this chapter, you should at least be comfortable with using the command line and ready to move on to Chapter 32.

More important, however, you will be able to make your way around a command line-based system, which you are likely to encounter if you work within a server environment.

This chapter introduces you to a number of commands, including commands that enable you to do the following tasks:

Perform routine tasks— Logging in and out, using the text console, changing pass words, listing and navigating directories

Carry out basic file management— Creating files and folders, copying or moving them around the file system, renaming and ultimately deleting them (if necessary)

Execute basic system management— Shutting down or rebooting, reading man pages, and using text-based tools to edit system configuration files

The information in this chapter is valuable for individual users or system administrators who are new to Linux and are learning to use the command line for the first time.

TIP

Those of you who have used a computer for many years will probably have come into contact with MS-DOS, in which case being presented with a black screen will fill you with a sense of nostalgia. Do not get too comfy; the command line in Linux is far superior to its distant MS-DOS cousin. Whereas MS-DOS skills are transferable only to other MS-DOS environments, the skills that you learn at the Linux command line can be transferred easily to other UNIX-like operating systems, such as Solaris, OpenBSD, FreeBSD, and even Mac OS X (because it allows you access to a terminal).

Security

One concept you will have to get used to is that of user-based security. By and large, only two types of users will access the system as actual users. The first type is the regular user, of which you created one when you started Fedora for the first time (see Chapter 1, "Installing Fedora"). These users can change anything that is specific to them, such as the wallpaper on the desktop, their personal preferences, and so on. These users are prevented from making changes that will affect other users than themselves, sometimes called systemwide changes.

To make systemwide changes, you need to use the super-user or root account. This is a special-access privilege that gives you complete control over the entire system, with the ability to destroy everything should you so want. If you have installed Linux on your own PC, you automatically have access to the root account as you set it up during the installation. However, it is not unusual for users to not have any access to the root user, especially in corporate environments where security and system stability are of paramount importance.

An example of the destructive nature of root can be found in the age-old example of #rm -rf /, which erases all the data on your hard drive. You need to be especially careful when working as root; otherwise, you might irreparably damage your system. Don't let this worry you, however, because the root user is fundamental to a healthy Linux system. Without it you would not be able to install new software, edit system configuration files, or do any number of administration tasks. By the end of this chapter, you will feel comfortable working as root and be able to adequately administer your system.

As with most things, Fedora offers you a number of ways to access the command line. You can use the terminal entry in Applications, System Tools, but by far the simplest way is to press Ctrl+Alt+F1. Fedora switches to a black screen and a traditional login prompt that resembles the following:

Fedora Release 8 (Werewolf)

Kernel 2.6.23-0.217.fc8 on an i686

fedora login:

TIP

This is actually one of six virtual consoles that Fedora provides for your use. After you have accessed a virtual console, you can use the Alt key and F1 through F6 to switch to a different console. If you want to get back to the graphical interface, press Alt+F7. You can also switch between consoles by holding the Alt key and pressing either the left or the right cursor key to move down or up a console, such as vt1 to vt2.

Fedora is waiting for you to log in as a user, so go ahead and enter your username and press the Return key. Fedora then prompts you for your password, which you should enter. Note that Fedora does not show any characters while you are typing your password in. This is a good thing because it prevents any shoulder surfers from seeing what you've typed or the length of the password.

Pressing the Return key drops you to a shell prompt, signified by the dollar sign:

andrew@fedora ~]$

This particular prompt tells me that I am logged in as the user andrew on the system fedora and I am currently in my home directory. (Linux uses the tilde as shorthand for the home directory.)

TIP

Navigating through the system at the command line can get confusing at times, especially when a directory name occurs in several different places. Fortunately, Linux includes a simple command that tells you exactly where you are in the file system. It's easy to remember because the command is just an abbreviation of present working directory, so type pwd at any point to get the full path of your location. For example, typing pwdafter following these instructions shows /home/yourusername,meaning that you are currently in your home directory.

Using the pwdcommand can save you a lot of frustration when you have changed directory half a dozen times and have lost track.

Another way to quickly access the terminal is to go to Applications, Accessories and choose the Terminal entry. Fedora opens up gnome-terminal, which allows you to access the terminal while remaining in Gnome. This time, the terminal appears as black text on a white background. You can choose to access the terminal this way, or by using the Ctrl+Alt+F1 route; either way you will get to the same place.

Navigating Through the File System

Use the cdcommand to navigate through the Fedora file system. This command is generally used with a specific directory location or pathname, like this:

$ cd /usr/share/doc

Under Fedora, the cd command can also be used with several shortcuts. For example, to quickly move up to the parent (higher-level) directory, use the cd command like this:

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Fedora™ Unleashed, 2008 edition»

Представляем Вашему вниманию похожие книги на «Fedora™ Unleashed, 2008 edition» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Fedora™ Unleashed, 2008 edition»

Обсуждение, отзывы о книге «Fedora™ Unleashed, 2008 edition» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x