Doscommand shell command bat command to execute Java class files and jar files
1. run Java without a package name
ProgramCompile it into helloworld. Class and run it in the directory where the class is located:
Java helloworld
2. Run a
1. General methods
Regedit/E c: \ 3389.reg "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ winstations \ RDP-TCP"
Type C: \ 3389.reg | find "portnumber"
Del c: \ 3389.reg
2. XP and 2003Reg query
ShellA process is a process that executes other processes, but when executing a command,ShellThe process instructs the kernelProgramRun the command separately as another process and write the output to the terminal.
Through Command Options, we
Run manage. py dB shell. An error occurs: sqlite3 is not an internal or external command, nor can it be run.
ProgramOr batch files
To operate the sqlite3 database in Python 2.5 or later, two components are required:
1. DB-API modules2. sqlite3
#! /Bin/bashwhile [1] Do A =$ (ifconfig eth0 | grep 'rx PAC '| awk' {print $2} '| awk-F: '{print $ NF}') echo-ne "$ A \ r" # refresh data done without line breaks
EchoParameter number:-N. Do not wrap the line at the end.-E if the following
Mysql1 # Cat mysqlbackup. Sh#! /Usr/local/bin/fish # The backup policy is daily full backup # Setting backup path variables Set backupdir/usr/DB/backup # Generate a backup directory Mkdir-p $ backupdir # Delete a backup that has been backed up for
Http:// OS .51cto.com/art/200910/158857.htm
This article describes the basic knowledge of Linux script shell commands in detail, including: 1, 2, comment, 3, variable 4, environment variable, 5, Linux script shell commands, and process control.
From: http:// OS .51cto.com/art/200912/165922.htm
Write a script to check whether a file exists. If so, output its details. If not, the system prompts that the output file does not exist. Before providing this script, let's take a look at the
From: http:// OS .51cto.com/art/200912/165925_1.htm
Location Parameter $1, $2 ,..., $ N, $ # represents the number of parameters in the command line, $0 represents the Script Name, the first parameter represents $1, the second parameter represents $2
1.#-------------------------------------------------------------------------9 # Note that there must be no spaces before and after the assignment.10 # what will happen if there is a space?1112 # If "variable = value ",13 # ^14 # + the script will
I recently looked for a job. I took a pen test to get the Sorting Algorithm and reviewed the hill sorting. I didn't even understand it when I checked it all over again !!! ⊙ B Khan, So I sorted out the problems I encountered when I checked the code
Conditional statement if-then Structure
If [condition]ThenCommandsFi
Note: To put then and if in the same row, you need to write the following:If [condition]; thenIn shell.
In addition,There must be a space between [] and condition !!!For more
In Linux applications, there are many ways to call my shell (which is too powerful): fork (), exec * (), pipe, system () in this example, the system ()
It is very convenient to call. It is explained now.
# Include
# Include
Int main ()
{
The traffic of the database server, image server, FTP server, and other NICS is usually relatively large. Therefore, we need to perform necessary monitoring measures to determine whether the NIC will become a bottleneck, you can also set up a
CTRL + a switch to the command line
CTRL + e switch to the end of the command line
CTRL + l clear screen content
CTRL + u
ClearCut the content before the cursor
CTRL + k cut
ClearContent after the cursor
CTRL + y copy the content in the
Syntax
Wshshell. regwrite strname, anyvalue, [strtype]
ParametersStrnameIf strname ends with a backslash (\), this method sets the key instead of the value.The strname parameter must start with the root key of the following column.
Short longHkcu
How to decompress shell commands in Linux
This section roughly summarizes the compression and decompression methods for various formats of compressed packages in Linux. But I didn't use some methods,That's not all. I hope you can help me with this.
Link: http://bbs.chinaunix.net/archiver/tid-508290.html
The main steps are as follows:
1. generate key pairs for local users running shell scripts2. Distribute the public key to the remote server that SFTP wants to log on.3. Write and run shell
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.