1 Public classtesttmp {2 Public Static voidMain (string[] args) {3 //TODO auto-generated Method Stub4 for(inti=0;i){5System.out.println (i+ "=" +args[i]);6 }7 }8 } 9 Ten Public classtesttmp { One Public Static voidMain (string[] args) { A //TODO auto-generated Method Stub - for(inti=0;i){ -System.out.println (i+ "=" +Args[i]); the } - } -}Note: The class is created under the default package path;
Command Line Analysis of java thread CPU usage, command line java thread cpu
1. Use the top command to find the JAVA Process pid with the highest cpu usage
2. Find the thread with the highest cpu usage:
Top-Hppid-d 1-n 1
3. Print the stack information of the JAVA Process pi
arguments printing parameters
Export Export/set A new environment variable exporting/setting up an environment variable
Exit exit the Shell
sudo become super User root becomes superuser or root
chmod Change permission modifiers modify file permissions
Chown Changeownership Modifying the owner of a file
Cd.. Go back to the top level directory (there are spaces!) )
CD "I had fun" open a folder with spaces in the middle with ""
CD i\ have\ fun/open a folder with spaces in the middl
Mac command line terminal How do I enter a password? MAC terminals need to enter a password sometimes it is not necessary to enter a password, or can not enter a password. The following small Lego to share through their own groping and using the integrated MAC command line terminal input Password method, take a look!
absolute path name of the $ (Solutionpath) solution (defined as drive + path + base name + file extension). The base name of the $ (solutionname) solution. The file name of the $ (solutionfilename) solution (defined as base name + file extension). The file name extension of the $ (solutionext) solution. It includes "." In front of the file name extension. $ (TargetDir) The directory of the generated primary output file (defined as drive + path). It includes the trailing
Use the terminal command line to package XZ_iOS, and use the xz_ios command line.
I. Packaging xcodeproj
1. Clear
Terminal input: clean-project/Users/admin/MyProject/project. xcodeproj-configuration $ {CONFIGURATION}-alltargetsHere,/Users/admin/MyProject/project. xcodeproj is the project path
** Clean succeeded **
1. Example: How to use two lines to output if the instruction string is too long?[Email protected] ~]$ cp/var/spool/mail/root/etc/crontab \>/etc/fstab/root"\enter" (\ Plus keyboard return) can be implemented2.ctrl+u Ctrl+k, respectively, represents the cursor at the forward and the cursor at the next delete3.ctrl+a Ctrl+e respectively represents the movement of the pipe to the front and lastLinux If the instruction is too long, how to enter the line,
You can use the command line to operate the version management library every day. Svn add path is found, and occasionally an error is prompted as follows: You can see from the error prompt in this prompt, it seems to be a problem with the. svn folder. This folder is a reserved name. Therefore, it cannot be operated. However, such errors do not occur all the time, but occasionally. In most cases, such errors
machine itself "host")
1. Configure the virtual machine to access the external network. Set the steps as follows
1) Shared host network card
Local connection-"Properties-" advanced-"choose to allow other networks to pass this ... and select Home Network connections for VMware network Adapter VMnet1
2 Set up virtual machine IP information
Choose traditional ....
3) Set static IP
IP 192.168.0. Xxx
Subnet Mask 255.255.255.0
DNS 192.168.0.1 (Edit/etc/reslove.conf)
Default Gateway 192.168.0.1
2. I
teacher values (", ' Allen ', ' Dalian One ', ' 1976-10-10′ ');Insert into teacher values (", ' Jack ', ' Dalian II ', ' 1975-12-23′ ');It is also possible to type the above commands at the MySQL prompt, but it is not easy to debug.1, you can write the above command as is written in a text file, assuming that school.sql, and then copied to c:\\, and in the DOS state into the directory [Url=file://\\mysql\\bin]\\mysql\\bin[/url], Then type the followi
Command Line
First, make sure that you have not changed the installation directory of MySQL.IfYou renamed or changed your pathTo change your path in the corresponding configuration file.Find the C: \ Windows \ my. ini file, change the path of the file you configured, and change it to the path you modified.
Modify the service path.If your MySQL path is changed, the MySQL service cannot be started. PressW
Command-line command-For example, if you want to add a number to each line in the following text, then you can use the following methodAaaaabbbbCcDddddThe cursor is in the first line, A;: Of course, we can also change the above. command
VI has three basic working modes: command line mode, text input mode, and line end mode. Shows their relationships:
Input A, I, and O in command mode to enter the text input mode)Press ESC in the input mode to enter the command mode)Input in
Environment: CentOS 7
PHP Version: 5.5.20
Description: PHP uses phpize to install the extension readline, after installation can enter the command line interactive mode but after typing the second line of PHP code Error!!
Error:
[Root@localhost readline]# Php-aInteractive mode Enabled
php > $a = ' hello ';Php:symbol Lookup Error:/usr/local/php/lib/php/extensions
Article Title: Linux (FC) Tips for adding a line number in the VI command line. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In command mode of VI, enter ": set nu"
Or modify t
View file contents: Cat/etc/shadow All contentsThe cat command is all outputCat/etc/shadow-n output content and line number, empty industry outputCat/etc/shadow-b output content and line numbers, but no spaces are outputTac/tmp/cat.txt file contents in turn lookShow all results first and then show 15 rows showing the first 15 rows: Cat-n/etc/shadow | Head-n 15Sho
What is the command line parameter of the doscommand? Common Parameter Parsing for batch processing, doscommand line parameters
What is the command line parameter of the doscommand? Common Parameter Parsing for batch processing.
% ~ 1
Expand % 1 and delete any quotation m
Php exports and imports the MySQL database using the command line, and the command line mysql. Php uses the command line to export and import the MySQL database, and the command
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.