Resize
function Description: Set the size of the terminal window.syntax:resize [-cu][-s Supplemental Note: Execute resize instruction to set the window size of the virtual terminal.Parameters-C Even if the user environment is not C shell, also use
The data is read only through/proc/net/dev. Reproduced
#include#include#include
void SkipLine (FILE *f){int ch;do {ch = getc (f);while (ch!= ' n ' && ch!= EOF);}
int main (int argc, char *argv[]){FILE *PND;Char Buffer[bufsiz];Char *interface;struct
1, with git--version command to check whether it has been installed
2, in the CentOS5 version, because there is no git in the Yum Source, a series of dependent packages need to be pre-installed. There is already a version of Git in the CentOS6 yum
Generally if you need to install Linux is to use CD-ROM installation, the online download of the ISO file burned to the CD, and then set the BIOS with CD-ROM boot;Can we use USB disk for Linux installation? The answer is yes, we can use UltraISO to
The echo command of Linux, which is very commonly used in shell programming, is often used when printing variable value under a terminal, so it is necessary to understand the use of the following Echo
The function of the echo command is to display
I. Overview: Task scheduling: A specific command or program that the system executes at a certain time
Task Scheduling Category:
1. System tasks: Some important periodic work in the system, such as: System backup, Anti-Virus, etc.
2. User work tasks:
1. View Log common commands tail:-n is the display line number; the equivalent of the NL command; tail-100f test.log Real-time monitoring of 100-line logs
Tail-n test.log Query Log The last 10 lines of the tail;
Tail-n +10 test.log to query all logs
Bought a book half a month ago, it's natural to install a virtual machine, under the latest VM 8来 installation, feel the interface dazzle some, decisively installed on Redhat Linux Server version, one did not have the opportunity to continue to
This article describes the file descriptor,
1, first say what is the file descriptor, it has what effect.
A file descriptor is a simple integer that identifies each file and socket that is opened by the process.
Input and output functions based on
The function of the crontab command is to schedule the execution of some commands at certain intervals. In the/etc directory there is a crontab file, where there are some scheduling programs running on the system. Each user can establish their own
Install
1. Role
The role of the install command is to install or upgrade software or to back up data, and it has access to all users.
2. Format
(1) Install [option] ... Source destination
(2) Install [option] ... Source... Directory
(3) install-d
Some statistical data on the server:
1) Statistics 80 port connection number
Netstat-nat|grep-i "|wc-l"
2) Statistics HTTPD Protocol connection number
Ps-ef|grep httpd|wc-l
3), the statistics are connected, the status is
First, directory structure
The overall directory structure of Linux is to follow FHS (filesystem hierachy Standard);
/bin: The instructions that are used to store the boot and the instructions that can be used in the single user maintenance mode;/
A. Start, shutdown, login, log out related commands
Login
Log Out
Log Out
Stop System
Stop System
reboot
Power off
write the contents of memory to disk
Install Lilo startup management Program
Install Lilo startup management Program
two.
I. Installation of minicom
(1) Open the terminal, enter:
sudo apt-get install minicom
(2) then configure, enter
sudo minicom-s
(3) Enter serial port setup, need to modify two places:
1>a/dev/tty8 changed to/DEV/TTYS0.
Note: If the notebook does not
1, the following is my server/etc/sysconfig/iptables normal configuration, for each line to explain *filter
: Input ACCEPT [0:0] #该规则表示INPUT表默认策略是ACCEPT, input: is to access the local address of the data, plainly is to set other people can access my
The network cannot be accessed after Linux is installed.After installing the new Linux system on the virtual machine, ping www.baidu.com and find that it cannot be ping.Type ifconfig query configuration:
Eno16777728:flags=416
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