Skip to content
TechSch
  • Blog
  • Reviews
  • Tutorials

Command Line

Use basic Linux commands to backup databases, write bash scripts and execute simple tasks.

How to and Benchmark of awk, grep and sed on Multiple (AND) Keywords

How to and Benchmark of awk, grep and sed on Multiple (AND) Keywords

Posted by By Mike Goh March 5, 2023Posted inDevelopers Technical TutorialsTags: Coding, Command LineNo Comments
Introduction grep is useful for searching and matching text and regular expressions in one or more files on Linux. One example is finding information in logs that is related to a particular incident. We will provide a unique identifier such…
Read More
Linux Troubleshooting Guide

Linux Troubleshooting Guide

Posted by By Mike Goh February 7, 2023Posted inDevelopers Technical TutorialsTags: Command Line, ServersNo Comments
During my learning of DevOps tools, I have encountered numerous problems. These difficulties can range from solving the dependency requirement to installing the tools themselves. The majority of solutions to issues are found on the Internet, but some require more…
Read More
Set Up SFTP Chroot Jail using OpenSSH

Set Up SFTP Chroot Jail using OpenSSH

Posted by By Mike Goh July 29, 2022Posted inDevelopers Technical TutorialsTags: Command Line, SecurityNo Comments
Introduction You may want to use one of your existing servers as a SFTP server without subscribing to another EC2 instance. Or you would like to have multiple SFTP users/vendors on a single SFTP server to save on resources and…
Read More
Bash Script Backup MySQL Databases

Bash Script Backup MySQL Databases

Posted by By Mike Goh June 10, 2021Posted inDevelopers Technical TutorialsTags: Backup, Command LineNo Comments
Introduction Back in the good old days, when Git was not invented, database administrators will use a bash script to backup their MySQL databases periodically. This method is not true anymore because GitHub, GitLab and Bitbucket provide free plans and…
Read More
Automated Checks: Send Email when Product in Stock

Automated Checks: Send Email when Product in Stock

Posted by By Mike Goh June 29, 2020Posted inDaily Rants and Excitement BlogTags: Command Line, EmailNo Comments
Introduction Have you ever wanted to buy that pretty dress or gadget really bad but disappointed at it being currently out of stock? Then, you check the listing once every few hours in hope to snap it up when it…
Read More
bash script sync production demo

Bash Script to Sync WordPress Docker Production to Demo

Posted by By Mike Goh June 6, 2020Posted inDevelopers Technical TutorialsTags: Command Line, Docker, WordPressNo Comments
Introduction After we had upgraded a website from development to production status, we will need to put up a maintenance notice if we are required to make further changes. It is unpleasant to let visitors see the down-time or on-going…
Read More
How to Resolve iptables: No chain/target/match by that name

How to Resolve iptables: No chain/target/match by that name

Posted by By Mike Goh April 24, 2020Posted inDevelopers Technical TutorialsTags: Command Line, SecurityNo Comments
Introduction If you encounter such error, it means that the CONFIG_NETFILTER module was not complied in your kernel. All VPS (virtual private server) that I owned from DigitalOcean, AWS, Google Cloud and other lesser-known host providers have it by default…
Read More
How to Backup Databases and Files, Rotate and Rsync to Remote

How to Backup Databases and Files, Rotate and Rsync to Remote

Posted by By Mike Goh April 19, 2020Posted inDevelopers Technical TutorialsTags: Backup, Command LineNo Comments
We should always schedule backups for our website files and databases but should never keep the backups only in the server which your websites and databases reside in. If you are on solid cloud providers like Amazon Web Services (AWS)…
Read More
How to Make ‘docker-compose’ Short and Quick Using Aliases

How to Make ‘docker-compose’ Short and Quick Using Aliases

Posted by By Mike Goh April 12, 2020Posted inDevelopers Technical TutorialsTags: Command Line, DockerNo Comments
Have you at times need to type docker-compose repeatedly to bring containers up and down or to check processes while in development? Here is a neat trick to shorten docker-compose to just 2 letters dc. This is a one-time change…
Read More
Trending
  • How to Resolve iptables: No chain/target/match by that name
  • Asus Router Setup – Wifi Settings
  • Create Helpdesk Ticketing System with Google Apps Script
  • Host Multiple Websites with jwilder nginx-proxy and letsencrypt-companion
Tags
Backup Cloud Coding Command Line DevOps Docker Domain DNS Email Family Fun Network NGINX Security Servers Software Web WordPress
  • About
  • Contact
  • Terms & Privacy
Copyright 2023 © Techsch.com. All rights reserved. Sinatra theme. Flaticon icons.
Scroll to Top