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
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
the path defined by the PATH environment variable, the command to be executed the first time it is foundDirect completion: Tab, the user given a string with only one single corresponding commandIndirect completion: The user given a string for the beginning of the corresponding command is not unique, double-click tab to give all the list of satisfied conditions3. Path completionTake the user-given string as
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
:--rotate ADB Shell Screenrecord--rotate/sdcard/demo.mp4 Description: This feature is experimental, experiments on NEXUS6 devices, recorded video playback is also rotated 90 degrees play, experience is not very friendly. 5. Export Video: ADB pull/sdcard/demo.mp4 d:/ Description: The location of the exported video is under the D-Packing directory with the name Demo.mp4 Second, the use of recording function in Ddms 1. Use DDMS on the command
This article mainly introduces the PHP command line use method and command-line parameter description, need friends can refer to the followingThe code is as follows: [Root@localhost/]# [root@localhost/]# php-r ' Var_dump (true); # do not need sex) [Root@localhost/]# [root@localhost/]# cat test.php command
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!
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
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
AmazonS3 is a cloud storage provided by Amazon Web Services (AWS. AmazonS3 released a set of network service interfaces on top of commercial services or client software developed by many third parties. This tutorial describes how to use Linux command lines to access Amazon tags: Linux command cloud storage Amazon
Amazon S3 is a cloud storage provided by Amazon We
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
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
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.