When you are dealing with text files in Linux with a command line, it is often very useful to know how many lines are in a file. This article will describe the Bash command on how to show the number of lines in a text file in Linux. Continue reading “How To Show How Many Lines In A File In Linux”
How To Make Comments in MySQL
This article will discuss several ways to make comments in MySQL. These methods will work if you are using the MySQL shell or editing a .sql file which you will then import into MySQL. Continue reading “How To Make Comments in MySQL”
How To Create A New Database In MySQL
Last modified on Monday 24 Jan 2022 at 04:44 pm
This article will describe step-by-step how to create a new database in MySQL in Ubuntu or Debian. This steps will basically be identical in MariaDB since it is a fork of MySQL. Continue reading “How To Create A New Database In MySQL”
How To Find The GCD Of Two Integers In Javascript
The gcd of two integers is the largest integer that divides evenly into both integers with no remainder. This article describes how to write the JavaScript code to calculate the gcd of the two integers. Continue reading “How To Find The GCD Of Two Integers In Javascript”
How To Create A New Username In MySQL
MySQL by default only creates one username, which is root. Creating new usernames in MySQL could make it easier to use MySQL and potentially more secure. This article will describe step-by-step how to create a new username in MySQL in Ubuntu (18.04, 16.04 and 14.04) and the steps will be similar in Debian. Continue reading “How To Create A New Username In MySQL”