The adduser and useradd commands are the same commands (symbolic link is connected by symbols ).Permission: system administrator.Adduser is used to add users. In contrast, you can also delete user commands, userdel. Syntax: userdel [login
the difference between Useradd and AddUser
Add User
1. Under root permissions, Useradd just created a username, such as (Useradd + username), it did not create a folder with the same name in the/home directory, and did not create a password, so use
We always see our advantages and disadvantages in the comparison, which is the same for mongodb. The comparison study allows us to master the basic knowledge about mongodb as soon as possible. Comparison between mongodb and mysql commands relational
Comparison between MongoDB and MySQL commands
Traditional relational databases are generally composed of three levels: database, table, and record. MongoDB is composedDatabase, collection, and document)Three layers. MongoDB has no concept of columns,
The role of exception handling
Exception handling is used to change the normal flow of a script when a specified error (exception) condition occurs.
Basic syntax for exception handling:
try{
Code for errors (exceptions) that may occur
}
Shellscript Common script:ForLoopsWheil Many loops can be replaced with a for loopFor loop syntax structureFor variable name in variable Value listDoinstructionDoneFor ((EXP1;EXP2;EXP3))DoinstructionDoneScript instance:For 99multiplication
The data structure he supports is very loose and is a JSON-like Bjson format, so you can store more complex data types. The biggest feature of MONGO is that the query language he supports is very powerful, and its syntax is somewhat similar to an
The set container is very similar to map. The difference is that the set does not store key/value pairs. In set, the value itself is the key. If you want to store information that does not display keys, but want to quickly insert, search, and
Package, class, interface, enumeration type, parameters, constant fields, methods and exceptions;1. Naming of packages (package)The package name should be in full English descriptors, which are made up of a lowercase word. And the prefix of the
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.