Download GNU/Linux Command-Line Tools Summary

Transcript
GNU/Linux Command−Line Tools Summary
Table of Contents
Chapter 1. Introduction......................................................................................................................................1
1.1. Who would want to read this guide?.................................................................................................1
1.2. Who would not want to read this guide?..........................................................................................2
1.3. Availability of sources......................................................................................................................2
1.4. Conventions used in this guide.........................................................................................................2
1.5. Resources used to create this document............................................................................................4
1.6. Feedback...........................................................................................................................................4
1.7. Contributors......................................................................................................................................5
Chapter 2. Legal..................................................................................................................................................7
2.1. Disclaimer.........................................................................................................................................7
2.2. License..............................................................................................................................................7
Chapter 3. The Unix Tools Philosophy.............................................................................................................8
Chapter 4. Shell Tips..........................................................................................................................................9
4.1. General Shell Tips.............................................................................................................................9
4.2. The command−line history.............................................................................................................12
4.3. Other Key combinations.................................................................................................................13
4.4. Virtual Terminals and screen..........................................................................................................13
Chapter 5. Help.................................................................................................................................................15
Chapter 6. Directing Input/Output.................................................................................................................17
6.1. Concept Definitions........................................................................................................................17
6.2. Usage...............................................................................................................................................17
6.3. Command Substitution...................................................................................................................19
6.4. Performing more than one command..............................................................................................19
Chapter 7. Working with the file−system.......................................................................................................21
7.1. Moving around the filesystem........................................................................................................21
7.1.1. Finding files...........................................................................................................................23
7.2. Working with files and folders.......................................................................................................24
7.3. Mass Rename/copy/link Tools........................................................................................................29
Chapter 8. Finding information about the system.........................................................................................32
8.1. Date/Time/Calendars......................................................................................................................35
8.2. Finding information about partitions..............................................................................................36
Chapter 9. Controlling the system...................................................................................................................37
9.1. Mounting and Unmounting (Floppy/CDROM/Hard−drive Partitions)..........................................37
9.2. Shutting Down/Rebooting the System............................................................................................38
9.3. Controlling Processes.....................................................................................................................40
9.4. Controlling services........................................................................................................................44
Chapter 10. Managing users............................................................................................................................45
10.1. Users/Groups.................................................................................................................................45
i