"-OIsLine#也可以使用-F option to match multiple styles, writing out the characters that need to be matched line by row in the style file.Cat PatfileAaaBbbEcho AAA BBB CCC DDD Eee | Grep-f Patfile-oInclude or exclude the specified file in the grep search results:#只在目录中所有的. PHP and. html files recursively search for characters "main ()"grep "Main ()". -R--include *. {php,html}#在搜索结果中排除所有README文件grep "Main ()". -R--exclude "README"#在搜索结果中排除filelist文件列表里的文件grep "Main ()". -R--exclude-from FileListgrep wi
This article focuses on the definition and usage of the HTML5 command tag, as well as the use case for the HTML5 command tag, although the
Definition and usage of the HTML5 command tag:
The command element represents the commands that the user can invoke.
This element is v
Mren is an MS-DOS tool directive that is similar to a DOS ren directive, and can be implemented to change MS-dos files or directory names.
The source file must be a file that already exists on the disk, and if the letter and path are ignored, the current disk and the current directory file are represented.
The new filename is the name of the file to be replaced. The new file name cannot be added to a different letter and path than the source file, because the
The newgrp command is similar to the login command. If it is the same account and another group name, log on to the system again. To use the newgrp command to switch to a group, you must be the user of the group. Otherwise, you cannot log on to the specified group. A single user must belong to multiple groups at the sa
Simple instructions on using the screen command, simple use of the screen command
First, use the screen [-S] command to create a session, and then you can create multiple windows in this session. You can use screen [-S] to create
Use the command line to set the Raspberry Pi wifi network and the command line Raspberry Pi wifi
If you have not logged on to the Common graphic user interface, This method is suitable for setting Raspberry Pi's wifi. Especially when you do not have a screen or wired network, you only use the serial control line. In ad
What is a curl command?Curl is an open source file Transfer tool that works with URL syntax in the command line mode. It is widely used in Unix, multiple Linux distributions, and has a ported version of DOS and Win32, Win64.How do I use the Curl command under Windows?The first step: go to Curl Download official website
The fold command reads the content from the specified file, adds the columns that exceed the specified column width to the column, and then outputs the content to the standard output device. If no file name is specified or the given file name is "-", The fold command reads data from the standard input device.SyntaxFold [-bs] [-w Parameters: -B or -- bytes calculates the column width in bytes, r
Use syntax:chkconfig[--add][--del][--list][System Services] or Chkconfig[--level
Chkconfig Displays the usage when no parameters are running. If you add a service name, check to see if the service is starting at the current run level. Returns true if it is, or false. If On,off or reset is specified after the service name, CHKCONFI changes the startup information for the specified service. On and off means that the service is started and stopped, and
The set command can be used to set the shell execution method, which can be set according to different requirements.SyntaxSet [+-abCdefhHklmnpPtuvx]Parameter description: -A indicates the modified variables for output to the environment variables. -B: immediately returns the execution status of the terminated background program. -C: The generated file cannot overwrite the existing file. -D Shell uses the
In the Linux system to query the system CPU and memory load (usage), we are usually accustomed to using top, atop or PS, this article will show you how to use the W command and uptime command to view the load of the system, for the uptime command, I believe that we are more familiar with the It is mainly used to query
Win7 Environment installation Python3.5 error, so can only install 3.4 and below, after the installation of Python to use the PIP command to install the library file is, found that PIP is not internal or external commands, searched the internet for a long time, did not find a good solution, so he found Pip.exe (in the installation directory Scripts), open cmd under Administrator privileges, and then enter t
Use the fc command to edit the bash command line-general Linux technology-Linux technology and application information. The following is a detailed description. When you enter a bash command error and need to re-enter it
Generally, it is "up" in the direction, re-load the comman
The Linux skill command sends a signal to the program being executed. The preset message is TERM (interrupted), and the commonly used messages are HUP, INT, KILL, STOP, CONT, and 0.Message Syntax:-9,-SIGKILL, and-KILL. You can use-l or-L to list available messages.Permission: all users.Other related commands: killSyntaxSkill [signal to send] [options] Select program rulesGeneral parameters: -F fast mode/
Use the command line to package nuget and the command line to package nugetWe recommend that you use nuget Package Explorer to create Nuget packages that are not intended to be so complex. For the use of this graphic nuget package management software, you can search for rela
Use Rights: All users.
Grammar
Top [-] [D delay] [Q] [C] [s] [s] [i] [n] [b]
Parameter description:
D: Change the speed of the display, or press s in the conversational instruction column (interactive command)
Q: There is no delay in the display speed, if the user has Superuser permissions, then top will be the highest priority to execute
C: Toggle display mode, there are two modes, one is t
[Windows] _ [elementary] _ [use the command line tool dumpbin to analyze the file] and command line dumpbin
Dumpbin (vs built-in)
1. Export the function symbol (symbols) of the lib File)
Dumpbin/exports zlib1.lib
Microsoft (R) COFF/PE Dumper Version 10.00.40219.01Copyright (C) Microsoft Corporation. All rights reserved.Dump of file zlib1.libFile Type: LIBRARY
Screen is a multiple Windows management program. The so-called window here refers to a Full-screen text-mode screen. The screen program is typically used only if you are using Telnet to log in to a host or use an old-fashioned terminal.
Grammar
screen [-amrvx-ls-wipe][-d
[-S
Parameter description:
-A adjusts all windows to the size of the current terminal.
-d
-h
-M forces a new screen job to be created even if the screen job is c
SyntaxCpio [-0 aABckLovV] [-C Parameters:-0 or -- null accepts new column control characters, which are usually used with the "-print0" parameter of the find command.-A or -- reset-access-time: reset the file access time.-A or -- append is appended to an existing backup file, which must be stored on the disk rather than on the tape drive.-B or -- swap. This parameter has the same effect as the "-sS" parameter.-B: change the size of
Grep command 9 classic use cases, grep command 9 scenariosGrep
Global Regular Expression Print, indicating a Global Regular Expression
Is a powerful text search tool that uses regular expression matching.
1. Command Format
Grep [options] files
2. Main Parameters
-C: only the number of matched rows is output.
-I: case i
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.