README.md
: This file.LICENSE
: License file.to_md_table.py
: Python script to convert a csv/txt file to a markdown table.rename_date.py
: Python script to rename files with adding the creation date to the filename.rename_underline.py
: Python script to rename all the files in a directory with replacing spaces with underscores.change_passwords.sh
: Script to change users' password based on a file with the format username:password.generate_user_accounts.sh
: Script to generate and add a user with a securely hashed password to a Linux system.single_user_config.sh
: Script to create a user account, set up SSH access, and option of granting sudo privileges based on the Linux distribution.feed_catcher.py
: Script that fetches posts from your desired RSS feeds in the last 24 hours and saves the posts' title to a README.md file.
python to_md_table.py <input_file_name_ext> <output_file_name>
# Example
python to_md_table.py test.csv test
# Output
# test.md
python rename_date.py <input_file_name_ext>
# Example
python rename_date.py test.pdf
# Output
# 2024_03_25_test.pdf
python rename_underline.py [directory_path]
# Hint:
# The directory path is optional. If not provided, the current directory will be considered.
# Example
python rename_underline.py /Documents
# Output
# All the files in the directory will be renamed with replacing spaces with underscores.
- Make the script executable with the command
chmod +x change_passwords.sh
. - Ensure there is a file named
passwords.txt
in the same directory as the script. - Run the script as root with the command
sudo ./change_passwords.sh
.
- Make the script executable with the command
chmod +x generate_user_accounts.sh
. - Run the script as root with the command
sudo ./generate_user_accounts.sh <number_of_accounts> <username_prefix>
. - The created user accounts will be saved in
user_accounts.csv
as well as their passwords.
- Make the script executable with the command
chmod +x single_user_config.sh
. - Run the script as root with the command
sudo ./single_user_config.sh <username> <path_to_ssh_key> [sudo]
.
- Open a terminal and navigate to the directory where feed_catcher.py is saved.
- Execute the script by running the following command in the terminal:
python ./feed_catcher.py