Centos searches for files by file size

The find command in linux is used to find files. manfind can be used to find files that are omnipotent. Therefore, simply find the file according to the file size. Search for size from manfind and you can see the following information:-sizen [cwbkMG]

Solve the problem of automatic disconnection after ssh is idle for a period of time

Use a client tool, such as securecrt, to connect to a linux server. some of them may be disconnected after a period of time without any operation. This is mainly because the vro and firewall exist between the client and the server, and the idle

Common netstat commands

View system service monitoring status netstat-tunlp view the most connected IP address netstat-nat | grep "10.150.185.178: 80" | awk '{print $5}' | awk-F: '{print $1}' | sort | uniq-c | sort-nr | head-20TCP various status lists netstat-nat | awk'

Delete garbled file names in Centos

In centos, you can use the rm command to delete files. However, if you want to delete a file with garbled file names, you cannot directly use the rm command because the file name cannot be output at all. However, the find command can be used to

CentOS software installation methods: rpm and yum

Centos software installation can be roughly divided into two types: [centos] rpm file installation, using the rpm command similar to the [ubuntu] deb file installation, run the dpkg command [centos] yum to install an rpm command similar to [ubuntu]

Centosyum only updates security patches

Install the yum plug-in: yuminstallyum-security use: check for security updates yum -- securitycheck-update only install security updates yumupdate -- security check for specific software security updates list updated details

DIY Centos Lite version

We all know that the linux system has extremely powerful functions, but sometimes the functions are not necessarily what we want, in some cases, we want a simple system that consumes less resources and runs some basic functions and commands. at this

Kill process method in CentOS

One, get the process PID and then kill-s-9pid to kill process 1, ps-ef [root @ justinconf] # ps-efUIDPIDPPIDCSTIMETTYTIMECMDroot10014: 09? 00:00:02/sbin/initroot2 1. get the process PID and kill-s-9 pid to kill the process. 1. ps-ef [root@justin

Nginx speed limit

Nginx is a good web server and provides a comprehensive speed limit function. The main functional modules are ngx_http_core_module, ngx_http_limit_conn_module, and ngx_http_limit_req_module. The first module includes the limit_rate function (limited

Introduction to CentOSEXT4 file system

Linuxkernel has officially supported the new file system Ext4 since 2.6.28. Ext4 is the ultimate version of Ext3. it modifies some important data structures in Ext3, not just like Ext3 for Ext2, but adds a log function. Ext4 can provide better

LVM functions in linux

Understand LVM management in Linux: LVM is short for LogicalVolumeManager (logical volume management). It is a mechanism for managing disk partitions in Linux, it can create a virtual disk volume Group (VG) on multiple physical volumes (PVS), and

Hard drive and USB flash drive mounted to CentOS

Mount-tiso9660/dev/cdrom/mnt/cdrom mount-tvfat/dev/fd0/mnt/floppy mounting Mount-t iso9660/dev/cdrom/mnt/cdrom mounting optical driveMount-t vfat/dev/fd0/mnt/floppy mount soft Drive (you can select the file type as needed)Mount-t vfat-o rw, utf8,

Practical firewall (Iptables) script analysis

-The Iptables firewall is pre-installed in common Linux releases such as Redhat, CentOS, and Ubuntu. most beginners are difficult to set up because they are unfamiliar with this software, the following script can be easily transplanted to your

How to create or modify the command for saving files in ar in CentOS

Function description: create or modify a file to be kept, or extract files from the file to be kept. Syntax: ar [-dmpqrtx] [cfosSuvV] [a & lt; member File & gt;] [B & lt; member File & gt;] [I & lt; member Files & gt;] [keep files] [member files]

In CentOS, lastb lists user commands that fail to log on to the system.

Function description: lists information about users who failed to log on to the system. Syntax: lastb [-adRx] [-f & lt; Record File & gt;] [-n & lt; display columns & gt;] [account name...] [terminal number...] note: execute the lastb command

How to use mkisofts in CentOS to create an ISO9660 image file

Mkisofs (makeisofilesystem) function description: creates an ISO9660 image file. Syntax: mkisofs [-adDfhJlLNrRTvz] [-print-size] [-quiet] [-A & lt; application ID & gt;] [-abstract & lt; summary File & gt;] [-B & lt; boot image file & gt;] [-biblio]

How to use rsync to delete massive files in CentOS

Yesterday, we encountered a situation where we wanted to delete a large number of files in Linux. we needed to delete several 100,000 files. This is the log written by the previous program, which is growing fast and useless. At this time, the common

Detailed description of the locate command in CentOS

The locate command allows you to quickly search for specified files in the file system. The method is to first create an index database that includes all file names and paths in the system, and then query the index database when searching, instead

Ip address, Gateway-settings, modification, and common commands in CentOS

About settings: you can manually modify the network address or add a new network interface to the new interface by modifying the corresponding file (ifcfg-ethN) or creating a new file. DEVICE = namename indicates the name of the physical DEVICE.

Increase the swap partition size in CentOS

1. view the current partition status [plain] viewplaincopyfree-m2. increase the swap size. for about 2 GB [plain] viewplaincopyddif =/dev/zeroof =/var/swapbs = 1024 count = 20480003. set the switch file [plain] viewplaincopymkswap/var/swap4 1. view

Total Pages: 2732 1 .... 1068 1069 1070 1071 1072 .... 2732 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.