For every system administrator or network administrator, it is very difficult to monitor and debug Linux system performance issues every day. I've had 5 years of experience working with Linux administrators and know how to monitor the system to keep it running properly. To do this, we have written 20 command-line system monitoring tools that are useful and most commonly used by Linux/unix system administrat
Command line Bash:.....:command not found solution (almost all commands) command line Input command execution post "Bash:....:command not found" this is due to system path setup issues,
mem REG 104,2 1693812 196454/lib/libc-2.5.soinit 1 root mem REG 104,2 20668 196479/ Lib/libdl-2.5.soinit 1 root mem REG 104,2 245376 196419/lib/ Libsepol.so.1init 1 root mem REG 104,2 93508 196431/lib/libselinux.so.1init 1 root 10u FIFO 0,17 953/dev/initctl4. tcpdump-Network Packet AnalyzerTcpdump is one of the most widely used
The title, first we on the desktop, start-> run-> type cmd Enter, enter the Windows command line. Enter the picture as shown:
The current default directory is the Administrator folder under the C Disk Users folder. Generally speaking, we are accustomed to changing the current directory. Because Windows has a disk partition, to jump to another disk, such as e disk, there are several ways:
1. Input
is to log in directly from the command line by entering MySQL.Reference: http://www.jb51.net/article/116488.htm1) Create a new directory in the home directory. My.cnf. The format is as follows:[Client]Password=your_passUser=your_user2) Change permissions chmod. my.cnf. (I later changed it to 777 permission to log in)3) Enter MySQL on the command
Write an email from Ubuntu at the command line Reference:Http://www.habadog.com/2011/11/23/send-mail-with-msmtp-mutt-linuxHttp://www.absolutelytech.com/2010/07/17/howto-configure-msmtp-to-work-with-gmail-on-linuxMSMTP is a dedicated client software for mail delivery, based on the GPL, support TLS/SSL, DNS mode, IPV6, server-side authentication, multi-user and other features.Its homepage is msmtp.sourceforge
-linux process and service monitoring toolsMonit is a free open source software and a web-based process monitoring tool. It can automatically monitor and manage system processes, programs, files, folders, permissions, sum verification codes and file systems.This software can monitor services like Apache, MySQL, Mail, FTP, ProFTP, Nginx, SSH, and so on. You can use the command line or the network excuse prov
Often see the author of the Linux software in the introduction of the installation software, in front of the command with a backslash, do not understand the meaning of the data later to know that this is to cancel the call of the alias, using the original command.Alias is a shell built-in command that can be used to set the alias of a command, such as using the a
is important to note that, like the-C option above, the following are optional parameters, if you need to pass a parameter to the-C option, you must use this method:#./getopt.sh -b 123 -a -c456 file1 file2 Option b, argument 123Option aOption c, argument 456processing file1processing file2#./getopt.sh --blong 123 -a --clong=456 file1 file2 Option b, argument 123Option aOption c, argument 456processing file1processing file2This article from the night of the alarming blog, reproduced please reta
Fast cursor Movement----------------------------------------CTRL + a jumps to the beginning of the commandCtrl+e jump to the end of the command line-----------------------------------------Delete the contents of a command-----------------------------------------Ctrl+w Delete the previous word of the cursorCtrl+u Delete the character from the beginning of the curs
In Android, in addition to starting a program from the interface, you can start the program from the command line, using the command-line tool AM.
Copy Code code as follows:
usage:am [subcommand] [options]
Start an activity:am start [-d]-d:enable debugging
Send a broadcast intent:am broadcast
Start
MAC OS X command line control WiFi command
MAC command line to view the current WiFi network device name
1 2
Networksetup-listallhardwareports//or use Ifconfig to find the Wifi device name
My results are as follows: You can see that my Wifi device
Ubuntu14.04 + mutt + msmtp configure the command line mail client in linuxInstall software msmtp mutt
apt-get install -y msmtp mutt
Configure msmtp
After the installation is complete, configure msmtp first. The default configuration file varies with the operating system version and can be viewed through msmtp -- version.
# msmtp --versionmsmtp version 1.4.31Platform: x86_64-pc-linux-gnuTLS/SSL library: GnuT
#python startup fileImportReadLineImportRlcompleterImportatexitImportOS#Tab CompletionReadline.parse_and_bind ('Tab:complete')#History FileHistfile = Os.path.join (os.environ['HOME'],'. Pythonhistory')Try: Readline.read_history_file (histfile)exceptIOError:PassAtexit.register (Readline.write_history_file, Histfile)delOS, Histfile, ReadLine, RlcompleterSave the above file as. Pythonstartup and store it in the user's Home directory, window under C:\Users\Administrator, Linux in/root or/home/xxx di
First make sure you haven't changed the installation directory for MySQL.If you have renamed or changed your path , change your path in the appropriate configuration file.Locate the C:\Windows\my.ini file, change the path to the file you configured, and modify it to your modified path.
Modify the path for the service.If your MySQL path changes, then the MySQL service will naturally not start, press win+r key, enter Services.msc to see if the path is correct.
If the registration list is not o
Early knowledge of sed and gawk in Linux Command Line and shell script ProgrammingThe sed editor of the Text Processing editor can process data in a data stream based on commands that are input to the command line or stored in the Command text file. It reads a row each time,
Ubuntu14.04 + mutt + msmtp configure the command line mail client in linux, muttmsmtpInstall software msmtp mutt
apt-get install -y msmtp muttConfigure msmtp
After the installation is complete, configure msmtp. The default configuration file varies with the operating system version.msmtp --version.
# msmtp --versionmsmtp version 1.4.31Platform: x86_64-pc-linux-gnuTLS/SSL library: GnuTLSAuthentication librar
Distributors ADD CONSTRAINT zipchk CHECK (char_length (zipcode) = 5);
Deletes the OMV constraint for a table and all of its child tables:
ALTER TABLE Distributors DROP CONSTRAINT Zipchk;
Add a FOREIGN KEY constraint to the table:
ALTER TABLE Distributors ADD CONSTRAINT DISTFK FOREIGN KEY (address) REFERENCES addresses [address] MATCH full;
Add a (multiple-field) Unique constraint to a table:
ALTER TABLE Distributors ADD CONSTRAINT dist_id_zipcode_key UNIQUE (dist_id, ZipCode);
To add an
~ /. Msmtprc
$ VI ~ /. Msmtprc
Account 163
TLS on
Tls_certcheck off
Tls_starttls off
Auth on
Host smtp.163.com
User Username
From [email protected]
Password
Port 465
5. Add the following lines ~ /. Muttrc = =
Set folder = ~ /Mail
Mailboxes + inbox
Mailboxes + linux
Set Sendmail = "/usr/bin/msmtp"
# The mail_address name displayed on the mail list.
Set From = "mail_address"
Set pager_stop = Yes
Set beep = No
Set Signature = "~ /. Signature"
Set co
For system and network administrators, it is a heavy task to monitor and debug the performance of Linux systems on a daily basis. After 5 years working as an administrator in the IT field as a Linux system, I gradually realized how difficult it was to monitor and keep the system up and running. For this reason, we have written a list of the 18 most commonly used command-line tools that will help each Linux/
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.