Simple script writing

Simple script writing 1. exercise: write a script www.2cto.com to determine whether there are users in the current system. the default shell is bash. if so, the number of such users is displayed. otherwise, no such user is displayed; grep & quot;

Command set for analyzing apache logs using grep in linux

Linux grep command set for analyzing apache logs in linux. a good article is worth noting. with these commands, apache log analysis is a major part of the history. Www.2cto.com instance: month. january II... linux grep command set for analyzing

Association between unix processes and opened files

The unix process is associated with the opened file. The UNIX process and the file are associated with www.2cto through the file table. the comv node represents the real file metadata (linux only has the I node, but the function is similar). every

Number of physical CPU, logical CPU, and CPU cores in Linux

Linux distinguishes physical CPU, logical CPU, and CPU cores (I) concept www.2cto.com ① physical CPU the number of physical CPUs in the actual Server slot the number of physical CPUs, the number of non-repeated physical... information & nbsp; | &

Configure DNS experiment with bind

Use bind to configure DNS experiment 1. Experiment environment: RedHatEnterpriseLinuxServerrelease5.6 host name www.2cto. comIP system version hostrole%0119%2.111oel5.6server%02192.168.2.112oel5.6client%031 .. use bind to configure DNS experiment 1.

Differences between static and dynamic libraries, applications-ldconfig and ldd

Differences between the static function library and dynamic function library, application-ldconfig, ldd1, and function library static and dynamic: a. static function library: sub-file name. a is to include the entire program, the program will be

Linux-simulate the dos2unix command

Linux-although I am not an O & M engineer for simulating dos2unix commands, I have encountered some interesting problems due to studying linux and shell scripts, for example, we often Upload text files in the window environment to linux. because of

Apache2.2prefork mode optimization

Apache2.2prefork mode optimization apache2.2 optimization configuration core Key: (1) in prefork mode (not applicable in other modes), apache needs to optimize the main parameters:

Use of SRPM: rpmbuild

SRPM usage: rpmbuild1, different from RPM: whether the file format of www.2cto.com is directly installed or not contains the program type. Can you modify parameters and compile RPMxxx. rpm can be compiled and cannot be SRPMxx... information & nbsp; |

How to delete records of history commands in Linux

In Linux, how does one delete the records of the history Command? 1. modify/etc/profile to change HISTSIZE1000 to 0 or 1www.2cto.com to clear the user home path. bash_history2. clear the current history of history immediately... in Linux, how does

Server Migration Process

The whole process of server migration 1. package tar-zcvf/usr/back/app.tar.gz/www/web/appwww.2cto from server. com2. mobile scp/usr/back/app.tar.gzroot@www. B .cn:/www/web3. unzip cd/www/webtar-zxvfapp.tar.gz4. package... the whole process of server

Linux shutdown command comparison

Linux shutdown command comparison 1. shutdownwww.2cto. comshutdown command safely shut down the system. It is very dangerous for some users to disable linux by directly disconnecting the power supply. Because linux and windows are different, many

How to set environment variables in linux

In linux, if you only need to set the environment variables temporarily, you can directly set the environment variables using the set or export command in shell, if you want this environment variable to be automatically set every time you boot or

USRP2 and Ubuntu configuration

USRP2 and Ubuntu configuration devices: 1. USRP22. configuration process for a notebook with Ubuntu: www.2cto. com1. install gnuradio and uhd2. configure the Ubuntu network on Ubuntu and change the static IP address to 192.168.10.1, Gateway 255...

Commands for copying, deleting, and moving objects

File copy, delete, and move command cp command www.2cto.com this command is used to copy the given file or directory to another file or directory, just like the copy command in DOS, very powerful. Syntax: cp [option] source file or directory target

Install xfce + vnc in centos

To install xfce + vnc in centos, first install the desktop environment. I chose xfce, lightweight desktop, which is small and practical and does not occupy too much memory (xfce is less than kde and kde is less than gnome ). run the following

How to switch to a super user in Ubuntu

To switch to a super user in Ubuntu, you need to use other methods: www.2cto. com1) sudo-I or surootsudo is an enhanced version of su, meaning dosomethingasthesupervisor. No... other methods are required to switch to a super user in Ubuntu: www.2cto.

Common Linux Commands

Some commonly used Linux commands 1. change the password: passwd username www.2cto. com2, download jdk-6u25-linux-i586.bin3, run (cd into a directory after/usr/jdk-6u25-linux-i586.bin decompression operation) shjdk-6u25-linux-i586. B... work

Update the shell script of local code to the server

The first problem with updating the local code to the server's shell script using Ubuntu as the development Machine OS is to put the updated code on the test server before running www.2cto.com on windows, the Winscp is used to update the code there

Nginx summary (7)

zts

Nginx summary (7) nginx summary (6) http://www.2cto.com/os/201303/193337.html Php accesses memcachewww.2cto.com and uses the Memcached server in php in two ways. One is memcache developed by the PHP framework, and the other is libmemc... nginx

Total Pages: 2732 1 .... 2078 2079 2080 2081 2082 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.