#!/bin/bash home_dir= "/home/localadmin/" the "echo" Git folder is "$HOME _dir" Dzy-all "if [!-D $HOME _dir" Dzy-all "]; #如果不是一个文件夹 Then git config--global credential.helper store if [$#-ne 1]; Then echo "Usage:sudo./tomcat_update.sh branchname"
pbcopy Command Cat Command locate command find command grep command tar command sed command shutdown command awk programming records and domain concepts commonly used
This article will not be introduced for commands that are too basic for LS,CD.
1.free
Displays memory usage with the default unit of KB.
Free-m in MB; free-g in GB
Figure 1-1 Free Command screenshot
The second line, used this column is usually relatively high, because Linux think that memory is idle, as well as buffer and
Problem Description:
The Chinese in a Java application that is deployed under Linux becomes a "mouth" word, which is garbled
Problem Analysis:
The following implementation methods are used in the code:
New Java.awt.Font ("XXFarEastFont-Arial",
This case implementation adds ~/mypath/bin to the PATH environment variable.
Ubuntu Exclusive way to add environment variablesEdit the/etc/ld.so.conf file, and if the following statement does not exist, join:
Include/etc/ld.so.conf.d/*.conf
Then
Requirements: Alias a directory with a long path name in the Web service to facilitate user access
First determine that both the Iptables service and the SELinux are closed ...
First determine that both the Iptables service and the SELinux are
CentOS was recently minimized, but "Bash ifconfig command not found" appears when using the Ifconfig command.Then find someone on the internet saying that because the/sbin directory is not placed in the environment variable. Causes the Ifconfig
Background information:
Technical small white, chance coincidence, to the Linux system interest, began to explore the journey ~
I installed Lubuntu when I saw a good few posts, benefit, but found that some of the small white still have difficulty.
Concepts for users and groups
Each user has a userid, the operating system actually uses the user ID, not the user name each user belongs to a primary group, and is restricted by resources accessible to that user each group has a GroupID each
reproduced from: http://www.cnblogs.com/peida/archive/2013/02/27/2934525.html
Many windows are very familiar with the Ipconfig command-line tool, which is used to obtain and modify network interface configuration information. The Linux system has a
First, install OpenCV to Linux, there are the following steps:
1. Download the Linux version of the 2.4.9, address, and extract the Linux directory from the OPENCV website/root/soft/opencv-2.4.9
2. Run the following command to compile:
If you do
user_id and user_id = 2 contents in the Highlight tag file
(1) VI filename
(2) Use/(file from the top down to find)
/user_id (Highlight Mark User_ID)
/user_id = 2 (Highlight mark user_id = 2)
Press the N key individually for the next lookup
(3)
In some cases, you might want to know which directory my program links to.
There are three ways to deal with this easily.
1. LDD command
$ LDD App
2. Static Lookup
$ locate Lib_name
3. Dynamic implementation
$ strace App 2>&1 | grep lib_name
Let
Common Linux error code implications, as shown in the following table:
Name
Value
Describe
Eperm
1
Operation not allowed
Enoent
2
No such file or directory
Esrch
3
No
The Site Directory file permissions settings are critical to the security of the site, the following simple description of the Site Directory file permissions of the basic settings.
We assume that the HTTP server is running the user and user group
Install yum install iptables-services on Linux systems
Then Vi/etc/sysconfig/iptables
# generated by Iptables-save v1.4.7 on Sun Aug 28 12:14:02 2016*filter: INPUT ACCEPT [0:0]: FORWARD ACCEPT [0:0]: OUTPUT ACCEPT [0:0]-N Whitelist-A whitelist-s 8.8.
Zhengdelen original works reproduced please indicate the source of "Linux kernel Analysis" MOOC coursehttp://mooc.study.163.com/course/USTC-1000029000First, configure the environment:First of all, we have the environment configuration completedEnter
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