In Linux, the user name and password table correspondence are placed in/etc/passwd, such as: root:x:0:0:root:/root:/bin/bash Format represents User name: password: User id: Group ID: User Description /root on behalf of user directory
DstatIf the system does not have some tools yum-y install Dstat installation is complete, this software is small, package size is only 144k, installation size 660k.This tool will dynamically display the Cpu,disk,net,page,system load situation by
Create a physical volumePvcreate/dev/hda5
Create a volume groupVgcreate Volgroup/dev/hda5/dev/hdb
Activating a volume groupVgchange-a y VolGroup
Creating a logical VolumeLvcreate–l +100g–nlv_home VolGroup
Delete a logical
Linux Learning LogThe basic user interface mode is the shell, and the terminal is usually used to enter commands with this terminal.F11 full screen, ctrl+shift+ "+" become larger, ctrl+-smaller.Command formatcommand [parameters] [Action Object]CMD
Ed EditEd Aa.cAWelcom to Beijing learn LinuxYou can write content to aa.c.Gedit aa.c text Form open AA.CNano AA.C Linux comes with a nano editor.Cat Prints the contents of a file in character mode to a screen-readable file and then displays it to
Function prototypesNAME - ANSI C signal handlingsynopsis void (*sighandler_t) (int ); sighandler_t signal (int Signum, sighandler_t handler);The signal function has a registration function and nothing is done. Just tell the
Original source: http://blog.csdn.net/a600423444/article/details/7206015Under Windows, the dynamic-link library is a file with a. dll suffix, and two in Linux, a file with a suffix of. So.The advantage of a dynamic link library is that it saves
First myeclipse the package project as the war file, select "Target runtime" and tick "Export source files". Package it into the war file we need, Emample.war.Use terminal ssh to connect to our servers remotely, such as: Command line off Tomcat, Cd/
1.for Cycles and the use of additionsPortstr= ' lsof-i:56801 | Head-2 'Count=0For str in ' lsof-i:56801 | Head-2 'Do((count=count+1))echo "Count: $count"if [$count = = 11]; Thenecho "Find Just rigth Port ($count): $str"Elseecho "Print string ($count)
reboot1. Rolethe role of the reboot command is to restart the computer, and its use rights are system administrators. 2. Formatreboot [-n] [-W] [-d] [-f] [-I.]3. Main parameters-N: Do not write the memory data back to the hard drive before rebooting.
LinuxThe system information is stored in the file, and the file is similar to ordinary official documents. Each file has its own name, content, storage address, and other administrative information, such as the user of the file, the size of the file,
1.Linux Link Concept There are two types of Linux links, one is called hard link, and the other is called symbolic symbolic link. By default, the LN command produces a hard link.A hard join is a hard connection that is connected through an index
1. FindFind is the most common and powerful look-up command you can use to find any file you're looking for.Find uses the following format: $ find ---If no parameters are added, find searches the current directory and its subdirectories by
shutdown1. Rolethe role of the shutdown command is to shut down the computer, and its use rights are super users. 2. Formatshutdown [-H][-I][-K][-M][-T]3. Important Parameters-T: Tell the INIT program how long it will shut down before changing to
Find find path lookup standard processing actionFind path: Default to Current pathFind Standard: Default find all Files under directoryHandling actions: Default display to standard outputFind criteria:-name "file name": Search by file nameWildcard
PV Physical Diskpvcreate partitions convert partitions to PVPvdisplay View PV InformationVG PV composed of volume groups similar to extended partition PE: physical extents (creation of logical volumes, that is, how much PE is allocated to logical
When we do some projects, we often encounter this situation, write some code under Windows, need to test under Linux. Of course you would say that we can copy the test into Linux, but it may not be too troublesome. We all know that there are network
Detailed setup process for preparing three identical Linux virtual machines for learning Hadoop using VMware
Introduction:VMware can run two or more Windows, DOS, and LINUX systems simultaneously on a local laptop. VMWare uses a completely different
Shell test, shelltest
Test command usage. Function: Checks files and comparison values.
1) judgment Expression
If test (expression true)
If test! The expression is false.
Test expression 1-a expression 2 both are true
Test expression 1-o expression 2
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