Scenario linux--How to Solve the Hard Coding Problem of read Command

scene We know that the read command reads the contents of the file and assigns them to variables. Take the following data file as an example. $ cat data.txt 1 201623210021 wangzhiguo 25 2 201623210022 yangjiangbo 26 3 201623210023 yangzhen 24 4 201623210024 wangdong 23 5 201623210025 songdong 25 The four columns of the above documents are index ...

Added by Saethyr on Mon, 24 Jun 2019 00:20:47 +0300

One Order a Day - Order Help

One Order a Day - Order HelpHow to learn a bash command systematically:Requirements, understand the format of commands, options, help manuals, cases, exercises, extensions.What effect do you want to achieve? Do you have such commands, the format and use of commands, what other options do you have, the complete help manual in the system, what ar ...

Added by TitanKing on Sat, 22 Jun 2019 23:13:14 +0300

Hacker Attack and Defense Technology - System Actual Warfare Chapter 2 - Stack Overflow 1

References "The Treasure Book of Hacker Attack and Defense Technology - System Actual Warfare" 2nd Edition Original works, typing is not easy, reprint please note Stack buffer overflow has always been the most popular, we understand one of the most thorough security issues. Although stack buffer overflow is one of the most well-kno ...

Added by jd6th on Thu, 20 Jun 2019 22:11:19 +0300

Chapter 12 Timing Tasks

Contents of this article: 12.1 Configure Timer Tasks 12.2 crontab file Debugging 12.3 crond command 12.4 Task Schedule Accurate to Seconds 12.1 Configure Timer Tasks First, you need to understand the concepts: (1).crond is a daemon class program with a path of / usr/sbin/crond.The default will start in background mode, and crond will start in ...

Added by fonecave on Thu, 20 Jun 2019 19:51:07 +0300

Chapter 13 Network Management for Linux

Contents of this article: 13.1 Linux Packet Forwarding 13.2 Several network-related file descriptions 13.2.1 Network Card Profile ifcfg-* 13.2.2 DNS Profile/etc/resolve.conf 13.2.3 /etc/udev/rules.d/70-persistent-net.rules 13.2.4 /etc/services 13.3 Network Interface Configuration and Host Name 13.3.1 ifconfig 13.3.2 ifcfg 13.3.3 hostname comman ...

Added by jsschmitt on Thu, 20 Jun 2019 01:14:54 +0300

MongoDB Replica Set Construction

Usually, clustering is required to prevent single point of failure applications. However, in addition to preventing single point of failure in the database, we also need to do database backup, read-write separation, fault transfer and so on. MongoDB's Replica Set meets these requirements. Replication integrator Members of Replica Set are a coll ...

Added by redrage on Mon, 17 Jun 2019 22:05:16 +0300

MongodbMongodb Replication and Fragmentation

(1) MongDB replication (replica set)MongDB replication is the process of synchronizing data to multiple servers.Replication provides redundant backups of data and stores copies of the data on the server to improve data availability and ensure data security.Replication allows you to recover data from disruptions in hardware and services and is ...

Added by volant on Fri, 14 Jun 2019 20:44:45 +0300

Technical dry goods: Linux Shell programming foundation, read this article is enough!

Programmer's Workbench Technical dry goods: Linux Shell programming foundation, read this article is enough! Copyright Statement: This article is an original article of cdeveloper, which can be reproduced at will, but the source must be indicated in a clear location! Summary of this article This paper mainly introduces the basic knowledge o ...

Added by frosty1433 on Wed, 12 Jun 2019 22:23:14 +0300

HBase-Shell-Data Structure-Principle

Chapter 3 HBase Shell operations 3.1 Basic Operations 1. Enter the HBase client command line [lxl@hadoop102 hbase]$ bin/hbase shell   2. View Help Commands hbase(main):001:0> help   3. See which tables are in the current database hbase(main):001:0> list TABLE ...

Added by josephferris on Tue, 11 Jun 2019 20:44:07 +0300

Data Query in MongoDB

Preparing data db.stu.insert({name:'Guo Jing',hometown:'Mongolia',age:20,gender:true}) db.stu.insert({name:'Huang Rong',hometown:'Taohua Island',age:18,gender:false}) db.stu.insert({name:'Yang Kang',hometown:'daikin',age:20,gender:true}) db.stu.insert({name:'Mu Nianchi',hometown:'Song',age:18,gender:false}) db.stu.insert({name:'evil east',h ...

Added by zeropaid on Mon, 10 Jun 2019 01:56:14 +0300