MySQL tutorial: mysql round() function
MySQL ROUND() is a mathematical function that rounds Numbers to a specified number of decimal places....
vim tutorial: vim search
Vim search can help us quickly locate the location of the content when looking for or modifying the content of a file....
vim tutorial: vim save and quit
Vim save and quit, there are two shortcut keys:
* :wq - Force write file and quit.
...
How to remove directories in linux/unix
To remove/delete directories (folders), we can use the rm command and the rmdir command....
Examples of brace expansion in linux/unix
Bracket expansion in linux/unix can help us generate multiple strings in batches, which are mainly used in the command line or shell script....
How to delete files in linux/unix
To delete (or remove) files with the command line is the most commonly used function in linux/unix, use the rm command or the unlink...
40 practical examples of Linux Find command
This article will share with you 40 practical examples of the most commonly used find command....
java tutorial: three ways to generate random numbers in Java
Java random number have three ways: java.lang.Math.Random, java.util.Random, java.util.concurrent.ThreadLocalRandom...
MySQL tutorial: mysql group by count percentage
Mysql group by count percentage, you can count the proportion of certain conditions in the total amount of data....
How to check the Linux version
To check the Linux version, you can use the uname and lsb_release commands. You can also check /etc/lsb-release and /proc/version....
java tutorial: java 8 lambda expression example
Lambda expressions are a simplification of anonymous inner classes, a functional programming idea that makes code look cleaner....
MySQL tutorial: mysql concat() function
The MySQL CONCAT function accepts one or more string parameters and concatenates them into a string....
How to move files or directories in linux/unix
To move files or directories, you can use the mv command. It supports moving files or directories to another directory, and also supports regular matching....
How to rename directory and file in linux/unix
To rename directories and files, we can use the linux mv command. You can also use the awk command to rename rule directories or files...
java tutorial: install Java JDK and Maven on Mac
Install Java JDK and Maven on mac os: 1) Download and install files from the official website; 2) Install using homebrew package manager....