This repository contains a collection of scripts designed to assist with various system administration tasks. These scripts are intended to automate routine tasks, improve efficiency, and ensure consistency across different environments.
This project is a collection of scripts that can be used for various system administration tasks. Each script is designed to be simple, efficient, and easy to use. The scripts cover a range of tasks from backups to user management and system monitoring.
The autoupgrades.sh
script is a set of instructions designed to automate the process of upgrading software packages on a Unix-based system. This script ensures that all installed packages are up-to-date with the latest versions available from the repositories.
To use the autoupgrades.sh
script, follow these steps:
- Open a terminal.
- Execute the commands with appropriate permissions
Instructions to reset the root password in Red Hat Enterprise Linux by booting into single-user mode and performing necessary system changes
The find_files_complex_condition.sh
script finds all ASCII text files in the current directory and subdirectories, checks their size, and prints out the content of the files that are exactly 1033 bytes in size. The script handles filenames with spaces and other special characters safely.
To use the find_files_complex_condition.sh
script, follow these steps:
- Open a terminal.
- Execute the following command:
./find_files_complex_condition.sh
- Unix-based operating system
- Administrative (root) privileges
- Internet connection to access package repositories
- Clone the repository:
git clone https://github.com/mhayo/scripts.git