It is said that the TR command is a fine gadget at the home of the Linux line, and can be used to write many graceful single-line commands. Use: Tr-c-d-s ["String1_to_translate_from"] ["string2_to_translate_to"] parameter:-c #使用string1的补集, request
View that process is taking up xxx port
lsof-i:xxx
See where the process number is xxx
ps-ef|grep xxx
=========================
General article:
First, look at the process with PS by using the following methods:
$ ps-ef
... smx 1822 1 0 11:3
1, first need to install the Quota tool quota
Apt-get Install quota
2. Edit/etc/fstab
Vi/etc/fstab
Add a row
/dev/hard Disk name Directory name (such as/home/) ext3 default, Usrquota,grpquota 1 1
: Wq Save exit
3, restart
Reboot
4. Execute
Usage: ${str%word} #最大限度的获取word左边的子串 ${str%%word} # Minimum gets the substring ${str#word} to the left of Word #最大限度的获取word右边的子串 ${str# #word} #最小限度的获取word右边的子串 ${#str} #获取字符串长度
Example:
file= "Abc.def.ghi"
#最大限度获取. * substring on the left
>
VS2010 to debug Linux program method based on arm
To build such a debugging environment, is inadvertently mentioned visulgdb this plug-in, and then search to its official website, found that there is a raspberry based on the document. So, just want
Derby is a transactional, relational database written in pure Java, taking up only a small amount of disk space. Derby originated in Cloudscape, which was a product that IBM acquired from Informix. In 2004, IBM decided to cloudscape open the source
The core of the Linux security system is the user account, and Linux has strict control over each account's permissions. Each user has a UID (ID is unique).
The following is the first to learn about the user account configuration
Cool: 6 Interesting linux commandsTransfer from http://www.cricode.com/3388.html 1 PV command
Sometimes we see some subtitles on a movie screen that show up at a uniform speed, like someone knocking on the keyboard and showing the same side. The PV
I installed the omnet++3.3 version, first you can go to OMNETPP's official website http://www.omnetpp.org/Download the latest version. Take 3.3 As an example: the download is omnetpp-3.3-src.tgz
1) Decompression: Tar zxvf omnetpp-3.3-src.tgz
2
SVN data Migration under Linux
First, the original SVN server
1, backup the original SVN server version of the repository directory under the configuration files, as follows:
1, Authz
2, passwd
3, svnserve.conf
2. Export the version library to a
Linux Logical Volume management--Logical Volume Management
A Linux partition Management Linux can be divided into four primary partitions, or four main + extended partitions, but each extended partition can be divided into 12 logical partitions
Linux systems have high efficiency and operational stability when they are run as Web servers. Windows systems can restrict access by external computers to server ports through the system firewall, and Linux is iptables to allow or restrict port
I. Installation of Nginx
1, download a package on the official website of nginx, download the address is: http://nginx.org/en/download.html
2, WinSCP (FTP Upload tool). exe FTP upload tool upload to CentOS
3, I first built a directory, to use the
The sudo permissions under Linux can be configured by/etc/sudoers this file,However, this file is read-only and cannot be modified by ordinary users.There is a visudo order, specifically to change the/etc/sudoers.
Here is a configuration experiment,
Recently used nohup created a background process, the default log output to the Nohup.out file, the program ran no longer tube, after about a week, found that the hard disk space is not enough, so find the reason, found that the Nohup.out file has
Linux 11th DayTime: 20180728DirectoryUser and Group Management commandsFile Rights Management CommandsText Processing ToolsUser and Group ManagementThat is, adding users, deleting users, managing groups, etc./etc/passwd/etc/shadowGetent output
1. Define the area2. Create a regional database fileNote Here the space, must have a spaceA new macro keyword appears here ORIGIN This is used for the following command completion, such as the 2 after that there is no write full. And this column of
1. Widonws download font files to LinuxWINDOWS has more fonts and its font files are located in C:\WINDOWS\Fonts. Copy the appropriate font from it to the folder under/usr/share/font/of the Linux system. Take the Arial font as an example:# mkdir
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