#!/bin/bash#读取文件内容到变量中
Filecontent= ' Cat ~/file.txt ' is the TAB key on thatEcho $filecontent#取得文件内容的每一行
For Fileline in $filecontentTodoEcho $filelineDone#写内容到文件中
echo $filecontent >> test.txt
Bash built-in UNIX command
.: Executes the
1. Universal theory
The DNS servers are divided into:Master (Primary DNS server): A file that has zone data and manages the entire zone's data.Slave (from a server or a secondary server): a copy of the zone file with the primary DNS service, the
First, Redhat/centos installation vsftp software
1. Update Yum Source
First need to update the system Yum source, convenient tool download address: http://help.aliyun.com/manual?spm=0.0.0.0.zJ3dBU&helpId=1692
2. Install Vsftp
Install vsftp using
1, download SBT Universal Platform Compression package: sbt-0.13.5.tgz
Http://www.scala-sbt.org/download.html
2, the establishment of the directory, extract files to the established directory
$ sudo mkdir/opt/scala/sbt$ sudo tar zxvf sbt-0.13.5.
IPV6 has been clamoring for years, but the General Service is mainly IPV4, although many applications or Web servers have provided IPV6 access, but it is estimated that the distance is much longer. Compile nginx must compile:--with-ipv6, otherwise
Before the deluge introduced a very user-friendly interface (view), but once the interface is installed it means that you have to sacrifice more memory. Today, the micro-demon to introduce a small BT download software, text interface, save memory,
I. INTRODUCTION
Now almost all walks of life have built their own servers, because of the special status of the server, its reliability, availability and I/O speed is very important, maintaining high availability and security of the server is an
Statement to view file permissions:
In the terminal input:
Ls-l xxx.xxx (xxx.xxx is file name)
Then there will be similar messages, mostly these:
-rw-rw-r--
A total of 10 digits
Which: the front one-represents the type
The middle one of the three rw-
(1) Its grammatical format is:Cut [-bn] [file] or cut [-c] [file] or cut [-DF] [file]
Instructions for useThe cut command cuts bytes, characters, and fields from each line of the file and writes the bytes, characters, and fields to the standard
Today in the company installed a bit VNC, the evening is fine, just record it, or the next installation will have to Google ^_^
Introduction to VNCCan not exception, simply introduced under VNC bar.VNC, all known as virtual network Computing, is a
Let's take some text for example. Suppose we have 2 files, which have orders about where to place the third party and send a response.Cat Order.out.log8:22:19, 1, Patterns of Enterprise Architecture, Kindle Edition, 39.998:23:45 112, 1, Joy of
One: Overview
The purpose of this article is to describe how to use open source software procmail and Qpopper to configure a POP3 server that can be used by a large number of users, with a focus on maintaining optimal server performance.
Two:
1. grep Introduction
grep (Global search Regular expression (RE) and print out of the line, a comprehensive search for regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and
Describes what happens when a user logs on and logs off. More detailed description of the background process of various interactions, log files, configuration files, etc.
Login via terminal
First, Init confirms that a Getty program is provided to a
Boot automatically login Linux, and automatically run the Xwindow application, has its special application background, such as based on Linux platform monitoring system, Linux does not need authentication after startup, and directly run the
This paper introduces a method of using two serial ports of Linux server to build dial-up server, and remote users can connect to LAN through dial-up, so as to facilitate information transmission and resource sharing.
The author's configuration
We have previously introduced ways to improve the speed of the system by optimizing the configuration of the desktop environment, but in other respects we can also configure it to improve the speed of the system.
First, improve the data transmission
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
File type permission belongs to the main group directory name/file nameDRWX------2 Alice girls 4096 September 11:33 AliceDRWX------2 Rose girls 4096 September 10:47 RoseDRWX------2 Tom boys 4096 September 10:43 TomFile type:-Normal file D directoryO
The Raspberry Pi file directory is a must-have basic knowledge. Understand the distribution of files within the system.
Structure of the Directory
The role of the directory
Reference Blog/bin Binary executable command /dev
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