![](https://csdnimg.cn/release/download_crawler_static/10990838/bg12.jpg)
xvi Contents in Detail
Dependencies............................................. 157
High- and Low-Level Package Tools .............................. 158
Common Package Management Tasks .................................. 158
Finding a Package in a Repository .............................. 158
Installing a Package from a Repository............................ 159
Installing a Package from a Package File .......................... 159
Removing a Package........................................ 160
Updating Packages from a Repository ............................ 160
Upgrading a Package from a Package File ........................ 160
Listing Installed Packages ..................................... 161
Determining Whether a Package Is Installed........................ 161
Displaying Information About an Installed Package ................... 161
Finding Which Package Installed a File ........................... 162
Summing Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
15
STORAGE MEDIA 165
Mounting and Unmounting Storage Devices .............................. 166
Viewing a List of Mounted File Systems ........................... 167
Determining Device Names ................................... 170
Creating New File Systems .......................................... 173
Manipulating Partitions with fdisk ............................... 173
Creating a New File System with mkfs ............................ 175
Testing and Repairing File Systems..................................... 176
Moving Data Directly to and from Devices ............................... 177
Creating CD-ROM Images .................................... 177
Creating an Image Copy of a CD-ROM ........................... 177
Creating an Image from a Collection of Files ....................... 178
Writing CD-ROM Images ........................................... 178
Mounting an ISO Image Directly ................................ 179
Blanking a Rewritable CD-ROM ................................ 179
Writing an Image .......................................... 179
Summing Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Extra Credit..................................................... 180
16
NETWORKING 181
Examining and Monitoring a Network .................................. 182
ping ................................................... 182
traceroute................................................ 183
ip . . ................................................... 184
netstat .................................................. 184
Transporting Files over a Network ..................................... 185
ftp . . ................................................... 186
lftp—a Better ftp ........................................... 187
wget ................................................... 188
Secure Communication with Remote Hosts................................ 188
ssh . ................................................... 188
scp and sftp .............................................. 192
Summing Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193