Statistics folder size and number of files under Linux

"View Folder Size"#/lib Directory size du-sh/lib#/lib subdirectory size du-sh/lib/* # View/lib directory normal file size Find/lib-type F | Xargs Ls-la | Awk-f ' begin{sum=0} {sum+=$5} end{printf "%d bytes\n", sum} '"Number of statistical files"#

Linux adds sudo permissions to users

Sometimes, running the sudo command under Linux will prompt similar:Xxxis not in the sudoers file. This incident would be reported.Here, XXX is the user name and then causes the sudo command to be unable to execute, at this time, the following

Linux Common commands

Shortly before learning Python, in the Windows environment has learned to install, debugging and so on, when learning to find a lot of configuration in the Linux environment, so install a Linux system for their own learning and memo.BodyAdd

Virtual machine Linux forgot login password

1, open Linux to point the mouse into the virtual machine, in the Grub Options menu (preferably started when the start) press "E" key editing mode;2, by "↑", "↓" select "Kernel ... "This line, press" E "into the editing mode;3, enter "Init 1 (or

Linux Learning (ii) kernel, system call, library

This blog mainly introduces several common concepts in Linux    kernal: Kernel : We know that the hardware of the computer includes: CPU, memory, external memory, etc.The system needs to use the kernel to unify the resource allocation! The kernel is

LINUX awk Operations

The company wants to carry on the system optimization, now to the Nginx service request time and the request quantity carries on the analysis.Nginx request file under Linux to be cutGet access log log analysis1: Get URI and request time log to Tmp_0.

Deep understanding of the Linux kernel-chapter II memory addressing 01

1, three addressesA logical address, used in a machine language instruction, to specify an operand or an address of an instruction.Linear address: 32-bit unsigned integer up to 4GB. A 64-bit CPU is a 64-bit linear addressPhysical Address: Memory

Linux Services NTP

NTP serverNTP---------Network Time ProtocolSoftware: NTPConfiguration file:/etc/ntp.confService: NTPDPort: 123/UDPExample: Configuring an NTP time server1) Installing the NTP software[[email protected] ~]# Yum install-y NTP2) Edit the NTP

Installation configuration for FTP under Linux

0. Install FTP the pre-condition is to turn off SELinux# Vi/etc/selinux/configModify selinux= "disabled" to restart the server. If it is the same, skip this step.1. you can see if VSFTP is installed first# Rpm-qa | grep vsftpdThe representative is

NFS File service for Linux

I. The Concept of NFS650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/9E/9C/wKiom1mTC5zA5NPoAAq8Rymmsyk220.png "title=" Screenshot from 2017-08-15 22-55-46.png "alt=" Wkiom1mtc5za5npoaaq8rymmsyk220.png "/>Two. Install the NFS boot

Backup and compression commands for Linux

Linux backup and compression commands, brief introduction, detailed BaiduTar backup files (tar is used to create, restore backup files of the utility program, can be added, to unlock files within the backup file)Tar "Options" "File"-A add tar file

Linux easy to confuse several basic commands

string comparison:Str01 = Str02 Both compare the same result to TrueStr01! = Str02 The difference between the two results is true-N str NOT NULL for true-Z STR result is null trueArithmetic comparison:A1-eq A2 equalsA1-ne A2 Not equal toA1-GT A2

Development of E-Shop 3 (Linux installation tomact)

1: Confirm that the JDK is installed2: Upload the Linux tomcat compression package to/usr/java3. UnzipTAR-ZXVF apache-tomcat-7.0.30.tar.gz4: Configure Environment variables4.1 Vim/etc/profile4.2 Add on last sideExport

JDK deployment configuration in the Linux environment

1, Java official website Download the relevant JDK package2, configure the system environment variables, edit the/etc/profile file, add information at the end of the file:Export java_home=/usr/jdk1.8.0_101Export Jre_home= $JAVA _home/jreExport

Linux multi-NIC routing settings

Linux Server dual network card or multi-network card to execute the next routing script to refresh the routing table, otherwise it will cause the network card ping does not pass;Note: You also need to perform route.sh after restarting the

Linux Threading Introduction and simple code case

0x00. What is a threadis the smallest unit that runs independently of the computer and consumes very little system resources at run time. Threads can be thought of as the basic unit of CPU time allocated by the operating system. A process can have

The configuration file loading process at bash startup,

The configuration file loading process at bash startup, Directory: 1.1 determine whether it is interactive or logon 1.2 common bash startup Methods 1.3 load the bash environment configuration file When a user logs on to the system, various bash

Example of double quotes and single quotes in Bash shell, bashshell

Example of double quotes and single quotes in Bash shell, bashshell   #! /Bin/bash   Fruit = cot Area = beijing   # Output is invalid ot \ nbeijing Echo "$ fruit \ n $ area"   # Output is invalid ot \ beijing Echo "$ fruit \ $ area"   #

Development Tools ~ Nuget configuration local source, development tool nuget Configuration

Development Tools ~ Nuget configuration local source, development tool nuget Configuration We have deployed our nuget server locally. Sometimes we need to use the nuget restore command to restore the package. in config, read your configuration

Tcp_wrapper filter,

Tcp_wrapper filter,1.1 Introduction to wrap Wrap works at the library level between the kernel space and the application. When the kernel receives the data packet and is ready to be transmitted to the user space, it passes through the database layer.

Total Pages: 5467 1 .... 4904 4905 4906 4907 4908 .... 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.