Find is one of our most common Linux commands, but we generally look for more than just look, there will be further operations, this time the role of exec is revealed.
EXEC explained:
The-exec parameter is followed by the command command, which terminates with; For the end sign, so the semicolon behind the command is indispensable, and the preceding backslash i
One, memory unit conversion
byte byte meaning
b is a computer storage of the basic unit (byte);1 English characters are 1 bytes, i.e. 1B;1 Chinese characters are 2 characters, i.e. 2B;
1024b=1kb
1024kb=1mb
1024mb=1gb
1024GB=1TB
two, command DF
Command syntaxDF [Options] [parameters]
Command descriptionThe DF command
The Java.lang.Runtime class makes it easy to invoke the operating system commands, or an executable program, the following small example I tested in Windows and Linux separately, both passed. The rationale is to first return the run-time object associated with the current Java application through Runtime.getruntime () and then call Run.exec (CMD) to start a process to execute the command (CMD is the command
Run the symfony command to create a project. run the symfony command to create a project. Run the symfony command to create a project. run the symfony command to create a project. This document describes how to use the symfony command to create a project. For your reference,
Linux ln command details and usage, Linux ln command details
Linux ln command details and usage
Ln is a very important command in linux. Its function is to create a different link for a file in another location. The most common parameter of this command is-s, the specific u
Linux Command Line input summary, linux Command Line SummaryLinux basic command input
New User: useradd [user name]; Change User name: usermod-l (Note: lowercase letter L) [user name you want] [Existing user name]
After modifying the user name, you must modify the group name. Modify group name: groupmod-n [newGroupName] [presentGroupName] Delete Username: userdel
Encapsulate a request as an object so that you can parameterize the customer with different requests, exclude or record the request logs, and support cancelable operations.
The code is as follows:
/**
* Command mode
*
* Encapsulate a request as an object so that you can parameterize the customer with different requests, exclude requests or record request logs, and support cancelable operations
*/
Interface Comma
To create a project using the Symfony command, the Symfony command creates the project
The example in this article describes how to create a project using the Symfony command. Share to everyone for your reference, as follows:
Overview
This section describes a reasonable structural framework for a symfony project and initializes the project structure with the Sym
Configure the Android development environment, change bash_profile This file, finally somehow only the CD command can execute, I guess the Bash_profile file can be modified after not saving the resulting Save command is: source. bash_profileHere's my solution:1, on the command line, enter:[CPP]View PlainCopyprint?
Export Path=/usr/bin:/usr/sbin:/bin:/sbi
We often find a file in Linux, but do not know where to put it, you can use some of the following commands to search:Which view the location of the executable file.Whereis View the location of the file.Locate to view the file location with the database.Find actual search hard disk query file name.The purpose of the which command is to search for the location of a system command in the path specified by the
We often find a file in Linux, but do not know where to put it, you can use some of the following commands to search:Which view the location of the executable file.Whereis View the location of the file.Locate to view the file location with the database.Find actual search hard disk query file name.The purpose of the which command is to search for the location of a system command in the path specified by the
"Important" command to close a process under the cmd command line━━━━━━━━━━━━━━━━━━━━━━━━━━Method One:Enter in run: ntsd-c Q-PN program name (the role in MS-DOS is the same)Method Two:The NTSD uses the following parameters to kill the process.C:\>ntsd-c q-p pid As long as you can provide the PID of the process, then you can kill the process.Law II:Tskill commandThis com
the KILL command in Linux is used to terminate the run of the specified process (terminate a process)Typically, terminating a foreground process can use the CTRL + C key, but for a background process to be terminated with the KILL command, we need to use a tool such as ps/pidof/pstree/top to get the process PID, and then use the KILL command to kill the process.T
This article tells the Linux command learning Summary: Shutdown command, specific as follows:
Introduction to Commands:
This command can safely shut down or reboot the system. You're not mistaken, shutdown command not only shuts down the system, it can also reboot the Linux system.
We often find a file in Linux, but do not know where to put it, you can use some of the following commands to search:Which view the location of the executable file.Whereis View the location of the file.Locate to view the file location with the database.Find actual search hard disk query file name.The purpose of the which command is to search for the location of a system command in the path specified by the
Redis Command Execution Process, redis command process
This problem is simple and simple. The client sends a command request, the server reads the command request, and then the command executor searches for the command implementa
Fun in the terminal: 6 interesting Linux Command Line tools, linux Command Line
Article link:
Http://hpw123.net/a/Linux/ruanjiananzhuang/2014/1103/117.html
More articles are availableHttp://www.hpw123.net
This article introduces some new interesting commands and single-line scripts, which will surely surprise you.1. pv command
You may have seen simulated subtit
Command Line usage, command line usage
(1) $ indicates to reference the variable in the command. You can set the variable in export.
For example, run echo $ PATH to view environment variables.
Here, the PATH variable is referenced through $ (this is a global variable)
For example:
D
When we directly press a command, b
1. The common form of the find command is;
Find pathname-options [-print-exec-OK...]
2. Parameters of the find command;
Pathname: directory path searched by the find command. For example, use "." To represent the current directory, and use "/" to represent the root directory of the system.
-Print: The find command outp
One linux Command every day (29): chgrp command link: One linux Command every day (1): ls command http://www.bkjia.com/ OS /210210/163049.html#linuxlinuxcommand every day (2): cd command serial (3 ): pwd command Export (4): mkdir
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.