How to display full path/absolute path with ls command
linux ls full path, you can use the ls -d option combined with the environment variable $PWD. syntax: ls -d $PWD/*...
awk replace statement and examples
Awk replace statement can help us format the input data conveniently. Use of awk string manipulation functions: gsub() ...
man command tutorial in linux/unix with examples
Man command in Linux/unix is used to display the user manual of any command we can run on the terminal....
help command tutorial in linux/unix with examples
Help command can help you understand any built-in commands in linux/unix. Syntax: help name, name: built-in function name....
MySQL tutorial: use variables to generate row numbers for each row
Mysql row number - we can implement it through variables. mysql> set @id = 0;mysql> select @id := @id + 1 as id ......
MySQL tutorial: column to row use group by and group_concat function
Mysql column to row - use group by the data set, and then associate the column data through the group_concat function....
vim tutorial: vim copy, cut and paste
This article will show you how to use vim to copy-paste and cut-paste in normal mode. ①y stands for copy ②p stands for paste ③d...
java tutorial: Java Generic
Java generics, in a nutshell, generics enable types (classes and interfaces) to be parameters when defining classes, interfaces and methods....
5 ways to get command help in linux/unix
How to get command help while working on Shell ? 1.command -h or --help 2.man command 3.help command 4.info command 5.whatis command ...
java tutorial: 5 ways to create stream in java 8
A java stream is a sequence of objects, which can be arranged, filtered, and transformed through a pipeline to produce the desired result....
java tutorial: Java exception
A java exception is an event that occurs during the execution of a java program that disrupts the normal flow of instructions....
java tutorial: java 8 Lambda built-in functional interfaces
Java 8 functional interface: Function<T, R> : R apply(T t), Supplier<T> : T get() , Predicate<T> : boolean test(T t) , Consumer<T> : void accept(T...
IntelliJ IDEA utility plugin
IntelliJ IDEA is an excellent Java IDE, with the help of excellent IDEA plugins, we can greatly improve efficiency in daily development....
How to install IntelliJ IDEA plugin in Mac
IDEA install plugin: In the preferences window, select the plugin menu on the left, search for the plugin under the marketplace on the right,...
MySQL tutorial: mysql inner, left, right, full join explained
Mysq joins two table query, roughly divided into inner join, full join (outer join), right join, and left join....