Skip to content
Sunday, June 4, 2023
Latest:
  • Protect Your Email Database from Outlook PST Corruption with These Strategies
  • How to use SEO to build your brand
  • Tweaking the application resources in a cost effective way + Kubernetes
  • All about s3cmd, the CLI to manage Amazon Simple Storage (S3)
  • How to swap two variables in Python?
Crybit.com

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 Ashok10 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 Ashok2 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 Ashok1 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 Ashok2 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 Ashok3 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

  • 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
  • Tweaking the application resources in a cost effective way + Kubernetes September 4, 2022
  • 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
  • PromQL Wildcard Examples August 20, 2022
  • How to save/backup existing iptables rules to a file – Iptables commands August 20, 2022
  • Apache Kafka Components and CLI Cheat Sheet August 19, 2022
  • Exclude a directory or multiple directories while using find command August 18, 2022
  • Fetch Kubernetes node details for quick analysis of your worker nodes August 18, 2022
  • How to fix – Kubernetes objects stuck in terminating state? August 17, 2022
  • How to update a Docker image with new changes? August 17, 2022
  • Samir H Bhatt: 16 Tips for Optimizing Your PPC Campaigns June 11, 2022
  • Thomas J Powell – 15 Essential Tips for Growing Your Small Business June 11, 2022

Comments

  • Arunlal Ashok on Not a technical blog, it’s about Azhimala Shiva Statue that we visited recently
  • Arunlal Ashok on How to reset WordPress admin/users password from Linux command line?
  • mojtaba on How to reset WordPress admin/users password from Linux command line?
  • Divya Bhat on Not a technical blog, it’s about Azhimala Shiva Statue that we visited recently
  • slotbet88 on How to update a Docker image with new changes?
  • 777luckyslot on How to update a Docker image with new changes?
  • challa narendra on 15+ Commonly using OpenVZ commands and its usages
  • Elvin on How to change the database user password – cPanel?
Copyright © 2023 Crybit.com. Theme: Creative Blog by Bishal Napit. Powered by WordPress.