The command line sends an email, and the linux Command Line sends an email.CentOS
Stop or remove sendmail: yum remove sendmail
Yum install postfix
Yum install mailx
Check whether the MTA is Postfix: alternatives -- display mta
If you do not change the default MTA to Postfix:/usr/sbin/alternatives -- set mta/usr/sbin/sendmail. postfix
Detect and start Postfix
service postfix status
service po
Unix/Linux sync command, unixlinuxsync command
Write cache command -- sync
After the unix system is started with the reboot command, the system prompts an error message, and some applications cannot work normally. After carefully checking the system files and comparing them with the initial correct backup, we found th
The programmer must know the FTP command and the programmer's FTP commandProgrammers must know FTP commandsThe format of the file transfer software is FTP LOGIN: (enter a valid user name or "ANONMOUS "):PASSWORD: (enter a valid PASSWORD. If you log on as "ANONMOUS", you generally do not need a PASSWORD ):Section 1 FTP command BasicsAfter you enter the FTP site you want to connect to, you can perform file tr
Php design mode Command (Command mode)
/**
* 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 Command
{
Public function execute ();
}
Class Invoker
{
Private $ _
The crontab command is used to submit and manage tasks that the user needs to perform periodically, similar to the Scheduled tasks under Windows.(1) Usage:Usage: crontab [-u user] Filecrontab [-u user] [-e |-l |-r](2) Function:Features: when the operating system is installed, the Service tool is installed by default, and the Crond process is automatically started, and the Crond process periodically checks to see if there are any tasks to perform, and
RCP stands for "remotefileCopy "(Remote file copy). This command is used to copy files between computers. The RCP command has two forms. The first format is used for file-to-file copies, and the second format is used to copy files or directories to another directory. 1. Command format: rcp [parameter] [source file] [target file]2.
Some shortcut keys for the bash command line:Ctrl +a: Jump to the beginning of the commandCtrl+e: Jump to the end of the command lineCtrl+d: Delete keyCtrl+u: Delete cursor to the beginning of commandCTRL +K: Delete cursor to end of command lineCtrl+l: Clear ScreenHistorical History Command:-C: Clear all inside command
Copyright noticeUpdated: 2017-04-26Bo Master: LuckyalanContact: [Email protected]Statement: Draft not forget to dig well man, reproduced please indicate the source!1 Article IntroductionThis article describes the Linux under command LS.2 Development PlatformScanning development Platform3 Pre-reading instructionsTips, such as pre-known knowledge, which blogs need to be read first4 Article bodyLS (list segment, list split) is used to list files and is a
Tags: new version mask useful file name standard input who file screen dirDirectory Operations
command name
function Description
Examples of Use
Mkdir
Create a Directory
mkdir dirname
RmDir
Delete a directory
RmDir dirname
Mvdir
Move or rename a directory
Mvdir Dir1 Dir2
Cd
Change the current directory
CD dirname
When you use the-EXEC option of the Find command to process matching files, the Find command passes all matching files to exec execution. However, some systems have limits on the length of commands that can be passed to exec, so that an overflow error occurs several minutes after the find command has been run. The error message is usually either "too long" or "pa
Design Mode note Command mode Command
// Conmmand command mode-object behavior mode
/*
1: Intention:
Encapsulate a request as an object so that you can parameterize the customer with different requests; queue requests or record request logs,
And supports unrecoverable operations.
2: alias:
Action, Transaction (Transaction)
3: motivation:
4: Applicability:
1> ab
Sudo command: if you use a Linux Command, the following error occurs: sudolinux
Have you ever received the "Permission denied" error message when running Linux commands? This may be because you are trying to perform an operation that requires the root permission. For example, the following shows the errors that occur when I try to copy a binary file to a system directory.
Shell Access Denied
How can this p
The LS command is the most commonly used command under Linux.The LS command is the abbreviation for list. LS is used to print out the list of current directories if LS specifies a different directory then the list of files and folders in the specified directory will be displayed. The LS command not only allows you to v
This is a creation in
Article, where the information may have evolved or changed.
Go command
The go language comes with a complete set of command-manipulation tools that you can view by executing go on the command line:
Figure 1.3 Go command to display detailed information
These commands are very useful for the code t
First, the following commands, such as Run, CMD, and entrypoint, can be used to execute commands, but each has different characteristics.
Run is executed at the time of build image.
The CMD entrypoint is executed when the image is run.
CMD can be used in conjunction with entrypoint, or it can be used with a single command. When both CMD and entrypoint are present in a dockerfile, the information set in cmd (the exec format) is provid
LS lists directory contents1. command formatls [option] [ directory name ]2. Command functionShow current directory contents,iflsspecify a different directory,then the files and directories in the specified directory will be displayed. throughlscommands can not only viewLinuxfiles that the folder contains,and you can view file permissions(include directory, folder, file permissions),View directory informati
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 viewing the location of an executable file. Whereis viewing the location of a file. Locate to view file locations with a 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 th
Command type:inline command: Shell inlineExternal command: An executable file that has the same path as the command in the file systemEnvironment variables: named memory spaceAssigning values to variables#printenv Display Environment variables#hash Show Cache Hit commandPath: Using: A set of paths separated by0 (1) Fin
Go command
The go language comes with a complete set of command manipulation tools that you can view by executing go on the command line:
Figure 1.3 Go command displays detailed information
These commands are very useful for the code we write in peacetime, and then let us know some common commands.
Go Build
This
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.