Linux Learning LogThe basic user interface mode is the shell, and the terminal is usually used to enter commands with this terminal.F11 full screen, ctrl+shift+ "+" become larger, ctrl+-smaller.Command formatcommand [parameters] [Action Object]CMD
Ed EditEd Aa.cAWelcom to Beijing learn LinuxYou can write content to aa.c.Gedit aa.c text Form open AA.CNano AA.C Linux comes with a nano editor.Cat Prints the contents of a file in character mode to a screen-readable file and then displays it to
When you see the output of Linux under the column crooked, is not looking very uncomfortable? The column command makes it easy to solve this problem.Like what:We generally only use the above one usage.The other uses of column are as follows:
CatTail-fLog file description/var/log/messagesystem startup information and error log is one of the most commonly used logs in red Hat Linux /var/log/secureSecurity-related log information /var/log/maillog log information related to messages/var/log/
Last 1. Rolethe last command is used to show the recent user or terminal logon situation, and its use rights are all users. Using the last command to view the log of the program, the administrator can tell who has or attempted to connect to the
1. Configure VIMOpen Vim, enter the following command in normal mode to find the location of vim: Echo $VIM/usr/share/vimOpen the file VIMRC in the returned directory to configure[email protected]:~#VIM/USR/SHARE/VIM/VIMRCThe specific configuration
What are some of the more important or common processes in Linux?How can I view a list of processes and use resources?How do I kill a process? Process Management class Commands:Pstree, PS, top, Vmstat, Htop, Pmap PS Command Process Status (report a
There are 5 states of processes on Linux:1. Running (running or waiting in the running queue)2. Interrupt (dormant, blocked, waiting for a condition to form or receive a signal)3. Non-interruptible (receive signal does not wake up and not run,
See include/linux/list.h for all list functionsI copied some functions from include/linux/list.h to my own list.c, and practiced a bit.No other purpose, is to be proficient. After all, a lot of list functions have been tried in the Linux kernel code.
Soon after sitting down, the leader spoke, and in such a file found the beginning to: =?, the data wrapped in angle brackets is stored in the database. The file is as follows: to : =? UTF-8? b?5p2o5lqr5big?= [email protected]>Message-id: subject: =?
Halt1. Rolethe function of the halt command is to shut down the system, and its usage rights are super users. 2. FormatHalt [-N] [-W] [-d] [-f] [-i] [-p]3. Main parameter Description-N: Prevents the sync system from being called, it is used after
NF and $nf Difference quiz:What does $NF mean in 1.awk?#pwd/usr/local/etc~# echo $PWD | awk-f/' {print $NF} 'etcNF: The number of fields to browse the record$NF representative: Last Field (column)2.awk What is the difference between NF and $nf under
Last Login:mon 09:45:27 from 10.10.15.6[[email protected] ~]# vi/etc/rc.local #!/bin/sh## This script would b E executed *after* all the other init scripts.# your can put your own initialization stuff in this if you don ' t# want to do The full Sys
1) Modify the Ifcfg-eth0 configuration filePath:/etc/sysconfig/network-scriptS/ifcfg-eth0Device=eth0Onboot=yes//Set to Yes hereBootproto=static//here for staticipaddr=192.168.0.3//IP within the LANnetmask=255.255.255.0gateway=192.168.0.12) make the
Shell test, shelltest
Test command usage. Function: Checks files and comparison values.
1) judgment Expression
If test (expression true)
If test! The expression is false.
Test expression 1-a expression 2 both are true
Test expression 1-o expression 2
Linux select System Call _ 2, select System Call _ 2
In the previous blog, we have three clients in our program, so we have created three pipelines in advance. Each client uses one pipeline to send messages to the server. When the select system is
Install Android 4.4 KitKat on Linux
The Android (x86) project is dedicated to porting the Android system to the X86 processor, so that users can easily install Android on any computer. They use the android source code and add patches to enable
Standard Pipe (popen), standard pipe popen
NAME popen, pclose - pipe stream to or from a processSYNOPSIS #include FILE *popen(const char *command, const char *type); int pclose(FILE *stream);DESCRIPTION The popen()
Nginx implements load balancing in this way
Generally, multi-server load splitting is used to solve server load problems. Common solutions include:
The website portal is connected to the server load through sub-stations (such as the sky software
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