1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to lose the password. Note that the user name can have a space or no space, but before the password must have no space, or let you re-enter the password.If you have just installed MySQL, superuser root is no pa
One linux Command every day (12): more command, linux Command 12 more
The more command is similar to cat. The cat command displays the content of the entire file on the screen from top to bottom. More will display one page at a time to facilitate users to read one page at a
1, execute command and script on remote host based on password and secret keySsh-t IP "CLI or shell.sh";The 2,C program implements the above functions--based on password-lessPorting the simple C program above to a different system to use the testAuthorized_keys;Copy the ~/.ssh/id_rsa.pub itself to the host that needs passwordless and append the id_rsa.pub content to the ~/.ssh/authorized_keys, then you can passwordless the login.3. Copy the SSH key to
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the next program, and full-screen display of the execution results. You can use him to monitor everything you want. The result of the
Tags: log file file distinguishes TXT access short expression pipe character class
Shell Special Symbol Cut command
Special symbols* wildcard characters, any of any character? Any one character# comment Characters\ de-Semantic charactersC=\ $a \ $bEcho $c| Pipe characterCat 1.txt |lessCat 1.txt |moreCut intercept stringShow first 2 rowsCAT/ETC/PASSWD |head-2Cut ":" First paragraph cut-d ":"-F 1Cut two: cut-d ":"-FETC/PASSWD the firs
Linux Command: cp command learning and use, linux Command cp Learning
The cp command is used to copy files or directories. It is one of the most common commands in Linux. In general, shell sets an alias. When copying a file under the command line, if the target file already
Linux Command learning Summary: rm command, linux Command summary rm
Command introduction:
This command is used to delete files or directories in Linux. Normally, rm will not delete the directory. You must specify the-r or-R parameter to delete the directory. In addition
Winver---check w indows Version Sfc/scannow---Electronic scan mistakes and restore taskmgr---Task Manager (2000/xp/2003 winver---Check Windows version wmimgmt.msc--to open the Windows Management System layout ( WMI) Wupdmgr--windows Update wscript--windows Script Host settings write--WordPad winmsd---System Information wiaacmgr---Electronic scanner and camera guide winchat--xp own LAN chat China webmaster Information Network mem.exe-- Display memory usage Msconfig.exe---system layout utility mp
: Clipboard Viewer
10. Dvdplay:dvd Player
11. Diskmgmt.msc: Disk Management Utility
12. Dfrg.msc: Disk Defragmenter
13. Devmgmt.msc: Device Manager
14, DxDiag: Check DirectX Information
15, DCOMCNFG: Open system Component Services
16. Explorer: Open Explorer
17, EVENTVWR: Event Viewer
18, Eudcedit: The process of word-formation
19. Fsmgmt.msc: Shared Folder Manager
20. Gpedit.msc: Group Policy
21, IExpress: Tools, the system with its own
22. Logoff: Cancellation Order
23, Lusrmgr.m
Linux Command: rcp command usage details, linux Command rcp details
Rcp stands for "remote file copy" (remote file copy ). This command is used to copy files between computers. The rcp command has two formats. The first format is used to copy files to files. The second forma
Linux Command (8): cp command, linux Command cp
The cp command is used to copy files or directories. It is one of the most common commands in Linux. In general, shell sets an alias. When copying a file under the command line, if the target file already exists, it will ask wh
Shell Special character Cut command
Any of any characters? Any one character#注释字符\ de-Semantic characters·| pipe characterCut intercept string-D Specify delimiter-f Specifies the Intercept paragraphBy looking at what we can see,/etc/passwd is divided into 7 segments.·If you use ":" to intercept the first paragraph of the delimiter·Intercept the first to second paragraph (comma in English)·Intercept one to three segments (with a horizontal bar)·-c
Linux basic command date command, linuxdate command
1. Time Command: date
The parameter passed to the date command applies to '+' (plus sign). In the parameter passed
% Y indicates year
% M indicates month
% D Indicates day
% H indicates the hour (the time is 00-23)
%
Ls- L : Long Format File type: the - : Normal file (f)D: Catalog FilesB: block device files (blocks)C: character device files (character)L: Symbolic Link file (symbolic Linkfile)P: command Pipe file (pipe)S: socket file (socket) File permissions: 9-bit, every 3-bit group, each group: rwx (Read, write, execute), r-- Number of hard links to files owner of the file Genus Group of files File size (size), in bytes timestamp (timestamp): Last Modified time
Linux Command head command, linux Command head
The head and tail are just as easy to understand as their names. They are used to display a certain number of text blocks at the beginning or end, and the head is used to display the beginning of the file to the standard output, and tail takes it for granted that it is the end of the file.
1.
The KILL command is used to terminate the run of the specified process.Sends the specified signal to the corresponding process. Not specifying a model will send Sigterm (15) to terminate the specified process. If the program can not be terminated with the "-kill" parameter, it sends a signal of Sigkill (9), which will force the end of the process, using the PS command or the jobs
chattr commandCommand function: Change file properties.Command syntax: chattr [parameter] [+/-/=This directive alters the properties of files or directories stored on ext2, ext3, Ext4, XFS, Ubifs, ReiserFS, JFS file systems, which have the following 8 modes:
A: Make the file or directory available for additional use only.
B: Do not update the last access time of the file or directory.
C: Compress the file or directory and store it.
D: Exclude files or directories from dumpin
In general, Bash is case-sensitive to commands, and can display the previous history command when you press the "Up" button. However, this is not very convenient, the following configuration, you can let bash ignore the case, and can be based on the input command header press "Up" key to display the history of the command, such as: input vim, and then press "Up"
The DF command is used to view the disk usage of the Linux file system, and to see how much space is currently occupied by the disk and how much space is left.Several of the commonly used commands areCommand 1 DF The default display size is in kilobytes, you can use the parameter-K 1024-byte units,-M 1024*1024 bytes,-I display innode information,-H displays the data in the appropriate units,-H is the same as the-H effect, but-H is in 1000 as a unit,-
1. Color command Save the current color settings---can be quickly restored later2. Copy commandExample: BGA fan outActivation command--tick--Remove tick--select--right-rotate--each rotation 90 degrees Matrix mode replicationReproduction of the form of a projectile3. Delete commandOnly check the corresponding property (find) When executing this command to prevent
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.