This article is mainly about linux text common commands, the main contents are as follows:
The split command divides the file into small files according to the specified number of rows / size, and grep-c/awk/wc-l file* counts the number of rows per file
join/paste merges multiple files by column
Tee > > > stream redirection to file, ...
Posted on Tue, 25 Dec 2018 15:54:06 -0500 by aidude111
Introduction to Simec Unit Testing Process
A basic C library, simplec 2.0.0, has been released. For a detailed documentation, please refer to README.md.
It's useless to say more than a b r n in gdb. This article briefly introduces how to add unit testing function in simplec.
The simplec winds Debug startup process is main - > simplec_main ...
Posted on Tue, 25 Dec 2018 13:54:06 -0500 by dfwcomputer
Using Let's encrypt free SSL on Amazon Linux
If you use ELB for load balancing, you can easily use SSL on AWS. If you don't use ELB, you need to configure SSL yourself.Let's encrypt provides a three-month free SSL certificate that requires renew after expiration. Officials also provide certbot, a tool for automatic renew.
certbot is a t ...
Posted on Sun, 23 Dec 2018 19:00:05 -0500 by nmohamm
IPC namespace is used for isolation System V IPC
objects and POSIX message
queues . System V IPC objects include Message queues, Semaphore sets and Shared memory segments.
For several other IPC s, the following is my understanding, may not be right, just for reference, welcome to correct:
Posted on Sun, 23 Dec 2018 04:15:06 -0500 by phrygius
Recently, we need to do a new function, which requires that the browser can see the contents of the log files on the server, and display them in real time, which is equivalent to the function of tail-f under Linux in the browser.
The initial idea was to use Ajax to request data from the back end on a regular basis and display it, but ...
Posted on Sat, 22 Dec 2018 23:06:05 -0500 by akelavlk
A good memory is worse than a bad pen!
Microsoft has always provided. NET support only for its own platforms, which means that support for this "theoretically" cross-platform framework on Linux and macOS can only be provided by third-party projects (such as Mono. NET). Until Microsoft launched a completely open source. ...
Posted on Sat, 22 Dec 2018 12:54:06 -0500 by FrostedFlakes
The experimental environment:
Operating system: Ubuntu Gnome 16.04.2
Hardware - tiny4412
android Version - 5.0.2
linux kernel version - 3.0.86
androidst stdio version - 3.1
Writing Driver Test Program
Writing jni layer code
1. Writing driver
Drivers for android are no diffe ...
Posted on Sat, 22 Dec 2018 02:57:06 -0500 by KSquared
GPIO is controlled by sysfs mode. First, the directory of / sys/class/gpio is accessed, and the GPIO number is written to the export file, so that the GPIO operation interface is exposed from the kernel space to the user space. The GPIO operation interface includes direction and value, and direction controls the direction of GPIO, while value ...
Posted on Fri, 21 Dec 2018 02:27:05 -0500 by KarlBeK0d3r
Bash shells are ubiquitous in many Linux distributions. As the preferred shell for many distributions, learning bash shell is particularly important for us. In the process of learning bash shell, the numbers of bash, sh, source and English input often appear alternately. They all seem to have the same function, but they ...
Posted on Thu, 20 Dec 2018 19:54:04 -0500 by Will Poulson
I dreamed of going to the end of the world with a sword and seeing the prosperity of the world. Unexpectedly, when entering JNI, the goddess was a passer-by. Generating so files is the ultimate dream of every JNI. In the past few days, there were few people in the company. What I threw in was the cpp implementation file. Ha-ha, thinkin ...
Posted on Thu, 20 Dec 2018 14:09:05 -0500 by enormousrodent