The Linux Find command searches the directory structure for files and performs the specified actions. The Find command provides quite a few look-up conditions and is powerful. Because find has powerful features, it has a lot of options, most of which are worth taking the time to look at. Even if the system contains a network file system (NFS), the Find command wo
First, Shell introductionIi. History of the OrderHistorical command Store path/root/.bash_history, default can hold 1000 commands#history//View specific history commands[[email protected] ~]# echo $HISTSIZE//system built-in environment variable1000#history-c//Clears the In-memory command history, but the file holding the command is not deleted#vi/etc/profile//Mod
First, Shell introduction
The
Shell is a command interpreter that provides interaction between the user and the machine
supports specific syntax, such as logical judgment, looping
each user can have their own specific shell
CentOS7 default shell is bash (Bourne Agin shell)
also zsh, Ksh, II, History
History command The is the most recently entered
Windows Basic Command Small set
Winver---------Check the Windows version
Wmimgmt.msc----Open Windows Management Architecture (WMI)
Wupdmgr--------Windows Update
wscript--------Windows Script Host Settings
Write----------WordPad
WINMSD---------System Information
Wiaacmgr-------Scanner and Camera Wizard
Winchat--------XP own LAN chat Mem.exe--------Show memory usage
Msconfig.exe---System Configuration Utility
Mplayer2-------Easy wi
System File Checker, need administrator rights to start CMD, and enter commands and parameters on the command line to scan the integrity of all protected system files and replace the incorrect version with the correct Microsoft version. Sfc/scannow requires administrator privileges to start cmd and perform a system scan in a DOS window. Windows File Protection cleanmgr dvdplay DVD player (Windows Media player) eventvwr a thing viewer eudcedit font-ed
Tags: blog http ar OS use sp file on 2014Widows + R is basically a common method, so what can we do in the running process through Windows + R.The following describes the basic system commands.Notepad -------- open notepad services. msc --- Local Service settings regedit ------- registry editor Msconfig.exe --- system configuration utility mem.exe -------- display memory usagePerfmon. msc ---- computer performance monitoring program taskmgr ----- task manager mspaint -------- GRAPHIC board mmc -
Python command line parsing module details, python command line details
This article focuses on the Python command line parsing module.
There are two common parser types for Python command lines: getopt module and argparse module. The two parsers are explained below.Getopt Module
This module can help the script parse
Ask:
Hello, Scripting Guy! How do I keep a command window open after I run a tool such as Ping or Ipconfig?
--DB
For:
Hello, DB. This question reminds us of the past. One of the Scripting Guys just came to Microsoft, when many thought WMI and ADSI were too hard for scripting people to use. Therefore, it is recommended that the Scripting Guy not use WMI or ADSI, but simply use VBScript as a way to invoke command
Tag: grep command to remove meaning using shell roo bin execIND is a very common Linux command, but what we generally find out is not just a look, but also a further operation, this time the role of exec is revealed.EXEC explained:The-exec parameter is followed by command, which terminates with a; for the end of the flag, so the semicolon behind this
Tags: use contact between amp style to share pictures Shel SaveTransferred from: http://blog.csdn.net/qq_16811963/article/details/52997178Output redirectionThe > representative outputs the correct output of the command to the specified file or device in a overwritten manner.The >> representative outputs it in append mode.Common output redirection:
1. command >> file 2>1 : The correct output and err
MySql: www.mysql.org
First, start and stop the mysql Service
Net stop mysql
Net start mysql
Second, log on to mysql
Mysql-u user name-p User Password
Mysql-uroot-p. After you press enter, you are prompted to enter the password, enter 12345, and then press enter to enter mysql. The mysql prompt is:
Mysql> Note: if it is connected to another machine, you need to add a parameter-h Machine IP address.
Third, add new users
Grant permission on database. * to username @ login host identified by "pa
Q:
Hello, script expert! How can I keep the command window open after running a tool such as Ping or Ipconfig?
-- DB
A:
Hello, DB. This question reminds us of the past. A scripting expert just came to Microsoft, when many people thought that WMI and ADSI were too difficult to use for script writers. Therefore, it is recommended that this scripting expert not Use WMI or ADSI, but simply use VBScript as a method to call the
Linux alias command details, linuxalias command detailsDetailed description of alias commands in linux
Description
Set the alias of the command. In linux, if the command is too long and does not conform to the user's habits, you can specify an alias for it. Although you can create a "Link" for the
Command summary for operating MySQL in Linux Command lines
(Note: commands in the MySQL environment are followed by a semicolon as the command Terminator)
1. commands for starting MySQL in Linux:
Mysqladmin start/Ect/init. d/mysql start (the installation path of mysql is earlier)
2. Command for restarting MySQL in Linu
linux CP/SCP Command +SCP command detailedName: CPUsage rights: All usersHow to use:CP [Options] Source DestCP [options] source ... directoryNote: Copy one file to another file, or copy several files to another directory.The meter-A as far as possible file status, permissions and other information are reproduced as original.-R If the source contains a directory name, the files under the directory are also c
linux CP/SCP Command +SCP command detailedName: CPUsage rights: All usersHow to use:CP [Options] Source DestCP [options] source ... directoryNote: Copy one file to another file, or copy several files to another directory.The meter-A as far as possible file status, permissions and other information are reproduced as original.-R If the source contains a directory name, the files under the directory are also c
Find is a very common Linux command, but what we generally find out is not just to look at it, there will be further operations, this time the role of exec is revealed.EXEC explained:The-exec parameter is followed by command, which terminates with a; for the end of the flag, so the semicolon behind this command is indispensable, considering that the semicolons in
Find is a very common Linux command, but what we generally find out is not just to look at it, there will be further operations, this time the role of exec is revealed.EXEC explained:The-exec parameter is followed by command, which terminates with a; for the end of the flag, so the semicolon behind this command is indispensable, considering that the semicolons in
Tags: Verify name relative time script Instance-o this find commandFind is a very common Linux command, but what we generally find out is not just to look at it, there will be further operations, this time the role of exec is revealed.EXEC explained:The-exec parameter is followed by command, which terminates with a; for the end of the flag, so the semicolon behind this
Every day, a linux command (21): link to the find command xargs: A linux command (1): ls command (2): cd command http://www.2cto.com/ OS /201210/163050.html#every day ..
Link to xargs of one linux command (21): find
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.