1. nginx1: Stop and calmly close nginxsudo kill-QUIT Nginx master process id: Quickly stop sudo kill-TERM nginx master process id force stop sudo pkill-9 nginx 2, start sudo/usr/sbin/nginx-c/etc/nginx. conf 3. Check and restart sudo/usr/sbin/nginx-t-
Project Environment: the customer deploys the Application Service (Java implementation) on a windows 2008 server, and deploys the JBIZ intermediate Transaction Service Platform (C implementation) on Linux ).Problem: failed to copy the file in
PATH = "full PATH" function IsFile () {FULLPATH = "$1" # traverse the directory for fName in $ (/bin/ls $ FULLPATH) do fileType = '/usr/bin/file "$ PATH" "$ fName" |/bin/awk' {FS = ": "} {printf $2}'' # The folder type is directory if ["directory" =
Use $0 to split the current string. For example, cat num.2012032911 | awk '{print $2}' | awk '{split ($0, B ,". "); print B [2]} '| cut-c 3-get the second column, for example, the second column is com. sb3456.you, then obtain sb3456 from the current
Linux can access windows Shared Files Through Samba. If the smb service has been started, enter smb: // 172.30.7.48/in the browser to list the shared folders, click a folder. If you need a password, you will be prompted to enter the password. The
Macbuntu is a Mac topic package for Ubuntu. Through the install. sh script provided by Macbuntu, Ubuntu can use a command to create a beautiful Apple Mac style, and Macbuntu provides various style adjustments.When the installation script is run,
Make the modified environment variables take effect: source View environment variables: env or set persistent environment variables mainly exist in these files: /etc/profile/etc/environment ~ /. Bash_profile ~ /. The bashrc loading priority is: 1->
Attached to the virtual machine to load shared files sudo mount-t vboxsf down/mnt/share, where the virtual machine uses the oracle virtualbox. Therefore, the file system is vboxsf, and the virtual machine installation enhancement function down is
Install the rz command: yum install lrzsz install vim: linux yum vim Delete: rm-rf directory name rm-f file copy:/bin/cp jdk-6u31-linux-x64.bin/home copy the file to the home directory. Www.2cto.com vi: INSERT, and exit from ESC.: Wq save :! Wq is
1. regular Expression of awk metacharacters \ code sequences ^ start matching at the beginning of the string $ start matching at the end of the string. match any single string match any character in [ABC] and any character in [] Match [A-Ca-c] match
The cat command outputs the file content to the console or another file. You can view the command parameters without paging cat -- help. Cat fileName1 fileName2 outputs content in fileName1 and fileName2 files to the console. Of course, you can also
1. LVM is short for Logical Volume Manager (LVM). It is a mechanism for managing disk partitions in Linux, LVM is a logical layer built on hard disks and partitions to improve the flexibility of disk partition management. The LVM system
Ubuntu 11.10 puts the "minimize, maximize, and close" button on the right. To learn about Hadoop, We have installed Ubuntu in the Windows system, at the beginning, I was a little unaccustomed to the Ubuntu system. The first one was to minimize,
View the number of httpd processes (that is, the number of concurrent requests that Apache can process in prefork mode): Linux Command: ps-ef | grep httpd | wc-l return result example: 1388 indicates that Apache can process 1388 concurrent requests.
During the performance test of generating scripts for large data volumes and importing policies, if you need to construct a table with large data volumes, note the following: how to generate an unl file (this file is suffixed. unl data file, in the
Linux shell programming ---- Judge 1 test in shell to Judge 1 test-f $ file name to determine whether the file exists test-f $ file name. Example: Use the test-f command to find the input.txt file in the/homedrop folder, if exist is output,
Cocould not updateI CEauthority file solves the problem that when I started my computer today, my friends and I were shocked: cocould not update ICEauthority file/home/usr/ICEauthority this reminds me that when I programmed the file I/O yesterday, I
Four Common awk statistical commands 1. sum cat data | awk '{Sum + = $1} END {print "sum = ", sum} '2. Average cat data | awk '{sum + = $1} END {print "Average = ", sum/NR} '3. Calculate the maximum cat data | awk' BEGIN {max = 0} {if ($1> max) max =
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