O'Reilly logo

Linux Shell Scripting Cookbook by Sarath Lakshman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Administration Calls

In this chapter, we will cover:

  • Gathering information about processes
  • Killing processes and send or respond to signals
  • Which, whereis, file, whatis, and loadavg explained
  • Sending messages to user terminals
  • Gathering system information
  • Using /proc gathering information
  • Scheduling with cron
  • Writing and reading MySQL database from Bash
  • User administration script
  • Bulk image resizing and format conversion

Introduction

A GNU/Linux ecosystem consists of running programs, services, connected devices, filesystems, users, and a lot more. Having an overview of the entire system and managing the OS as a whole, according to the way we want, is the primary purpose of system administration. One should be armed with the knowledge of commonly-used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required