𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Beginning the Linux Command Line

✍ Scribed by Sander van Vugt


Publisher
Apress
Year
2009
Tongue
English
Leaves
381
Series
Expert's voice in open source
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


I enjoyed reading every line of it. I read many technical books and this is one of those books that really makes me feel I am getting smarter as I am reading it.

I am learning so many tips from this book. I am now a much more efficient Linux system admin than I have ever been.

I would like to thank the author and please keep writing about Linux and other open source projects.

I love your writing style

✦ Table of Contents


Cover......Page 1
Copyright......Page 3
Contents at a Glance......Page 4
Contents......Page 5
About the Author......Page 13
About the Technical Reviewer......Page 14
Introduction......Page 15
Linux History......Page 17
Linux Turning Mainstream......Page 18
Logging In and Out......Page 20
Different Login Interfaces......Page 21
Working with a User Account......Page 23
Command-Line Basics......Page 24
Commands, Options, and Arguments......Page 25
Piping......Page 28
Redirection......Page 30
Using man to Get Help......Page 32
Using the --help Option......Page 35
Working with the Shell......Page 36
Using the Shell to Best Effect......Page 37
Managing Bash with Key Sequences......Page 41
Summary......Page 42
Changing Your Password......Page 43
Working with Virtual Consoles......Page 44
Becoming Another User......Page 45
Obtaining Information About Other Users......Page 46
Real-Time Communication......Page 47
Sending Mail from the Command Line......Page 49
Default Directories......Page 51
Working with Directories......Page 54
Working with Files......Page 55
Cool Commands......Page 59
Displaying System Information with uname and hostname......Page 60
Summary......Page 61
Using the mount Command......Page 63
Unmounting Devices......Page 68
Automating Mounts with /etc/fstab......Page 69
Checking File System Integrity......Page 72
Making File Backups with tar......Page 73
Making Device Backups Using dd......Page 78
Working with Links......Page 79
Working with Symbolic Links......Page 80
Links Recap......Page 83
Summary......Page 84
Working with Vi......Page 85
Vi Modes......Page 86
Saving and Quitting......Page 87
Moving Through Text Files......Page 88
Vi Summarized......Page 89
Showing File Contents with cat and tac......Page 90
Showing a File’s Last Lines with tail......Page 91
Browsing File Contents with less and more......Page 92
Changing Contents in a Batch with tr......Page 93
Finding Differences Between Text Files with diff......Page 94
Checking Whether a Line Exists Twice with uniq......Page 95
Getting Specific Information with cut......Page 96
Working with Basic Regular Expressions......Page 97
Working with Programmable Filters......Page 100
Managing CUPS Print Queues......Page 103
Finding Files......Page 104
Summary......Page 106
File System Labels......Page 107
Creating Partitions......Page 109
Understanding Partitions......Page 110
Managing Partitions with fdisk......Page 111
Working with cfdisk......Page 119
Recovering Lost Partitions with gpart......Page 120
Understanding Logical Volumes......Page 122
Setting Up a Disk with Logical Volume Manager......Page 123
Working with Snapshots......Page 128
Basic LVM Troubleshooting......Page 129
Working with File Systems......Page 132
Understanding File Systems......Page 133
Maintaining File Systems......Page 138
Resizing File Systems......Page 143
Cloning Devices......Page 145
Summary......Page 146
Understanding Users and Their Properties......Page 148
Commands for User Management......Page 150
Working with Default Values for User Management......Page 152
Performing Account Maintenance with passwd......Page 154
Behind the Commands: Configuration Files......Page 155
Creating Groups......Page 158
Creating Shell Login Scripts......Page 160
Applying Quota to Allow a Maximum Amount of Files......Page 161
Preparing the File System for Quota......Page 162
Initializing Quota......Page 163
Setting Quota for Users and Groups......Page 164
Understanding Pluggable Authentication Modules......Page 166
Discovering PAM Modules......Page 168
The role of /etc/nsswitch.conf......Page 171
Configuring Administrator Tasks with sudo......Page 173
Summary......Page 175
Displaying Ownership......Page 177
Changing Group Ownership......Page 178
Default Ownership......Page 179
Understanding Read, Write, and Execute Permissions......Page 180
Applying Read, Write, and Execute Permissions......Page 181
Understanding Advanced Permissions......Page 182
Applying Advanced Permissions......Page 184
Understanding ACLs......Page 185
Changing and Viewing ACL Settings with setfacl and getfacl......Page 186
Setting Default Permissions......Page 189
Working with Attributes......Page 190
Summary......Page 192
Understanding Software Management......Page 193
Working with RPM......Page 194
Working with yum......Page 195
Working with zypper......Page 200
Managing .deb Software Repositories......Page 202
Ubuntu Package Management Utilities......Page 204
Summary......Page 210
Understanding Linux Processes......Page 211
Monitoring Processes with top......Page 213
Finding Processes with ps......Page 218
Showing Parent-Child Relations with pstree......Page 221
Killing Processes with kill, pkill, and killall......Page 224
Adjusting Process Priority with nice......Page 226
Scheduling Processes......Page 227
Summary......Page 229
Understanding Logging......Page 230
Monitoring Log Files......Page 232
Configuring the syslog Service......Page 233
Passing Startup Parameters to syslog and syslog-ng......Page 237
Configuring syslog-ng......Page 239
Rotating Old Log Files......Page 245
Summary......Page 248
A Quick Introduction to Computer Networking......Page 249
Using ifconfig......Page 250
Using the ip Tool......Page 254
Storing IP Address Configuration on Ubuntu......Page 257
Storing IP Address Configuration on Fedora......Page 258
Storing IP Address Configuration on SUSE......Page 260
Managing the Default Route with route......Page 261
Storing Routing Information......Page 262
The Role of the /etc/nsswitch.conf File......Page 263
Using the /etc/hosts File......Page 264
Tuning the Network Card with ethtool......Page 265
Testing Connectivity......Page 267
Testing Routing......Page 269
Testing Availability of Services......Page 270
Connecting Remotely with Secure Shell......Page 274
Working with Public/Private Key Pairs......Page 275
Working with Secure Shell......Page 276
Configuring SSH......Page 278
Using SSH Key-Based Authentication......Page 280
Caching Keys with ssh-agent......Page 283
Tunneling Traffic with SSH......Page 284
Summary......Page 286
Configuring a Samba File Server......Page 288
Accessing a Samba File Server......Page 297
Basic Samba Troubleshooting......Page 300
Understanding NFS Processes......Page 302
Configuring an NFS Server......Page 304
Configuring an NFS Client......Page 306
Summary......Page 308
Understanding the Kernel......Page 309
Listing Modules with lsmod......Page 310
Displaying Module Properties with modinfo......Page 311
Changing Module Options......Page 312
Tuning Kernel Parameters......Page 313
Writing Changes to /proc......Page 314
Some Useful /proc Parameters......Page 316
Understanding Make......Page 317
Modifying and Compiling the Kernel......Page 318
Compiling Modules......Page 321
Managing the GRUB Boot Loader......Page 322
The GRUB Configuration File......Page 323
Working with the GRUB Boot Menu......Page 325
Summary......Page 327
Elements of a Good Shell Script......Page 328
Executing the Script......Page 330
Working with Variables and Input......Page 331
Understanding Variables......Page 332
Variables, Subshells, and Sourcing......Page 333
Working with Script Arguments......Page 335
Asking for Input......Page 338
Substitution Operators......Page 340
Changing Variable Content with Pattern Matching......Page 343
Performing Calculations......Page 345
Using Control Structures......Page 348
Using if ... then ... else......Page 349
Case......Page 353
Using while......Page 354
Using until......Page 355
Using for......Page 356
Summary......Page 359
Appendix - Installing Linux......Page 361
Index......Page 369


πŸ“œ SIMILAR VOLUMES


Beginning the Linux Command Line
✍ Sander van Vugt (auth.) πŸ“‚ Library πŸ“… 2009 πŸ› Apress 🌐 English

<p><p>This is Linux for those of us who don't mind typing. All Linux users and administrators tend to like the flexibility and speed of Linux administration from the command line in byte–sized chunks, instead of fairly standard graphical user interfaces. <em>Beginning the Linux Command Line</em> fol

Beginning the Linux Command Line
✍ Sander van Vugt πŸ“‚ Library πŸ“… 2015 πŸ› Apress 🌐 English

This is Linux for those of us who don’t mind typing. All Linux users and administrators tend to like the flexibility and speed of Linux administration from the command line in byte–sized chunks, instead of fairly standard graphical user interfaces. Beginning the Linux Command Line is verified agains

Beginning the Linux Command Line
✍ Sander van Vugt (auth.) πŸ“‚ Library πŸ“… 2009 πŸ› Apress 🌐 English

<p><p>This is Linux for those of us who don't mind typing. All Linux users and administrators tend to like the flexibility and speed of Linux administration from the command line in byte–sized chunks, instead of fairly standard graphical user interfaces. <em>Beginning the Linux Command Line</em> fol

Beginning the Linux Command Line
✍ Sander van Vugt πŸ“‚ Library πŸ“… 2009 πŸ› Apress 🌐 English

<p>This is Linux for those of us who don’t mind typing. All Linux users and administrators tend to like the flexibility and speed of Linux administration from the command line in byte–sized chunks, instead of fairly standard GUIs. <em>Beginning the Linux Command Line</em> follows a task–oriented app