Read of Linux Bash programming

Reads a row from the standard input and sends the value of each field in the input row to the specified shell variable.If more than one data is entered, the first data is given to the first variable, the second one to the second variable, and if the

Linux obtains memory information through scripting

#!/bin/shHostname= ' Hostname-s 'echo "==============hostname================"echo "Hostname= $HOSTNAME"Memoryline= ' Free | grep Mem '#字符串转数组Memoryarr= ($MEMORYLINE)echo "==============memory=================="TOTAL=${MEMORYARR[1]}USED=${MEMORYARR[2

DAY3---------Linux operating system directory structure

One, the Linux system file tree-like structure"/" root directory"." Current directory.. Parent directory, both up-level directoryPWD Displays the current directory pathLs. = ls = ls/displays folders, files in the current directoryTAB Auto-CompleteLs-

Linux simple Command 1

CD (change directory) Open Directory LS view current directory under File ls-l list current directory details file information pwd display path name CD. Go back to the beginning of the previous level directory-the file D is a folder ls-a show hidden

Linux file Permissions

$ ls-l/bin/bash-rwxr-xr-x 1 root wheel 430540 Dec 18:27/bin/bash The first character in the field (-) specifies the type of the file, in this case it is a regular file. Other possible first characters are: "D" directory "L" symbolic link "C"

Linux (centOS7.0) virtual machine Environment installation JDK1.8

Read Catalogue 1. Check if the system has a JDK installed 2. Preparatory work 3. Configure Environment variables 4. Verify that the installation is successful Back to top 1. Check if the system has a JDK installed1. Open

Linux environment variables

Loading process for files such as LINUX/ETC/PROFILE,BASHRC and setting of environment variablesReprinted: 69367215Environment variables are typically set in the profile file, If you only want this login shell to be valid, enter it directly in

Linux (Ubuntu) common commands (iii)

View Timecal : Displays the current date.Cal 2018 : Displays the year-round calendar. / cal-y Displays the current year calendar.Date : Displays the current time.These few generally do not use to understand.viewing process informationPS : Displays

linux-46 operation and Maintenance class

Hello everyone my name is Liugen, from Henan Xinyang, Xinyang is a different place Oh!!!We are there is a beautiful place where we eat rice very rarely eat pasta most people's mind is that Henan eat steamed bread and the like I graduated from our

Differences between Centos6 and 7, and between Centos6

Differences between Centos6 and 7, and between Centos6 1. init system The Linux operating system starts from the BIOS and then enters the boot loader. the bootloader loads the kernel and initializes the kernel. The last step of kernel Initialization

Linux basics,

Linux basics, Reading directory Main Content Unit 1 installation and related configuration of Linux Unit 2 UNIX and Linux operating system overview Unit 3 Linux commands and help Unit 4 directory file browsing, Management and Maintenance (1)

Linux serial port user space programming and linux serial port space programming

Linux serial port user space programming and linux serial port space programming Open the serial port: Fd = open (dev, O_RDWR | O_NOCTTY | O_NONBLOCK) Set attributes: # Include // In the compiler, struct termios newtio; newtio. c_cflag | =

Linux redis configuration tutorial, linuxredis

Linux redis configuration tutorial, linuxredis Redis-cli-h 127.0.0.1-p 6379? [-A passwprd] [-n database] set cli1 1? ? ---- Cli Command Execution# RDB Save 900 1 # When one Keys data is changed, refresh to Disk in 900 seconds. save 300 10 # When 10

Configure NFS sharing to share files between linux and linux. nfslinux

Configure NFS sharing to share files between linux and linux. nfslinux Configure NFS sharing to share files between linux and linux. This article uses two virtual machines to simulate Use one of them as the client and one as the service

Jdk 1.8 installation tutorial in centos7, centos7jdk

Jdk 1.8 installation tutorial in centos7, centos7jdk 1. Download the installation package jdk-8u11-linux-x64.tar.gz of jdk1.8 for linux 2. Uninstall the openjdk originally provided by centos and run the command: rpm-qa | grep java. Then, run

Linux user and group management commands, linux user commands

Linux user and group management commands, linux user commandsUseradd command The useradd command is used to create a new user in the format of useradd [Option] username. Parameters Function -D Specify the user's home

Centos7 system redis installation tutorial, centos7redis

Centos7 system redis installation tutorial, centos7redis 1. Download Redis Use wget to download. I downloaded version 3.0.4. 2. Decompress Redis # tar -xzvf redis-3.0.4.tar.gz 3. Compile and install RedisSwitch to the program directory and run the

Advantages of Linux and Linux

Advantages of Linux and Linux People familiar with computers know that Linux has many advantages over Windows, so now more and more computer users are using Linux for office and study. In general, Linux has the following advantages.1. open source

Memcached service,

Memcached service,Introduction It is a data cache system or software. This function is used to cache database data in a dynamic application system to reduce database access pressure and improve performance. In actual application environments, it is

Kubernetes Data Persistence Solution

Kubernetes Data Persistence Solution Before introducing k8s persistent storage, we need to understand the mechanisms and uses of k8s emptydir, hostpath, configmap, and secret. 1. EmptydirEmptyDir is an empty directory. its lifecycle is exactly the

Total Pages: 5467 1 .... 3715 3716 3717 3718 3719 .... 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.