Common operations for Databases in Linux

1-Connect to the database:- - -P xxxxx @xxx : ~ $ mysql - h localhost - u jiangbiao - penter password:welcome to the MySQL Monitor. Commands end with ; or \g.your MySQL Connection ID is 2444832 server version: 5.5 . 40 - log Source

Linux Core Knowledge

1,LINUX file structure: An inverted tree with a/root directory.2,linux's main folder:/: root directory, which is the entry for all files. Everything is a file.Bin: is a command program, startup program or Close command, is a command that all users

Three time for Linux files

Three times about the file:1, mtime recently modified the file time, atime recently accessed the file time, ctime Recent file status changes, such as file attributes, owner, link changes.2. The time displayed with Ls-l is the time when the file was

The regular practice of Linux

Regular practice1.通过awk获取IP地址[[email protected] ~]# ifconfig eth2 | grep inet inet addr:10.3.151.25 Bcast:10.3.151.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fe80:6e7e/64 Scope:Link[[email protected] ~]#

Linux Awk Easy to understand

Awk simply understandsawk作用:过滤、输出内容$1 第一列, $2 第二列依次类推,NR行号,但$0表示一行,NF表示最后结尾一列-F 指定分隔符。例子:打印/etc/passwd文件的第一行(NR==1),$0 表示一行[[email protected] ~]# awk ‘NR==1 {print $0}‘

Condition variables in Linux

1 You may know that a mutex is a necessary tool in a threaded program, but it cannot be omnipotent, such as when a thread is waiting for a condition of shared data to occur. It is possible to repeatedly attempt to lock and unlock the mutex to check

Linux modifies the system time for a single application

Brief introductionHere is a simple example of libfaketime.It is often necessary to test the modification time at work, and if the environment does not allow the adjustment of time, try to adjust the time of the individual process.Compiling the

First assignment: Process model analysis for Linux 2.6

First, what is the process?According to my understanding, the process can be understood as the image of the program . A program is a description of the instruction, the data, and its organization, and the process is the entity of the program.

Network management of Linux

Network FundamentalsCommon topological structureStar typeTotal LinetypeRing typeCommunication modeUnicastBroadcastingMulticastNetwork cableTwisted pair: 4 pair, 8 rootShielded twisted pair STPunshielded Twisted Pair UTPTwisted pair Line

Linux Common Commands 3

find/root/-type f-name "Test1.txt" |xargs CatXargs put the previous result in the back one to deal withDelete command:Find/root/data-type f-exec rm-f {} \;Find + path + "-type" + type + "-exec" + process + Find result {}\;find/root/data/-type

Linux independent Redundant disk array introduction

RAID (Redundant array of independent disk independent Redundant array) technology was proposed by the University of California, Berkeley, in 1987, initially to combine small, inexpensive disks in place of large expensive disks, while hoping that the

Build the JDK inside the test environment with Linux commands

I. Preparation of documents1.1 File nameJdk-8u121-linux-x64.tar.gz1.2Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlSecond, tool preparation2.1 XshellA powerful secure terminal emulation software that supports SSH1

Linux Disk Management

1. Open the virtual machine CD drive to add a disk and restart the Linux system after creation2, the following to partition the diskCreate an extended partitionTo establish a logical partition on an extended partitionIn establishing a logical

Linux Installation Jenkins

First install a JDK, if not installed can view my article Linux installation jdkThen use the following commandsudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.reposudo rpm --import

Linux Server Configuration JDK

1. View the Java version[Email protected] ~]# java-versionJava Version "1.8.0_121"Java (TM) SE Runtime Environment (build 1.8.0_121-b13)Java HotSpot (TM) 64-bit Server VM (build 25.121-b13, Mixed mode)2. Upload the JDK file to the specified

Linux USB Gadget Framework Overview

Fortunately, in the company developed gadget related driver, summed down, greatly and small developed four gadget-related drivers, character drivers, G_multi, G_ether, G_zero, here to gadget the development of their own sentiment recorded.To

Linux-maven deployment

First, what is MAVEN?Second, MAVEN deployment1. Environmental information:(1) centos7.3(2) jdk1.8(3) maven3.5.32. Installing the JDK(1) "http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"(2) Deploy

Linux Users and Groups

We know that Linux is a multi-user multitasking operating system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as the account. Because it is a multi-user operating

Linux environment variable problem

environment variable Extension:The difference between/etc/profile,/ETC/BASHRC,. Bash_profile and. BASHRCWhen the user logs on to the Linux operating system, "/etc/profile", "~/.bash_profile" and other configuration files will be automatically

Linux python2.6 Upgrade 2.7

1. Prepare the installation package, the system is minimized installation# Download and install dependencies related packages[[email protected] ~]# Yum install vim gcc make wget-y[[email protected] ~]# yum install openssl-devel zlib-devel Readlin

Total Pages: 5467 1 .... 5461 5462 5463 5464 5465 .... 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.