error code for bash3-126: User-Customizable error codes128-255: A command quits abnormally, but exits because a signal is received, so the status return value is 128+n, where "N" indicates the number of the signal received by the command.Please refer to the following example:[Email protected] ~]# CD-A-BASH:CD:-a:invalid optioncd:usage:cd [-l|-p] [dir](the option for internal commands is wrong here)[Email p
Tags: mariadb database automatic backup and use of expectWhat this section says:Case 1: Automatic backup MARIADB scriptActual combat:1. Automatic backup mariadb Scriptneed to be prepared: Log on to the serverinstallation Mariadb-server Open mariadb-server[Email protected] ~]# yum-y install mariadb mariadb-serverPackage MARIADB #mariadb数据库Linux下的客户端Package MARIA
Tags: style blog color http int width1, establish test database;2, create test1 data sheet;
The Test1 table properties are as follows:
Where the ID field is set to identity increment, and the increment seed is 1;This instance is implemented starting with the first row of data, adding the last field value of each row to the second field value minus the third field value, and updating the last field value of the current row with the n
Tags: perform restore man from command to intercept head about err emptying8.10 Shell Special Symbol Cut command8.10.1 Special SymbolsSymbol *: any of any charactersSymbol? : any one characterSymbol #: Comment character, which is the content after # Linux ignoresSymbol \: Escape character, which will be followed by a special symbol (for example "") reverts to normal charactersSymbols | : A pipe character that drops the result of a preceding command to a command following a symbol, usually a comm
current working directory of the Content list.Example three: Listing only subdirectories under a fileCommand: ls-f/opt/soft |grep/$List the subdirectories below the/opt/soft fileOutput:[Email protected] opt]# ls-f/opt/soft |grep/$jdk1.6.0_16/Subversion-1.6.1/tomcat6.0.32/command : ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput :[Email protected] opt]# Ls-l/opt/soft |
(AutoNumber)
ModuleID
Int
Owning module ID
Determine how this contact is displayed in that module
Createdbyuser
Nvarchar (100)
Created by
Record the users who created and modified the contact
CreatedDate
Datetime
Creation time
Record when the contact was created and modified
Name
Nvarchar (50)
Contact person Name
Role
Nvarchar (100)
Contact role
Unlike the roles in the system framework, it is more appropriate to be understood as a pos
/command : ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput :[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names are the beginning of the file, the newer the new row, you can use the following command:
/tomcat6.0.32/command : ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput :[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names are the beginning of the file, the newer the new row, you can use the follo
/command : ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput :[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names are the beginning of the file, the newer the new row, you can use the following command:
in the background. Imagine what 2>1 stands for, the combination of 2 and > represents error redirection, while 1 represents the error redirection to a file 1, not the standard output;replacing 2>1, with 1 represents the standard output, which becomes an error redirect to
:[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names are the beginning of the file, the newer the new row, you can use the following command:command:ls-ltr s*Output :[Email protected] opt]# ls
adjust the size of the volume group, the logical volume, and further adjust the size of the file system.
Advantages:M is typically used for systems with large numbers of disks, but it is also suitable for small systems with only one or two hard disks.Benefits of using LVM with small systemsThe traditional file system is partition-based and a file system corresponds to a partition. This method is more intuitive, but not easy to change:1. The dif
Linux commands (1)mkdir1. command formatmkdir [OPTION] ... DIRECTORY ...2. Command functionThe command that creates the directory, which belongs to the built-in commands . 3. Command Parameters-M,--mode set permissions mode > ( similar to chmod) instead of rwxrwxrwx minus umask-P,--parents can be a path name. At this point, if some directories in the path do not already exist , and with this option , the system will automatically set up those direc
Original URL: http://www.cnblogs.com/fhefh/archive/2011/04/15/2017613.htmlThe meaning of shell variable $#,[email protected],$0,$1,$2 in Linux is explained:Variable Description:$$The PID of the shell itself (ProcessID)$!PID of the Shell's last running background process$?End code of the last Run command (return value)$-Flag at a glance using the SET command$*All parameter lists. such as "$*" in the Case of
Tags: mysql configuration password reset mysql LoginMySQL mo MySQL is not set password, under normal circumstances or should be set up a password.[Email protected] ~]# Mysql-urootQuit with quit.Set a password for MySQL[Email protected] ~]# mysqladmin-uroot password ' zaq12wsx 'If we forget the MySQL password, how to solve it?Initialize password[email protected]
The meaning of shell variable $#,[email protected],$0,$1,$2 in Linux is explained:Variable Description:$$The PID of the shell itself (ProcessID)$!PID of the Shell's last running background process$?End code of the last Run command (return value)$-Flag at a glance using the SET command$*All parameter lists. such as "$*" in the Case of "" ", in the form of" $ $ ... $n "output all parameters.[
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.