The first thing you need to know is what file permissions can do for you. What happens when you set permissions for a group? Let's start with it, and it's really much simpler. So what is a privilege? What is a grouping?
You can set the 3 kinds of
When you perform the find./-mtime +30-type f-name *.php on the server today, the following error is reported:
Find:paths must precede expression
Usage:find [-h] [-l] [p] [path ...] [Expression]And then I looked it up on the Internet, the results
First, the opening and closing of the iptables
1. Reboot system effective
[Sun@webserver2 ~]$ sudo chkconfig iptables on[Sun@webserver2 ~]$ sudo chkconfig iptables off
2. Immediate effect, reboot system failure
[Sun@webserver2 ~]$ sudo service
Following the last scheduled backup of the site data, this time to say Crontab the use of timed execution tools.
Installation of 1.Crontab
Installation commands under Ubuntu:
Apt-get Install cron
Reboot crontab:
/etc/init.d/cron restart
Sample configuration file
Here to show the example of the configuration file, only need to modify the hostname can be.
server {Listen 80;CharSet Utf-8;server_name localhost;Root/www/web/default;Location/{AutoIndex on;Autoindex_exact_size
What is swap memory (swap)?
Virtual memory is a technology of computer system memory management. It makes the application think that it has contiguous available memory (a contiguous complete address space), which is usually separated into multiple
Adding new users to Linux, creating new users, creating new accounts
Add User Group
sudo groupadd groupnameAdd user
sudo useradd username-m-s/sbin/nologin-d/home/username-g groupname-s/sbin/nologin settings can not log-s/bin/false (old method)
In the process of using VSFTPD, there has always been a problem is that the FTP user logon verification is always very slow, the longest time may
There will be more than a minute.
Changed the configuration of various vsftp virtual users, using
The SCP is the command for remote file copies under the Linux system based on SSH login.
There are two kinds, one is from local to remote, the other is from remote to local.
1. From local to remote
File copy:
The code is as follows
Use script to work with text files.
Syntax: sed [-hnv][-e][-f][text file]
Additional Note: SED can process and edit text files according to script instructions.
Parameters-e or--expression= the input text file with the script specified in the
Postfix is the core software for sending and receiving mail on the World Wide Web, commonly known as the MTA (mail Transfer agent or message Transfer agent). We use the MUA (mail User Agent), such as Outlook and Thunderbird, to send/receive messages,
Realize that Linux's rights management actually does not recognize your username and password but recognize your UID and GID plainly, is your user ID and group ID
The code is as
1) Tool DescriptionDstat is a tool for replacing Vmstat,iostat Netstat,nfsstat and Ifstat commands, and is an all-purpose system Information statistic tool. Compared with Sysstat, Dstat has a color interface, which is easy to observe when manually
1. Install a number of dependencies, the official note gives the required dependency.
The code is as follows:sudo apt-get update
sudo apt-get install git git-core pkg-config make autoconf \Libtool g++ tcl unzip Libyajl-dev libyajl1 qt4-qmake
Curl is a set of internet command line tools implemented using libcurl, and has very powerful functions. It supports many protocols, such as FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE, and LDAP. Currently, powerful explanatory languages such
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