Cat command:Cat filename View the contents of a filecat[options [File] ...-B numbers non-blank lines, line numbers starting with 1-N and NL commands are similar, numbered output displays for all rows (including blank lines)-e Append $ sign at the
Facl:filesystem Acess Control ListLinux (and other POSIX-compatible operating systems such as UNIX) has a permission-control method called access control lists (ACLs), which is a universal paradigm outside of the allocation of permissions. For
Partition operations with Fdisk on LinuxCreate a new disk in VirtualBox, log in to the system, perform fdisk-l (requires root access) to view the disk information.[Email protected]:~# fdisk -ldisk /dev/sda: 8 gib, 8589934592 bytes,
SECURECRT connecting a local Linux virtual machineTo connect to a virtual machine via SSH, you first need to install the openssh-client in the virtual machine, as if the command was not installed[Email protected]:~$ sudo apt-get install
Linux inside can form a dialog box in the command line, with the cursor up and down, left and right selection, a screen one screen question and answer selection, fill in.Whiptail is Linux does not need to install separately, the default is some,
Machine 1: There is an intranet IP, an external network IPIntranet: eth0:192.168.10.10External network: eth1:10.10.10.10Machine 2: The same network segment as the Machine 1 intranet, no external network IPIntranet: eth0:192.168.10.11Machine 1 To do
Function prototypesFILE *popen(constcharconstchar *type);int pclose(FILE *stream);function DescriptionThe Popen () function creates a child process by creating a pipe, calling fork (), and executes a shell to run the command to open a process. This
--"Programmer's self-cultivation" reading notesCompilation processThe process of compiling the source code into executable files using GCC under Linux can be decomposed into 4 steps, namely preprocessing (prepressing), compiling (compilation),
One: Platform bus1.1 OverviewA realistic Linux device driver usually needs to be hooked up on a bus, which is not a problem for devices that are attached to PCI,USB,IIC,SPI, but in embedded systems,The Independent peripheral controller integrated in
Smartmontools is an open source disk control, monitoring tool that can run on Linux,unix,bsd,solaris,mac os,os/2,cygwin and Windows, and it can also run from the boot CD or boot floppy, supporting ata/ Atapi/sata-3 (to-8) bits of hard disk and SCSI
AminLinuxThe study notesSwapPartitioningFirst, the role:Swap partitions are swap partitions that swap with swap When the system is out of physical memory and have a significant impact on the performance of the Web Server by adjusting the swap
15.3 Network information so far, clients and server programs have been the bar addresses and port numbers compiled into their own internals.for a more general purpose server and client, you can use network information functions to determine which
There are two ways of doing this:1. Curl - x: Example: Curl - x12.99.109.52:8080 http://developer.baidu.com/map/Represents the access to the extranet address through the 8080 port of the proxy 12.99.109.52 http://developer.baidu.com/map/2, wget - E "
In the work, the main process created a child process, and the child process has created the grandson process, but the child process was inexplicably killed, the result of the main process started a child process, the child process and try to create
The bifurcation function in computer programming. Return value: If the call is successful, two values are returned, the child process returns 0, and the parent process returns the child process token; otherwise, an error returns-1. The fork function
Thread synchronization-Mutex (mutex)Thread SynchronizationMultiple threads may conflict while accessing shared data, so thread synchronization needs to be implemented.example of a thread conflict#include #include #include #define LOOP
Adding a monitoring method to disk IOFirst, under Linux1. Download snmpdiskio-0.9.6Put the Snmpdiskio in the/usr/local/bin/snmpdiskiochmod +x/usr/local/bin/snmpdiskio2, modify the snmpd.confaccess notconfiggroup "" any noauth exact
Disable selinux and selinux
1. View The SELinux status:Getenforce
Enforcing)
Disable)
1. Disable SELinux (it will still take effect after restart)
Modify vi/etc/sysconfig/selinux
[Root @ developer ~] # Vi/etc/selinux/config
# This file
Enable mysql remote connection in CentOS, remotely manage databases, and centosmysql
When the server does not run php or install phpmyadmin, it is necessary to remotely manage mysql. Because it is set under CentOS, the title is added with CentOS.
Apache Server Installation and troubleshooting solutions
After several days of installation, the entire process of installing the source code of the Apache server is roughly clear. Record it here. You are welcome to discuss it together. Thank
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