Common user management commands under Linux are: Useradd, Userdel, Usermod, passwd, Chsh, finger, id, chage1. Add Users:Command: UseraddSyntax: useradd [Options] LOGINOptions:-C: Add comment information-D: Specify the user's home directory-G:
Tail Command writes the file to standard output starting at the specified point. Using the-f option of the tail command makes it easy to see the log files that are being changed, TAIL-F filename will display the most up-to-date contents of the
About the bird's Linux private dishes*-wildcard character, representing random characters (0 to more)? -wildcards, which represent one character#-Gaze/-Jump symbol to restore special characters or wildcards to a general symbol| -demarcation of two
RPM version of the JDK is good to install, directly run a command can be resolved, the following is the package version of the JDK installation1. First check to see if Linux has a JDK installed and uninstall it first.Rpm-qa | grep jdkjava-version
Command
Introduction description
Pwd
Print out your current directory
Mkdir
Create a Directory
RmDir
Delete a directory
Rm
Deleting a file or directory-r: Deleting a
First look at the literal explanation:chattr: Chattr-change file attributes on a Linux file system lsattr -list file attributes on a Linux second extended file systemchattr command usage: chattr [-RVF] [-v version] [mode] files ...The [mode] section
The previous section has the system Initramfs has started to complete, the system control to the real Rootfs/sbin/init, the following is the time/sbin/init work.4/sbin/initInitramfs init script, through the Switch_root command, after switching to
Modify the/etc/fstab file, assuming that you mount to the/data directory, add the last line/DEV/SDB1 /data ext4 defaults 1 1The final results are as follows:# #/etc/fstab# Created by Anaconda on Thu Sep one 0
The linux script automatically enters the password, and the linux script enters the password
Programmers using Linux must be familiar with password input. in Linux, they have strict permission restrictions on users. If they do a lot of things, they
Linux commands chattr and lsattr, linuxchattrlsattr
Let's take a look at the literal explanation:
Chattr: Chattr-change file attributes on a Linux file system
Lsattr-List file attributes on a Linux second extended file system
Chattr command
A deep understanding of Linux memory management and a deep understanding of linux1. Memory Address
Taking Intel's central processor as an example, in a 32-bit Linux system, the basic unit of physical memory is Byte, and one Byte has eight binary
Linux automatically mounts the second hard disk partition, and linux mounts the second disk.
Modify the/etc/fstab file. If it is mounted to the/data directory, add
/Dev/sdb1/data ext4 defaults 1 1
The final result is as follows:
Experience of compiling Linux-2.6.32 on the ipset-6.23 KernelNew version of ipset
Last week, I received a message from the Netfilter email list when I waited for a call from the children's hospital to see a doctor. I listed the new features of the
Linux automatically mounts the second hard disk partition
Modify the/etc/fstab file. If it is mounted to the/data directory, add
/Dev/sdb1/data ext4 defaults 1 1The final result is as follows:
#/Etc/fstab # Created by anaconda on Thu Sep 11 04:12:
Linux SVN command details
Check whether svn: svnserve -- version is installed
Close svn service: killall svnserve
Create svn Library: svnadmin create/opt/svn/repos
Configure Automatic Start: Put svnserve-d-r/opt/svn/repos in the last line of/etc/rc.
Install JDK 8 and configure environment variables in Linux
1. Download jdk
Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. decompress the downloaded file to the/usr/lib/jvm folder. If this folder does
Several Methods for reliable running of processes on the background and several methods on the background
Cron
A) in linux, the next program that automatically executes a specified task contains "time", "path", "Automatic Execution script", and
Bind simple self-use DNS server, binddns
Purpose: To customize a domain name www.test.com, which can be resolved to a specified machine.
Install(Version: 9.7.3 ):
Yum install bind
Configuration:
Initialization Configuration:
# Generate the rndc.
CentOS multi-IP settingsMethod 1: manually bind a small number of IP addresses (Here we use binding an IP address to eth0 as an example. If other network cards are used, modify the corresponding file name)
1. Copy the NIC configuration file for the
Ubuntu ° ² × ° mysql-python
1. Ê × ~ä~~~è · ¨ ubuntu ü Ü ü Â Ä µ. x.í 14. X £ ********************************************************** £.
Î Á áë ° ² â «Æ ð û cp/etc/apt/source. list/etc/apt/source. list. bak
When «Ï  à µäúè Ý µ 'µ½/etc/apt/source.
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