Linux systems are everywhere today, even in companies once considered "pure Windows." If you’re a sysadmin, network administrator, or developer in a small Windows shop, you may have to jump in and fix a system problem when your site goes down. What if you have no Linux knowledge? This short guide provides tips to help you survive.
Linux systems may appear in your shop as virtual machines or in the cloud, including web servers, databases, mobile device managers, version control, and monitoring systems. When one of them falters, this primer leads you through some diagnostic and recovery tasks so you can quickly get your site back up.
- Connect to a Linux system with OpenSSH and PuTTY secure shells
- List files and directories, and move around within the file system
- Safely inspect the file contents without changing them
- Narrow your search by using commands to locate specific files
- Use the grep command to search for error messages inside a file
- Determine real-time system state to find underlying problems
- Examine disk utilization and zero in on space-hogging files
- Transfer suspect files from Linux to Windows for later analysis
- Use commands to start, stop, restart, or even kill unresponsive services
- Know where to find help when troubleshooting isn’t enough
Table of Contents
- 0. Step 0: Don’t Panic
- 1. Step 1: Getting In
- 2. Step 2: Getting Around
- 3. Step 3: Peeking at Files
- 4. Step 4: Finding Files
- 5. Step 5: Search Me
- 6. Step 6: What’s Going On?
- 7. Step 7: Filesystems
- 8. Step 8: Transferring Files
- 9. Step 9: Starting and Stopping
- 10. Step 10: Where to Go for Help
- 11. The End
- A. Cheat Sheet
- Title: Ten Steps to Linux Survival
- Release date: June 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492042587