Script C code www.2cto.com # include # include # include # include # include # include int main (int argc, char * argv []) {int fd, I = 1, a, c, t; int tsize; char * buf; buf = malloc (sizeof (char) * 256); if (argv [2] = NULL) c = 1; else c =
Linux was first exposed to linux after being changed to the root user's command operation. The most common problem in ubuntu is the issue of user permissions, which often results in insufficient permissions. Www.2cto.com if the root user is not
The software configuration of the Linux operating system is described here. The configuration object is not the kernel, but the software. The network configuration is basically completed in the installation system. You can also select liloconf from
The Bash Shell in Linux does not support regular expressions. The regular expressions are Shell commands and tools, such as grep, sed, and awk. However, bash Shell can use some metacharacters in regular expressions to implement The Globbing function,
Linux nohup command details nohup command and its output file nohup command: If you are running a process and you think the process will not end when you exit the account, you can use the nohup command. This command can continue running the
In linux, how to make the PASH variable configuration take effect permanently. In general, the setting of variables in linux and the setting of custom variables and command aliases will expire after you log out of bash, to take effect permanently,
Install maven 1 apt-cache search maven in Ubuntu to obtain all available maven packages www.2cto.com 2 sudo apt-get install maven start to install and download East 3 mvn about m -- version Apache Maven 3.0.4 Maven home: /usr/share/maven Java
Fedora tries to configure the java environment in the newly installed fedora by using the two required plug-ins before yum. However, it finds that the installation speed is very slow when using yum. After checking the information, it finds that two
Quick introduction to linux compression and decompression aims to quickly learn about linux document compression and decompression. For details about a command, refer to man or google. Www.2cto.com GUN-zip (gz) compression: gzip testfile unzip:
There are two ways to increase swap space after linux swap space is insufficient: strictly speaking, there is only one way to add swap after the system is installed, which is the second method in this article, the first method should be to set the
Debian 6.0.6 local non-free source creation process description: My work environment cannot be on the Internet, so we need to build a local debian source through DVD burning. Debian can be engraved with main and contrib, and non-free does not have
For non-root users in Linux, how does one use port 80 to start the program? By default, only root users can use ports lower than port 1024 in Linux. Our tomcat, apache, for nginx and other programs, if you want to use common users to occupy port 80,
The first thing to do after installing Linux is to set an IP address for Internet access. This article describes how. Set static IP address.(1). Set the command line (this method is only temporary and will not expire after the system is restarted)[1]
Restart nginx by executing/usr/bin/nginxd restart.The script content is as follows:#! /Usr/local/php/bin/phpIf ($ argv [1] = "start "){Echo system ("ulimit-shn51200 ");Echo system ("/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx. conf
Use the gnome desktop environment as an example to describe and configure it!Modify the configuration file/root/. vnc/xstartup. Remember to copy the backup before modification! The content in the red box is to be modified,# Unset SESSION_MANAGER #
18. Number of directory connectionsWhen "file connection" is performed with a hard connection, 1 is added in the 2nd Field displayed in ls-l. The number of new directories is 2, the number of connections in the upper directory increases by 1. 19.
As nginx has unmatched performance in apache when doing static Web pages, the following describes the role of nginx from the shortest to the deep:1. Compile and install nginx1. initialize environment variables:# Yum groupinstall "Development
Yum uses a Local CD as a software repository to automatically detect dependencies and install dependent packages.1. Mount the optical drive# Mount/dev/cdrom/mnt2. Back up the original software warehouse configuration file# Cp-a/etc/yum. repos.
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