c language implements rm command to delete specified files or directories

Linux system api int rmdir(const char *pathname); directories can be deleted. But when using rmdir function, the directory must be empty, otherwise the call fails, the function returns - 1, and the function returns 0 when the execution is successful. You can also delete non-empty directories by using th ...

Posted on Sun, 13 Oct 2019 11:34:12 -0700 by thinguy

Standard version of ACL access control list

A Brief Introduction to Access Control List Access Control Lists (ACL) is a list of instructions applied to router interfaces. These instruction lists are used to tell routers which packets can be received and which packets need to be rejected. Whether a packet is received or rejected can be determined by specific instructions such as source a ...

Posted on Sun, 13 Oct 2019 10:57:05 -0700 by Julian Pedley

Introduction to Julia High Performance Dynamic Programming Language

There are 851 words in this article. It takes about 3 minutes to read! Summary Julia is a "brand new" high-performance dynamic programming language. Two days ago, Julia ushered in a major update of its 1.0 official version. Julia sets Python, C, R, Ruby's strengths, feels like a scripting language, and has good support for intera ...

Posted on Fri, 11 Oct 2019 23:53:16 -0700 by davidwhiteuk

Examples of batch upload files by interface

In the interface test, I encountered a job, uploading a batch of pictures to the server, 12000 +, in a different folder in a folder, due to the excessive upload of files, can only write scripts to upload in batches. It is also a part of automation. After testing and improvement, it is finally completed. During this period, 60 + times failed due ...

Posted on Fri, 11 Oct 2019 20:54:16 -0700 by [Demonoid]

Delete Linux dependency libraries and enter rescue mode recovery

Simulate the dependency library file being deleted and restored in rescue mode System: CentOS7 1. Delete mv dependency library files Delete/lib64/libc.so.6 [root@centos7 Packages]# which mv alias mv='mv -i' /usr/bin/mv [root@centos7 Packages]# ldd /usr/bin/mv linux-vdso.so.1 => (0x00007ffd51946000) libselinux.so.1 => /lib ...

Posted on Fri, 11 Oct 2019 10:39:52 -0700 by nolos

linux Driver for Zyqn pl Interruption in Mill Technology

Zyqn pl interrupt I. objectives On the development platform of Miller Technology zynq, pl interruption is realized by zynq's key switch. Two. Analysis. Schematic diagram Hang on the pl side, need to be on vivado pin locking. The configuration is as follows Of course, the interruption function can be use ...

Posted on Fri, 11 Oct 2019 08:36:36 -0700 by cmanhatton

Combination, Packaging, Polymorphism

Catalog combination What is combination? Why use combinations How to use combination Combination exercises encapsulation What is encapsulation Why to encapsulate How to encapsulate Access Restriction Mechanism What is access restriction mechanism ...

Posted on Fri, 11 Oct 2019 06:56:36 -0700 by doforumda

Shell scripts -- regular expressions

The Concept of Regular Expressions Regular expression: Use a single string to describe and match a series of strings that conform to a certain syntactic ruleIt is composed of ordinary characters and special characters. It is commonly used in script programming and text editor, such as php, python, she, etc. It is abbreviated as regex, regexp, ...

Posted on Thu, 10 Oct 2019 22:24:58 -0700 by keyboard

[Solution] Kali Linux DHCP Automatic Access IP Failure VMWare Bridge

Links to the original text: http://www.cnblogs.com/blackblade/p/3688097.html root@kali:~# service networking restart [....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning) ...

Posted on Thu, 10 Oct 2019 15:21:35 -0700 by balacay

Constructions of E and Isomorphism of Complementary Maps in the Multi-school Training Camp of Niuke in Summer of 2019 (Game 6)

https://ac.nowcoder.com/acm/contest/886#question Question: Whether there exists an undirected graph G with n vertices is the isomorphism of its complement graph H, if there exists an adjacency matrix of output G and the mapping of H with respect to G. Analytical and constructive questions, the answer is not unique. The original graph has the ...

Posted on Thu, 10 Oct 2019 11:30:23 -0700 by kirtan007