Hello everyone, I am the king of the armor, a few days to see you miss me? Today, we bring you the fifth chapter of the Advanced Authority.Types of Advanced Permissions: SUID 4 sgid 2 sticky 1 sticky bitNext is the file properties chattrPurpose:
Last chapter, this chapter is the Linux remote login system operation NoteFirst, Linux is generally used as a server, but the server is in the room, it is not often run to the computer room to the operating system, so the use of remote login system,
1.[[email protected] ~]# Mkdir/dataMake directory Create directory[Email protected] ~]# Ls-ld/dataDrwxr-xr-x. 2 root root 6 Jan 23:28/data2.~ on behalf of the home directory/Represents the root directory3.[[email protected]/]# CD/Change Directory
A catCat filename View File contentsCat-n filename View file contents with uplink numberCat-b filename to view the contents of a file, without line numbers in a blank lineTwo moreMore filenamePaging tool that allows you to view the contents of a
Summary of System optimization parameters: Net.ipv4.tcp_syncookies=1indicates that SYN Cookies are turned on. When a SYN wait queue overflow occurs, cookies are enabled to protect against a small number of SYN attacks Net.ipv4.tcp_tw_reuse=1means to
1. Add user with Useradd user name command2. Use the passwd user name command to set the user password3, the user new success, at the same time will affect the following files:The ①/etc/passwd file will increase the user's rowExecute CAT/ETC/PASSWD
Linux has a complex system, there are a lot of commands, development colleagues in the daily development, unlike operations colleagues need to skillfully use a lot of commands.Below is a list of the basic commands I used in my work:Log viewFor
Solution:First need to switch to root identity$SU-(Note there--this is different from Su, when using the command "SU" only switch to root, but not the root environment variables passed, or the current user's environment variables, with the "Su-"
We know that in the $windows$ environment, we use the $fc$ function in the $cmd$ to achieve a pat (placed in a directory):#include int main () { while (true) { system ("Make.exe >make.txt"); System ("Force.exe Force.txt"); System
I. Introduction:The SMB protocol is an application protocol built on the NetBIOS Protocol, a service based on TCP138, 1392 ports, and after NetBIOS, Microsoft uses NetBIOS to implement a network file/Print service system. This system sets up a set
Linux environment variablesI. Use the environ pointer to output Environment Variables
The Code is as follows:
# Include
# Include
# Define MAX_INPUT 20
/* Reference pointer */
Extern char ** environ;
Int main (int argc, char ** argv)
{
Char *
Linux hides chattr, lsattr, and chattrlsattr permissions.
In linux, files and directories have two hidden permissions:
Lsattr [file or directory]
View the hidden permissions of files or files and directories under the directory. If you want to
Linux uses the AB Program and performs stress tests on webpages, while AB stress tests
AB is actually a small program,Used to perform concurrent tests on webpages,After you install apache on linux,You can use it.
The following content,Let's assume
CentOS6 describes how to create and configure local yum sources and centos6yum sources1. Create a directory and mount the CD
Mkdir/media/CentOSmount-t iso9660/dev/cdrom/media/CentOS/
2. Configure local source
Run the following code:
Cat>/etc/yum.
Unix2dos and dos2unix handle line breaks, unix2dosdos2unix
Today, my colleague QQ sent a file with the following content:
You want to convert the file content to update table_name set col_name = the first column where col_name = the second
Apache Tomcat integration and apachetomcat Integration
Infi-chu:
Http://www.cnblogs.com/Infi-chu/
I. What is Apache + Tomcat integration:
1. The default access port of Apache is 80, and the default access port of Tomcat is 8080.
2. Meaning: The
Logrotate implements Mysql slow log segmentation and logrotatemysql
MySQL slow log?
The slow query log of MySQL is a log record provided by MySQL. It is used to record the statements whose response time exceeds the threshold value in MySQL,
Installation Steps for Nginx in Linux
Nginx is a high-performance http server/reverse proxy server and email (IMAP/POP3) proxy server.Application scenarios
1. http server. Nginx is an http service that provides http services independently. Web
How to view Nic traffic in linux and how to view Nic traffic in linuxHow to view Nic traffic in linux
This article describes six methods for viewing network card Traffic in linux. in linux, you can use nload, iftop, iostat, and other tools to view
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