/etc/skel User Environment variables, when a user is added, copies the files of that directory to the user's home directory. If you write a file in this directory, the new user's home directory will be synchronized past. /etc/login.defs User Login
Linux on/off firewall command one. Open/Close firewall command under Linux1) Permanent, no recovery after rebootOpen: Chkconfig iptables on off: chkconfig iptables off 2) immediate effect, restart after restart: Service iptables start off: Service
Linux typically installs open JDK, the difference between OPENJDK and JDK: http://www.cnblogs.com/sxdcgaq8080/p/7487369.htmlStart the installation steps below:--------------------------------------------------------------------------the first step---
Dear bo Friends, Hello, I was a bit busy last month, so there is no update blog, this time for you to bring the "Z command" When we use the "CD" command to enter a particularly long directory, it will feel very troublesome, Z command can solve the
With the locale check should be no Chinese language pack, the multi-party ask is to modify the environment variable is a way, but to find files still have to restart trouble is useless this wayUse lang= "Zh_cn GB2312" to set the default language to
PXE works in the Client/server network mode. During the boot process, the terminal requires the server to assign an IP address, and then uses the TFTP protocol to download an auto-start package to execute in memory.To use the Kickstart installation
Crond Scheduled TasksFirst scheduled task second levelvi/root/miao.sh#! /bin/shWhile TrueDoecho Weixiwen Babaxiangni >>/tmp/a.log placed in A.log to executeSleep 1Donethen sh miao.sh & represents the background execution Ps-aux |grep Miao with
Description: Company Project There are several Nohub scripts to run a piece of code in a dead loopAfter: One day the boss said that the script somewhere the logic needs to change, so hard to change the good upload to the line, a simple test, OK, no
Introduction: Group of Friends in the interview of a company, the company has a problem: I have two sets of machines, a group of machines address 10.0.1.10 to 10.0.1.30,B Group machine address for 10.0.1.60 to 10.0.1.90A local AAA executable file
The command is as follows:Df-h Directory NameUse the following example: see which partition the/home/sxd/document is in--------------------------------------------------------------------------------------------------------------- -------------------
One of the best places in Linux is its multi-user, multitasking environment. Because of this (for each user to have more confidential file data), file Rights management is particularly important.Linux generally divides the identity of the file
Method One:1, display the current line number, in the VI command mode input: Nu2, display all line numbers, in the VI command mode input: Set NuMethod Two:Using VI to edit the ~/.VIMRC file, add a line "set Nu" to the file, adding the contents
Reference: http://www.linuxidc.com/Linux/2016-03/129195.htmSamba services are not new to Linux developers, and now there are Windows versions, and when we are developing Linux drivers or applications, we generally lose a Linux development
1: First go to the official Web download nginx rpm file, install the rpm command: RPM-IVH nginx-release.rpm. (You can also download it directly using the Linux command:wget
Linux is usually installed at the time, the user needs to set the hostname, but in daily use, convenient grouping or memory, etc., may need to modify the host name, modify the hostname has 2 kinds, temporary modification or permanent modification,
Get the PID of the process:Ps-ef | grep process_name | Grep-v "grep" | awk ' {print $} 'View all threads of a process# PS MP 6648-o Thread,tidUser%cpu PRI SCNT wchan user SYSTEM TIDRoot 0.0------Root 0.0 24----6648Root 0.0 21----6650Root 1.0 24----14
Linux cpu load learning notes and load learning notesMeasure the current CPU workload by Load in linux
Load Average is the Average Load within a period of time (1 minute, 5 minutes, 15 minutes.
[root@CNC-BJ-5-3N1 ~]# w20:01:55 up 76 days, 8:20, 6
Linux Process Management descriptor task_struct, linuxtask_struct
Turn: http://blog.csdn.net/hongchangfirst/article/details/7075026
Everyone knows about processes. But do you know how linux manages processes? Each process has a process descriptor,
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