use the linux command to find the max value and print
Mostly used for log processing, there are several ways: first way: awk -v, second way: awk+sort+head, Third way: sed+sort+head, fourth way: sort -t+head ......
Some of my designs have been unsatisfactory
I designed a fish tank landscaping. 2019.07.11 2019.05.22 2018.12.28 2018.09.18...
How to use Linux cat, less, more commands
More powerful than cat, providing paging display function, less powerful than more, providing page turning, jump, find and other commands....
linux using SSH and SCP over IPv6
1. SSH remote login server: ssh [username]@[IPv6_Host] -p [port number]; 2. SCP copy file: scp [username]@[IPv6_Host]:[file_path] [target_path]...
mac brew services start nginx not working
The prompt was successful, but the nginx progress did not start. It is a permission problem. View the configuration files, logs, executable files, etc., and...
what is qq
QQ is the abbreviation of Tencent QQ, which is an Internet-based instant messaging (IM) software developed by Tencent. At present, QQ has covered many mainstream...
How to split large files by line or by file size in Linux
When Linux splits large files, we usually use the linux split command to split files by line or by size.
When you split the file,...
Sino-US trade war, China will win!
Today, a spokesperson for the Chinese Ministry of Commerce said: “If the two sides can reach an agreement, all the tariffs imposed by the United...
Baidu CEO Robin Li was splashed with water
On July 3, at the Baidu AI Developer Conference, Baidu Chairman and CEO Robin Li Yanhong appeared in a speech during the speech, and suddenly...
php read files by line: use fopen, fgets and feof / or file_get_contents
How does php read the contents of a file by line? Using the fopen, fgets, and feof functions, you can also use the file_get_contents function...
Linux shell batch move files, delete spaces, rename files
1. Use linux find, move files in batch;
2. Use linux find, delete empty directories in batch;
3. Use shell while loop, batch delete spaces in file...
awk loop example: awk for and while
awk for loop:
awk -F"#" '{for(i=1;i<=NF;i++) { ... }' t.txt; awk for loop array:
awk 'BEGIN{a["km"] = "m";a["kn"] = "n";for(i in a) {...}}'; awk while loop:
awk -F"#"...
mac + vultr vps + ubuntu + openvpn + ipv6 + Tunnelblick
A few simple steps to teach you to configure an IPv6-based VPN using the 64-bit ubuntu 19.04 system, OpenVPN and Tunnelblick client....
mac views installed JDK version and installation directoy
mac JDK version and installation directoy; ➜ /usr/libexec/java_home -V Shows the JDK version and installation directory installed on the current mac ......
view linux file change time, modify time and access time, use linux stat or ls
How does Linux view change time, modify time and access time? linux stat, linux ls.
- atime: access time;
- mtime: modify time;
-...