Common commands for MongoDB and Common commands for mongodbCommon commands for MongoDB Databases
Show dbs # show database use test # select/create database db. dropDatabase () # Delete the current database db # display the current database db. test_col.insert ({x: 1}) # insert (create set) var_insert = {a: 1, B: 3} db. test_col.insert (var_insert) # insert db as
Sort notes-common Git commands, notes-common git commands
In Windows, configure SSH to connect to GitHub/GitLab ==> when you need it, follow the search criteria Baidu.
Echo "content"> file name ==> string output.
1. Global Configuration:
Git config -- global user. name "user name"
Git config -- global user. email "email address"
Note:
Removing -- global is not a global configuration. It will create. git/co
Common mysql commands and common mysql system commands
Recently, some mysql commands were often used during my internship, so I made some preparations:
Solve the character garbled problem: display Chinese characters rather than garbled characters: set names utf8;
Change New password: update user set PASSWORD = password ('new password') where user = 'username '
Common vro configuration commands and simple configuration tutorials, common vro configuration commands
View arp table in arp-a on the computer
Arp-s IPadd MAC in computer for arp binding
Arp-d in computer clears arp cache
Router arp-a view arp table
Vroarp arp IPadd MAC for arp binding
Vroclear clear arp-cache clear arp cache
Ip route network mask IPadd configure Static Routing
Show running-config under t
Linux common command-permission management command chmodu/g/o +/-/r/w/x change permission user/user group/other user increase/decrease/Grant read/write/execute r4w2x1rwxr-xr -- 754752: rwxr-x-w-question: if other users have 7 permissions on the file... permission management commands for common Linux Commands
Chmod u/g/o +/-/= r/w/x change permission user/user group/other user increase/decrease/Grant re
Common Git commands and git commands
Since work, the source code management tool has used SVN, TFS, Git, and finally exclusive Git
This blog summarizes the Git commands used in my work. The main directories are as follows:1. obtain remote code
Generally, every company that uses Git as the source code management tool will have its own Git server. When we obtain th
Simple JSP exercises-JSP commands, jsp-jsp commands
I. page commands:
When defining the global attribute value of a JSP page, you can use the page command to place it in the header of the page. For example:
Note: The contentType attribute in the page command cannot be specified twice on the same page.
The page directive has many attributes. The attribute enclos
Basic Linux commands and Linux commands
Compression and decompression commands
Compression: tar-zcvf appName.tar.gz. date appFileName (for example, tar-zcvf rc.tar.gz. 0513 rc)
Decompress: tar-xvf tarFile
Tar command details:
Tar package compression;-c archive file,-x compressed file,-z gzip compression,-j bzip2 compression,-v view shows
File Operation commands, operation commandsI used to Google the corresponding commands when I used them all the time. I felt that this was not systematic and I didn't have any connection with the things in the environment programming. So I decided to have time to sort out my ideas. 1. ls:File Type:D directory l link s socket file (socket) block B device file c character device file (character) p named pipel
Learn Angularjs paging commands and angularjs paging commands
Many pages in the project use paging, and each page has a lot of repeated paging code. Therefore, I wrote a simple paging command to simplify the Page code and maintain it easily, use it as a backup in your blog for future reference.Follow these steps to define commands and their applications:
1. Comma
Summary of several functions similar to Linux commands and summary of Several linux commands
The wc command is used to count the number of lines, characters, and bytes of text in the format of wc [parameter] text ".
-L only displays the number of rows
-W: only display the number of words
-C: only display the number of bytes
For example, count the number of users in the current system:
[Root @ linuxprobe ~]
In linux, commands such as ifconfig and shutdown cannot use the _ enable Shell command Java code. Why cannot I use the ifconfig command in RedHat Linux 5? After installing RedHat Linux 5, I use some commands on the terminal, for example, ifcinfig checks the IP address of the Local Machine and finds that this command cannot be used, prompting "command not found". What should I do? If the environment variable
Common Linux commands (2): ipcs/ipcrm commands, ipcsipcrmIpcs
1. Command Format
Ipcs [resource-option] [output-format]Ipcs [resource-option]-I id
2. command functions
Provide information about the IPC Device
3. Usage
Resource options:
Ipcs-m view system shared memory information
Ipcs-q: view system message queue Information
Ipcs-s: view system semaphore Information
Ipcs [-a] displays all IPC information in
Common Linux commands (20) and common linux commands
When you use the-exec option of the find command to process matched files, the find command passes all matching files to exec for execution. However, some systems have limits on the length of commands that can be passed to exec, so that an overflow error will occur after the find command runs for several minute
Common Linux commands (8) and common linux commands
Linux touch commands are not commonly used. They are generally used to modify the file timestamp or create a new file that does not exist.
1. Command Format:
Touch [Option] File
2. command parameters:
-A only changes the access time.
-C does not create any documents.
-D uses the specified date and time instead
Help for common linux commands and help for common linux commands
Command name: man
Purpose: help information of commands and configuration files (no absolute path is required)
Mainly view the name and search parameters
There are several types of help: 1. Command help. 5. configuration file help.
Command name: whatis
Purpose: Obtain the name informa
Common Linux commands (28th) and common linux commands
The diff command is an important tool in linux. It is used to compare the content of files, especially files of different versions, to find the changes. Diff prints the changes of each line in the command line. The latest diff version also supports binary files. The output of the diff program is called a patch. Because there is a patch program in the Li
Common commands for Linux O M: du and Common commands for linux: duThe commonly used du-sh * Linux du command is also used to view the space, but unlike the df command, the Linux du command is used to view the space used by files and directory disks, there are some differences with df commands.1. Command Format:Du [Option] [file]2. command functions:Displays the
Linux basic commands (2) commands on disk space, linux disk spaceDisk Space commands
Command
Function
Mount
Mount a File System
Umount
Detach a mounted file system
Df
Check the disk space of each hard disk partition and mounted file system
Du
Show file directory and size
Fsck
It mainly checks
Gradle Common commands and principles, and gradle Common commandsGradle is a new Android App compilation tool introduced by Android Studio to replace the previous Ant-based compilation system. Gradle commands such. /gradlew-v. /gradlew clean. /gradlew build. /gradlew ,. /indicates the current directory. gradlew indicates gradle wrapper. It indicates a gradle package. You can understand that gradle is encaps
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.