Skip to content
Tuesday, May 20, 2025
Latest:
  • Demystifying SLAs, SLOs, and SLIs: A Guide to Service Reliability
  • The complete flow of scheduling a POD in Kubernetes – short note
  • Fetch Kubernetes node details for quick analysis of your worker nodes
  • What is a Linux container?
  • Advantages of Prometheus monitoring tool

Crybit.com

The Linux Expert!!

  • Home
  • About
  • Web Hosting
    • cPanel
    • Direct Admin
    • kloxo
    • Plesk
    • webmin
    • commands
    • Firewall
    • exim
    • MySql
    • Utilities
  • DevOps Tips!
    • k8s
    • Docker
    • Prometheus
    • AWS
    • Puppet
    • Ansible
    • Python
  • SEO
  • LinkedIn

Bash

In this category, we will share some tips using Bash [shell] script.

Index:

  1. How to check the execution time of your script in cron?
  2. Managing MySQL database backup
  3. How to change the database user password – cPanel?

 

Bash Linux

How to check the execution time of your bash script?

January 20, 2021January 22, 2021 Arunlal A10 Comments

Do you have a long running bash script on your server’s cron list? And you really wanna get notified about the total execution time for your cron? Yeah, here we go! We can not find out the total execution time from…

Bash Database Mongo scripts

Dump Mongo DB and move it to an S3 bucket.

July 30, 2020July 31, 2020 Arunlal A2 Comments

Requirement: Need to create a script to create Mongo DB dump and move the dump to an AWS s3 bucket. Prerequisites: SSH access to Mongo DB server, IAM user with AWS s3 full [or write] access, aws-cli on server, knowledge…

Bash Database Mongo scripts

Dump Mongo DB collections and move it to an S3 bucket.

November 5, 2018November 6, 2018 Arunlal A1 Comment

Requirement: Need to write a script to create Mongo DB collections dump and move the dump to an AWS s3 bucket. Prerequisites: SSH access to Mongo DB server, IAM user with AWS s3 full [or write] access, aws-cli on server,…

Bash Linux MySql

Managing MySQL database backup

October 18, 2018October 19, 2018 Arunlal A2 Comments

How to create/restore MySQL databases’ dump/backup of all the databases? Yes!! this is an important section in  MySQL administration, and every Linux SysAdmins should know about it. Because, creating backups are such an important task for a SysAdmin. In MySQL, the…

Bash cPanel MySql Scripts

How to change the database user password – cPanel?

July 5, 2018October 19, 2018 Arunlal A3 Comments

Changing the database user password using bash script? Change the database user password, need simple solution!! The MySQL community has depreciated “old_passwords” option since MySQL 5.6 version. So we won’t be able to recollect the password from an old password…

Latest topics

  • Demystifying SLAs, SLOs, and SLIs: A Guide to Service Reliability December 18, 2023
  • The complete flow of scheduling a POD in Kubernetes – short note December 17, 2023
  • Fetch Kubernetes node details for quick analysis of your worker nodes December 16, 2023
  • What is a Linux container? December 3, 2023
  • Advantages of Prometheus monitoring tool November 22, 2023
  • Kubernetes CNI, short explanations October 5, 2023
  • Monitoring Kubernetes cluster using Prometheus and Grafana September 6, 2023
  • Tweaking the application resources in a cost effective way + Kubernetes September 4, 2023
  • PromQL Wildcard Examples August 20, 2023
  • How to fix – Kubernetes objects stuck in terminating state? August 17, 2023
  • Protect Your Email Database from Outlook PST Corruption with These Strategies February 23, 2023
  • How to use SEO to build your brand February 15, 2023
  • All about s3cmd, the CLI to manage Amazon Simple Storage (S3) August 31, 2022
  • How to swap two variables in Python? August 29, 2022
  • How to add files/folders to an existing TAR archive? August 22, 2022

Comments

  • eero on Simple steps to install and configure sar (sysstat) on Ubuntu/Debian servers
  • tita on How to know the MySQL uptime from commandline – 3 Methods
  • ferahtia_FS on How to know the MySQL uptime from commandline – 3 Methods
  • wrkilu on 15+ maldet command switches and options with examples – Linux
  • Keith Salustro on 15+ maldet command switches and options with examples – Linux
  • Kotesh on How to update a Docker image with new changes?
  • Liana on How to install dig, nslookup, host commands in Linux
  • Jacob Tuz Poot on How to update a Docker image with new changes?
Copyright © 2025 Crybit.com. Theme: Creative Blog by Bishal Napit. Powered by WordPress.