Linux study note _ 10_Shell programming _ 2_Shell programming syntax (3)

Iii. select/in [relatively less used]Format: select variable in keywordDoCommand 1......Command nDoneSelect makes every item in the keyword into a similar form and executes the commands between do and done in interactive mode.[Example]#! /Bin/bash#

Linux study note _ 9 _ File System Management _ 4 _ file backup

1. Backup awareness2. backup partition ro or unmount3. Data Compression4. Verify md5sum-c5. encryption processing GunPG asymmetric key encryption] I. potential threats to the SystemSystem hardware fault software fault power fault user misoperation

Modify the linux root Password

Because there are 6 running levels in linux The single-user running level is-1, which is the single-user running level. You can change the root password in this mode. This mode has the following features: Passing parameter 1 or single for the

Linux study note _ 10_Shell programming _ javasshell programming syntax

I. Shell Structure 1 ,#! Specifies the Shell for executing the script 2. # comment the line to describe the role and owner of the script. 3. command and control structure 2. Create a shell program Step 1: create a file that contains commands and

Summary of errors in using the yum repository in linux

1. Disk Space is full when software is installed with yum [Root @ node1 ~] # Yum install ftp -- software installation error ............................... .... error Downloading Packages: ftp-0.17-53.el6.i686: Insufficient space in download

In linux, the PXE environment is used with kickstart to build a network unattended Server Installation System

1. Install and deploy dhcp. 1. Check whether the dhcp service software is installed. If not, install it. [Root @ localhost ~] # Rpm-qa | grep dhcpdhcp-4.1.1-38.P1.el6.centos.i686dhcp-common-4.1.1-38.P1.el6.centos.i686 if the check fails, you can

Linux _ 8_process management _ 1 _ process concept

I. Differences between programs and processes 1. A program is a static concept. It is stored as a software resource for a long time. A process is the execution process of a program. It is a dynamic concept and has a certain life cycle, is

Linux study note _ 9 _ File System Management _ 2 _ file system management commands and case analysis

1. Run the df command to view partition usageCommon options-h,-m2. Run the du command to view the file/directory size.Common options:-H [humanity]Du-h/home/xiaofang-S [statistics]Du-sh/etc3. check and repair the file system fsck [file system check]

Regular Expressions for Linux commands

Zookeeper Special characters ^ Beginning of Line $ End of line . Any character [] Contains the character range. The value "^" indicates the reverse character range. Any character in the range can be

Linux git tutorial

1. Install GIT $ Sudo aptitude install git $ Sudo aptitude install git-doc git-svn git-email git-gui gitk The git package contains most of the Git commands, which are mandatory and the second line is also the Git package, but is released separately.

Linux study note _ 6_2_Debian software package management

C 1. Search for software package information Apt-cache search Apt-cache search yum 2. view the software package information Apt-cache show rpm 3. Install software Apt-get install rpm Option: apt-get reinstall overwrite Installation -F

File for Linux commands

Zookeeper Purpose: View File type information Format: File [OPTIONS...] [FILE...] Main parameters: -- Help Show Help Information -V, -- version Output version information and exit -B, -- brief File Name Not Displayed -F, -- files-fromFILE Read

Using rsync for data backup and synchronization under UbuntuLinux

Background: 0. server data is very important. If the disk is damaged, it will be troublesome. As a manager, it is necessary to synchronize and back up data in real time. 1. rsync is a good backup tool. The following uses Ubuntu as an example to

Linux. Shell programming notes-getting started

This note is based on the introduction of linuxShell programming to a book proficient in learning experiments and related notes. PDF File Download: http://download.csdn.net/detail/ruishenh/6586391Chapter 1 describes three methods to run a linux

High Efficiency tips for Linux Users

In Unix/Linux, the most efficient technique is not to operate the graphic interface, but to operate on the command line, because the command line means automation. Daily In bash, use Ctrl-R instead of the Upper/lower cursor key to search for

Linux text files

1. Without GUI1.1 diff Diff can compare two foldersSyntax: diff [Option] file1 file2 Description: This Command tells you which lines of file1 and file2 need to be modified to make the two files consistent. If "-" is used to represent file1 or fiie2,

Install jdk-6u45-linux-x64.bin under Linuxredhat

1. Download jdk-6u45-linux-x64.bin from OracleDownload file: jdk-6u45-linux-x64.bin2. Copy jdk-6u45-linux-x64.bin to/usr/java 3 go to the/usr/java directory and modify the executable chmod u + x jdk-6u45-linux-x64.bin for the jdk-6u45-linux-x64.bin

How to modify the IP address and gateway of ubuntu

1. Use commands to set the Ubuntu IP Address 1. modify the configuration file blacklist. conf to disable IPV6. Sudo vi/etc/modprobe. d/blacklist. conf The contents of the blacklist. conf file in The modprobe. d folder in the etc folder are edited

Linux cluster management tool pssh batch Server Management

If you have multiple servers and one server is logged on for management, it cannot be said, so the batch management tools have emerged. If you have set SSH password-less Logon: ssh-keygen -t rsassh-copy-id user@host By distributing the key to the

Enable php mail () in Ubuntu and solve the slow speed problem

If you need to use the mail () function of php to send emails, you need to install the sendmail component on the server. This is also introduced in the mail () function section of the php manual. Then Install the sendmail command in Ubuntu: Sudo

Total Pages: 5467 1 .... 5155 5156 5157 5158 5159 .... 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.