Linux kernel architecture and the bottom--reading notes

Pipe symbol "|" in Linux The roleCommand format: command a| command b, which is the correct output of command 1 as the operand of command B (apply someone else's picture)1. For example: PS aux | grep "Test" looks for test in the results of PS aux.2.

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

How to keep the Yum installed RPM package in Linux

On Linux, with Yum installed, the downloaded RPM package is removed after the default installation is complete, and if you want Yum to install the software, you will need to modify the Keepcache parameter in the/etc/yum.conf configuration file.

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 additions and deletions and other basic commands

WHOAMI view current logged on userWho views which users are logged onDate to view datesCal View CalendarClear clear screen = Ctrl + LUseradd adding userspasswd Change PasswordSu replacement user (substitute users)Man help option, view instructions

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

Installing JDK under Linux

version 1Jdk8-linux-x642 Uninstalling Linux comes with OpenJDKSwitch to root user2.1 Query OpenJDKRpm-qa|grep Java2.2 Delete OpenJDKRPM-E--nodeps java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.i6863 Installing the JDK3.1 switch to the installation package

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] ~]#

Linux background execution commands:& and nohup

When we work in a terminal or console, we may not want to occupy the screen because of running a job, because there may be more important things to do, such as reading e-mails. For dense access to the disk process, we would prefer it to run during

Linux: Different files with the same column word conformance and file (awk function)

There is a file1.txt, which reads as follows:H aa 0 0 1-9H bb 0 0 2-9H cc 0 0 2-9There is a file2.txt, which reads as follows:H aa 0 0 0-9 ASD qweH bb 0 0 0-9 fgh rtyH cc 0 0 0-9 jkl UiOIt is hoped that according to the same file1 and file2 the same

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

Several ways to display only directories in Linux

LS parameter-A indicates that all files, including hidden files, are displayed-d means to display the properties of the directory itself, not the contents of the directoryThe-F option displays the directory entry with A/Ls-lTotal 8Drwxrwxr-x 2

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}‘

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 .... 4912 4913 4914 4915 4916 .... 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.