TCP and UDP communication flow
The basic steps for TCP communication are as follows:
Server: Socket---BIND---listen---while (1) {---accept---recv---send---close---}------close
Client:
WW.H.O.WhoAmILast: Displays the/var/log/wtmp file showing the user login history and the system restart history-N: Displays information about the last n timeslastb:/var/log/btmp file, displaying user error login attempt history-N:Lastlog: Displays
background:The source code for the Open Source Library project is often downloaded on GitHub due to project needs. So recently decided to take the time to learn how to install Linux software, the installation of Git tools as an example to
Recently the company bought 360wifi as a wireless network card use, have to say 360wifi/mifiwi really is very cheap, Windows version 360 official driver directly support the 360wifi set as a network card mode use, but the question is "What do I do
#ifconfig命令: used to view and configure network devices Displays information about the network interface for the current activation state: [[Email protected]_168_102_centos ~]# ifconfigeth0 Link encap:ethernet hwadd R 00:16:3e:e2:7b:d2 inet addr:
First, make sure that the direct IP of the two machines can ping each other.Then use the SCP command to copy files from the first host to the second hostSCP src [Email protected]:/home/chiwei/mydisk/buffer_scp_fileSsh:connect to host 192.168.8.144
01Modify Host NameVi/etc/sysconfig/network, modify the hostname line as the hostname= hostname, after the restart can also take effect. 02Ret Hat Linux boot to text interface (does not start Xwindow)Change the/etc/inittab in Id:5:initdefault: 5 in a
W (1) User Commands W (1)NAMEW-show who was logged on and what they was doing.Synopsisw [options] user [...]DESCRIPTIONW Displays information about the users currently on the machine, and their processes. The header shows, in this order, the current
use OBJDUMP+VIM+XXD to disassemble and modify instructions under Linux2012-08-27 23:23:46| Category: Linux-related | Report | Font size Subscription It took me one weeks to get the assembly into the door (well, I don't know anything about it)
Linux-basic concepts of file systems and linux-basic concepts of Files
In linux, all data is stored in a file and stored in a directory with a tree structure.
(1) file type
1. Common files
Including text files, source code files, and executable
Processes communicate through pipelines 1. Process pipelines 1.
In Linux shell commands, you can use the pipeline operator '|' to connect processes. Here, we use pipe to achieve this effect in the program.
Pipe FunctionThe prototype is as follows:
#
Install Wine 1.7 on a RedHat or Debian-Based System
Wine, the most popular and powerful software in Linux, can smoothly run Windows programs and games on the Linux platform.
This article teaches you how to install the latest Wine 1.7 on Red Hat and
Install the Atom text editor on Ubuntu/Linux Mint
Atom is an open-source text editor developed by Github. Although the software is still in Beta stage, we can still use it on your Ubuntu/Linux Mint.
According to the official Atom blog, editors
Run the Nethogs command on the Ubuntu terminal to view the network bandwidth.
Nethogs is a network traffic monitoring tool on a terminal. It displays the bandwidth usage of each process, so that the network usage can be obtained more intuitively.
Adjust the number of TTY terminals started by default in CentOS
CentOS starts 6 TTY by default, with Alt + [F1-F6] keys available in the console switching between different terminals, these are not available to manage remote servers via SSH virtual
Ffmpeg encoding, ffmpeg
1. register all container formats and CODEC: av_register_all ()2. open the file: av_open_input_file ()3. Extract stream information from the file: av_find_stream_info ()4. Search for all the streams in CODEC_TYPE_VIDEO format.
Mud: [solution] ubuntu prompts that ilanni is not in the sudoers file. ilannisudoers
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
Create a new user ilanni in Ubuntu today. When executing the sudo command, the
About Swap partition during Linux Installation
Swap partition, that is, Swap zone. The role of Swap space can be simply described as: when the physical memory of the system is insufficient, a part of the physical memory needs to be released, for
One-click installation package for LAMP in centos 7The LAMP one-click installation package contains a lot of online searches, but it is found that there are fewer LAMP one-click installation packages in CentOS7. The following describes how to use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service