Sams teach yourself unix in 10 minutes
Sams teach yourself unix in 10 minutes
Copyright
Copyright © 2005 by Sams Publishing
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein.
Library of Congress Catalog Card Number: 2004098030
Printed in the United States of America
First Printing: June 2005
08 07 06 05 4 3 2 1
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an «as is» basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book.
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact
SAMS Teach Yourself Unix in 10 Minutes
|
Table of Contents | Index |
|
Эта книга представляет собой краткий курс из 10-минутных уроков для изучения основ системы Unix безотносительно к ее конкретной версии. Помимо основного материала уроков и развернутого пояснения новых терминов, в книге содержится немало полезных советов и практических приемов, позволяющих избежать типичных ошибок при входе в систему и выходе из нее, использовании графической среды X Window System и KDE, перемещении по файловой системе, поиске справки, выборе командного процессора, написании сценариев командного процессора, установке прав доступа к файлам и каталогам, удаленном доступе к сетевым ресурсам, редактировании файлов, печати документов, архивировании данных и настройке рабочей среды. Книга позволяет начать изучение Unix практически с нуля и по завершении курса получить базовые знания для работы и дальнейшего освоения этой сложной, но весьма эффективной операционной системы. Книга адресована тем, кто делает лишь первые шаги в освоении Unix.
формат 84×108/32; серия Освой самостоятельно… ; 2006, 1 кв.; Вильямс.
Понравилась книга? Порекомендуйте её друзьям и коллегам:
Введение 13
Урок 1. Итак, приступаем 21
Урок 2. Получение справки 39
Урок 3. Графическое сопряжение с Unix 53
Урок 4. Особенности файловой системы 71
Урок 5. Методы перемещения по файловой системе 89
Урок 6. Работа в командной строке 99
Урок 7. Чтение файлов 115
Урок 8. Правка текста 125
Урок 9. Утилиты правки текста и управления файлами 137
Урок 10. Инструментальные средства архивирования и сжатия данных 149
Урок 11. Управление процессами в Unix 163
Урок 12. Ввод и вывод 177
Урок 13. Регулярные выражения 185
Урок 14. Основы создания сценариев командного процессора 195
Урок 15. Пользовательские утилиты 205
Урок 16. Видоизменение рабочей среды 217
Урок 17. Печать в Unix 225
Урок 18. Подключение к сети и безопасность 233
Урок 19. Установка прав доступа 243
Урок 20. Привилегированные команды Unix 255
Приложение. Источники для дальнейшего изучения Unix 263
Предметный указатель 265
shutdownreboot
shutdown/reboot
There may be a time where you need to shut down your Unix system or reboot it. Although I can vouch from many years of experience that you will reboot Unix or Linux far less than Microsoft Windows, you may still need to shut down your system or reboot it. Unix boots differently than Microsoft Windows. Most Windows operating systems will boot up as a complete unit. In Unix, the kernel loads, and then anything else is loaded around it for use. Unix uses dozens of programs to form what appears to be a huge operating system, when in reality it’s all loaded separately as single programs.
Each of these programs might be in the process of modifying, moving, creating, or deleting files at any point in time and cannot be interrupted. If you simply shut off the power to a Unix machine, you interrupt all these processes, and probably destroy any files they were working on at the time. This happens often, and is another reason why it’s important that commands like this are restricted to the proper users. Haphazardly shutting off the power to a Unix machine has the potential to completely corrupt the drives, leaving the system unusable. Be careful if you use this command at work. If you are working in your lab, then have fun, and try to create problems so that you can use single-user mode and fsck to fix it.
The shutdown command and a reboot command have obvious goals. These two commands gracefully exit all running software, write out disk-cache information to the drives, and complete their respective tasks. They are restricted to the root user for obvious reasons.
SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski
Get full access to SAMS Teach Yourself Unix in 10 Minutes and 60K+ other titles, with free 10-day trial of O’Reilly.
There’s also live online events, interactive content, certification prep materials, and more.
Appendix B. Unix Command Reference
Command | Result |
Look up a command | |
Display current directory | |
List directory contents | |
Change Directory | |
Delete file | |
Copy file to new location | |
Move file to new location | |
Display entire file | |
Display file one page at a time | |
Return file statistics: number of words, lines, and characters | |
Encode/decode binary file to transmit through email | |
Move process to the foreground/background | |
List processes running on the system | |
Send end signal to a running process |
Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.
Источники информации:
- Sam walton made in america
- Samsung made in china