RPM is a "Add/Remove Program" in Windows like Redhat Package Manager (Redhat Packages management tool)RPM Execution Installation packageBinary packages (binary) and source code packages (sources) are two types. Binary packages can be installed directly on the computer, and the source code package will be automatically compiled and installed by RPM. Source code packages often use src.rpm as the suffix name.Common C
parses and executes the file followed by the command.
2. you can directly use phpinfo (), a very valuable debugging tool, in the Linux command line without calling it from a file. you only need to execute the following command:
# php -r 'phpinfo();'
PHP debugging tool
Here, the '-R' option will remove the PHP code fr
The following is an illustrated way to share the use and running of PHP scripts through Linux commands.
PHP is an open source server-side scripting language, which initially represents the "Personal home Page", and now represents "Php:hypertext preprocessor", which is a recursive acronym. It is a cross-platform scripting language, deeply influenced by C, C + +, and Java.
Running PHP code on the Linux command
be any GGSCI command object or wildcard, such as EXTRACT, REPLICAT, or MANAGER. Bytes
Indicates the name of a Windows or UNIX user group. On UNIX systems, you can specify the number
Replace the group name with the group ID. You can also use wildcards to specify all groups.
Bytes
The name of a Windows or UNIX user. On UNIX systems, you can specify numbers
You can also
Use the cmd.exe command in Java
Keywords: Java cmdJava runtime.getruntime(cmd.exe C (commandtext) can call and execute the CMD command.
CMD/C dir: Close the command window after executing the Dir command.
CMD/K dir does not close the co
Use the netsh command in Windows to back up network settings
Http://anheng.com.cn/news/23/301.html
In the process of network fault recovery, one of the important tasks is to restore the server network settings.Netsh is a command line script uti
recorded, only for study, review use. ****************************Learning environment: Ubuntu 16.04.2 LTS 64-bitThe CP command is used to copy one or more source files or directories to a specified destination file or directory. It can copy a single source file into a specific file with a specified file name or a directory that already exists. The CP command als
from:linux a script to compress a photo or picture (ImageMagick, convert,import,display instance) with a command line
Before I know ImageMagick, I use the image browsing software is kuickshow, screenshot software is Ksnapshot, these two software are KDE software, use it is quite convenient. In an accidental opportunity, I met ImageMagick, only to find that Linux
Use the mail command in CentOS to send emails
The mail program on the Linux server calls sendmail to send mails. The sendmail server provides the function of sending mails externally. By default, you cannot send emails to CentOS. you can install a sendmail program for the children's shoes that need to send emails.
[root@ProxyServer~]
#yum-yinstallsendmail
[root@ProxyServer~]
#/etc/init.d/sendmailstart
Start
Jar files are Java archive files, which are closely related to Java and are a document format of Java. Jar files are very similar to zip files-specifically, they are zip files, so they are called file packages. The only difference between a jar file and a zip file is that the content of the JAR file contains a META-INF/manifest. MF file, which is automatically created when the JAR file is generated.
Jar command details
Jar is installed with JDK. in th
Start-> Run, enter: Set press ENTERYou can list the current system environment variables and user environment variables. 1:
(Figure 1)
You can set a user environment variable. Enter: Set hosts = C:/Windows/system32/Drivers/etc and press Enter.We can use the set press enter to list the current system environment variables and user environment variables. We can find that the hosts environment variables are also in the list,This variable is successfully
Examples of Linux netcat commands:1, Port scanPort scans are often used by system administrators and hackers to discover ports that are open on some machines to help them identify vulnerabilities in the system.$NC-Z-v-n 172.31.100.7 21-25Can be run in TCP or UDP mode, by default the Tcp,-u parameter is adjusted to UDP.The z parameter tells Netcat to use 0 IO, close the connection immediately after the connection is successful, and do not exchange data
Using the previous command on a Linux Terminal to reduce keyboard input and keyboard input can greatly improve the efficiency of programmers. the use of shortcut keys is a good example. Programmers often use terminals. Is there a similar shortcut on the terminal that can improve our efficiency? How programmers work... information
is displayed: Chkdsk cannot run because the volume is on use by another processwould what do I schedule To be checked the next time the SYStem restarts? (y/n) If you choose to check the drive the next time you restart the computer, CHKDSK automatically checks the drive and fixes the error after you restart the computer. If the drive is partitioned as a boot partition, CHKDSK automatically restarts the computer after the drive is checked. The report d
Usage of AT commands for scheduled tasks (one-time scheduled tasks) in Linux
1. Command Format:
At [parameter] [time]
2. command functions:
You can run a specified task only once at a specified time. You must enable the ATD process (PS-Ef | grep ATD view, and enable/etc/init. d/ATD start or restart; run chkconfig -- level 2345 ATD on when starting the system ).
3.
Executable files
All PHP distributions, whether compiled from source code or pre-created versions, contain a PHP executable file by default. This executable file can be used to run the PHP program of the command line.
To find this executable file on your system, follow these steps:
In the Windows operating system, the scripts are stored in the main PHP installation directory, and the file name is php.exe.exe (in the old PHP, php-cli.exe is used.
In L
How to Use the MYSQL Command Line for beginners
MYSQL beginner's guide and introduction
1. Connect to MYSQL.
Format: mysql-h host address-u user name-p User Password
1. Example 1: connect to MYSQL on the local machine.
First, open the DOS window, enter the directory mysqlbin, then type the command mysql-uroot-p, and press enter to prompt you to enter the passwor
by last modification time.-X stay on current filesystem only.-L level Descend-directories deep.-A Print ANSI lines graphic indentation lines.-S Print with ASCII graphics indentation lines.-N Turn colorization off always (-C overrides).-C Turn colorization on always.-P pattern List only those files that match the pattern given.-I pattern do not list files that match the given pattern.-H basehref Prints out HTML format with BaseHref as top directory.-T string Replace the default HTML title and H1
Use the nmcli command in RedHat/CentOS 7.x to manage the network
The default network service in Red Hat Enterprise Linux 7 and CentOS 7 is provided by NetworkManager, which dynamically controls and configures the network daemon. It is used to keep the current network device and connection in the working state, it also supports configuration files of the traditional ifcfg type.
NetworkManager can be used for
Use the Linux Command Line to manage DigitalOcean VPS water drops
DigitalOcean is the most popular newborn in the cloud VPS host market. Although it does not provide integrated services like Amazon, DigitalOcean is positioned for small and medium-sized enterprises and developers and has become a strong competitor of the best cloud VPS Service Based on Linux, this is all due to their competitive prices and u
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.