linux-Database 2

Operation of Table RecordsIncrease1. Insert a recordSyntax: Insert [into] tab_name (field1,filed2,.......) VALUES (value1,value2,.......);Insert into employee_new (id,name,birthday,salary) values (1, ' Yuan ', ' 1990-09-09 ', 9000);

004-linux Operations Directory Common commands (mkdir)

1,mkdir Creating a DirectoryCreate a directory under the current directory mkdir dir creates a subdirectory that contains subdirectories mkdir-p DIR/T11/T12,rmdir Delete directory Delete directory under current path RMDIR test//must guarantee that

Linux Top command

Top command[email protected] ~]# Toptop-12:40:09 up 8 min, 2 users, load Average:0.01, 0.12, 0.12tasks:455 Total, 1 running, 454 sleeping, 0 stopped, 0 zombie%CPU (s): 1.4 us, 1.9 sy, 0.0 ni, 93.7 ID, 3.0 wa, 0.0 hi, 0.0 si, 0.0thKiB mem:2902976

Linux firewall iptables

I. Iptables INTRODUCTIONIptables is with Linux kernel-Integrated filtering firewall system with three tables (Filter table, NAT table, mangle table), five-strand (input,output,forward,prerouting,postrouting)650) this.width=650; "src="

3.Linux Common basic commands

1. Help ManualMans--help2. Date classData,calCommands for-------------file directory management classes3. Display the current directory pwd4.CD Switch DirectoryCd.. Return to Parent DirectoryCD/Back To/CD ~ Return home DirectoryCd/etc/sysconfig

Linux command--locate

Although the Find command search ability is strong, but for a large number of searches, find search is much slower, especially every time from the entire file system to search, then we can use the Locate command to find, the search is almost

Several ways to view disk IO overhead for Linux

How can I quickly locate the concurrency high due to the large disk IO overhead?There are three ways of doing this: First: Use the CPU information in the top command to observeTop can see the CPU information is:Use methods such as:650) this.width=650

linux[Basic]-07-Common command [01]

Displays when and where the work path and toggle1. Pwd: command to display the current working pathPWD Displays the current working pathPwd–p Show True Path2. CD: switch Work pathcd– switch the last working pathCD ~ Switch Home directoryCd..

Linux Line Editor

Linux line Editor, text editor of some introduction, this is the 13th section, there is a 14th section Oh ~Ed Text editor (oldest editor, VI, etc. are all changed by ed)Ed "-gs" "-P" string "" "File"-G support compatible-P "string" specifies the

A detailed description of the Linux top command parameters

IntroductionThe top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task Manager for Windows.Top display system current process and other

Five common Linux monitoring script codes

Explanation of 2>&1 & in Bash1, first, bash in the 0,1,2 three numbers represent Stdin_fileno, Stdout_fileno, Stderr_fileno, that is, the standard input (usually the keyboard), the standard output (usually the display, accurately speaking is the

A pit with the date command and the sudo command under Linux crontab

Want to add some task plan in root crontab, want to run command with WWW user, and redirect output to a log file named at that time, roughly as follows/usr/bin/sudo-u www/usr/local/php/bin/php/www/open/www.php &>/var/log/xxx_cron_log/www_$ (date + "%

Resolves an issue where Linux virtual machines cannot ping gateways in Vmare workstation

Objective:I used to use the bridge mode configuration, the IP address can be ping, the gateway how all ping does not pass. We might as well switch to a way to change the bridging mode to NAT mode.(1) Modify the Linux virtual Machine network adapter

Linux Compression pack installation JDK

1. Download the JDK Compression pack$ wget http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/ Jdk-8u144-linux-x64.tar.gz? authparam=1502696435_5571ce7f047149139d996be08ed9e54e2. Create JDK Directory$ sudo mkdir-p/

linux[Basic]-07-text file operation [01]

Text File Editor commands Cat: Used to view plain text files (shorter) Format: Cat [Options] [file] Parameters Role -N Show line Numbers -B Show line numbers (blank lines are

Ping in Linux with time and print content to file

The ping command says no more,-I is a time interval,-C is the number of pingsThis is a ping once every 30 seconds and shows the time in the following:Ping 192.168.30.123-i 30 | awk ' {print $ ' \ t ' strftime ("%h:%m:%s", Systime ())} 'This is a log

Test Development Linux Interview three: the operation of the background process

Hi, hello, I am Tom, after the last time to share this brings us new knowledge.Processes are a very important concept in a Linux system. Linux is a multitasking operating system that often runs multiple processes at the same time. We don't care how

Two ways to generate keys in Linux

Two ways to generate keys in LinuxThe SSH service supports a security authentication mechanism, that is, key authentication. The so-called key authentication, is actually using a pair of cryptographic strings, a public key (PublicKey), anyone can

Vi cursor movement command 2, vi cursor command

Vi cursor movement command 2, vi cursor command I. Overview W: Move a word forward with the same punctuation. B: Move a word backward. punctuation marks are the same as words. W: Move a word forward to ignore punctuation marks. B: Move a word

CentOS6.9 compile and install Nginx1.12, centos6.9nginx1.12

CentOS6.9 compile and install Nginx1.12, centos6.9nginx1.12 1: Install necessary LibrariesBash yum install gc gcc gcc-c++ pcre-devel zlib-devel openssl-devel   2: Create Nginx users and groupsBash Groupadd www # create a user. You are not allowed to

Total Pages: 5467 1 .... 2509 2510 2511 2512 2513 .... 5467 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.