Comparison of Linux directories

causes:Because the two companies servers are backup, directory structure, files should be the same, first found that some directory data inconsistencies. Find inconsistent directoriesidea: to take out each layer of the directory to do a unified

Linux adds rpm packages to local yum sources

The required packages are missing from the local Yum source currently in use and need to be added manually, and the add step is documented below.1, find the specific location of Yum, such as my in the/VAR/WWW/HTML/YUM/CENTOS/7 directory, view the

Linux 14 Week Lesson (May 9) Notes

14-Week Lesson (May 9)14.1 NFS Introduction14.2 NFS server-side installation configuration14.3 NFS Configuration options14.1 NFS IntroductionThe same data is guaranteed for 3 machines. A high load, in order to share the load, found two servers B and

Several ways to empty files under Linux

When we use the Linux system, we often want to clear some files, such as: Some log files, the following describes several commonly used Linux file zeroing method:1. Using redirects[[email protected] ~]# du-h test.txt # view File size

Linux Study Notes 14 week Lesson (May 9)

14.1 NFS Introduction14.2 NFS server-side installation configurationServer installs nfs-utils and rpcbind; client only installs Nfs-utils#yum install-y nfs-utils Rpcbind#vim/etc/exports/home/nfstestdir192.168.133.0/24 (rw,sync,all_squash,anonuid=1000

Linux Core Knowledge

1,LINUX file structure: An inverted tree with a/root directory.2,linux's main folder:/: root directory, which is the entry for all files. Everything is a file.Bin: is a command program, startup program or Close command, is a command that all users

2018-05-10 Linux Learning

14.4 Exportfs CommandCommon options-A all mount or uninstall all-R Re-mount-U Uninstalls a directory-V Show shared directory以下操作在服务端上 vim /etc/exports //增加 /tmp/ 192.168.133.0/24(rw,sync,no_root_squash) exportfs -arv

Three time for Linux files

Three times about the file:1, mtime recently modified the file time, atime recently accessed the file time, ctime Recent file status changes, such as file attributes, owner, link changes.2. The time displayed with Ls-l is the time when the file was

The regular practice of Linux

Regular practice1.通过awk获取IP地址[[email protected] ~]# ifconfig eth2 | grep inet inet addr:10.3.151.25 Bcast:10.3.151.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fe80:6e7e/64 Scope:Link[[email protected] ~]#

Examples of regular expressions for Linux

Regular expression Instances文件内容:I am oldboy teacher!I teach linux.Ilike badminto ball http:/www.baidu.commy qq num is 412421412I am oldboy teacher!I teach linux.I like badminton ball,billiard ball and chinese chess!my blog is

Linux installation FFmpeg

Implement upload video capture video first frame as video cover1, installation FFmpegDownload link for ffmpeg https://ffmpeg.org/download.htmlUnpacking the installation packageTAR-JXVF ffmpeg-4.0.tar.bz2Go to CatalogCD ffmpeg-4.0Compiling the

Linux Awk Easy to understand

Awk simply understandsawk作用:过滤、输出内容$1 第一列, $2 第二列依次类推,NR行号,但$0表示一行,NF表示最后结尾一列-F 指定分隔符。例子:打印/etc/passwd文件的第一行(NR==1),$0 表示一行[[email protected] ~]# awk ‘NR==1 {print $0}‘

Condition variables in Linux

1 You may know that a mutex is a necessary tool in a threaded program, but it cannot be omnipotent, such as when a thread is waiting for a condition of shared data to occur. It is possible to repeatedly attempt to lock and unlock the mutex to check

Linux Package Management mechanism

Brief introduction:Describes two download mechanisms: Yum download, and CDROM cd downloadThe yum download mechanism is similar to 360 security defender Software Management, 360 software management There are many software lists that can be downloaded

Compression and decompression of linux-files

bz2

Compression1. Definition: Compression is a large file through a number of compression algorithms into small files2. Purpose: Mainly to reduce the size of the file, which will save the disk or tape storage file space, and the transmission of these

System RunLevel for Linux

Cat/etc/inittab# 0-halt (do not set Initdefault to this) system down state, system default cannot be set to 0# 1-single user mode, root privileges, for maintenance, login in this mode does not require a password, remote login is forbidden#

Linux Build git server

Install Gityum install -y gitgit --versionCreate a Git usersudo adduser git// 设置密码passwd gitImport Public keyfind / -name authorized_keysvim /root/.ssh/authorized_keysCreate a git repository# 切到指定目录下sudo git init --bare server.git# owner指定为gitsudo

Linux modifies the system time for a single application

Brief introductionHere is a simple example of libfaketime.It is often necessary to test the modification time at work, and if the environment does not allow the adjustment of time, try to adjust the time of the individual process.Compiling the

Linux increases virtual memory

The Linux server will require the virtual memory of the current system when installing larger software in the process, assuming that the initialization of the operating system without allocating large enough virtual memory later must manually

Linux python2.6 Upgrade 2.7

1. Prepare the installation package, the system is minimized installation# Download and install dependencies related packages[[email protected] ~]# Yum install vim gcc make wget-y[[email protected] ~]# yum install openssl-devel zlib-devel Readlin

Total Pages: 5467 1 .... 5378 5379 5380 5381 5382 .... 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.