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]
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
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'
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 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]
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
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
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 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
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
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
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,
-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
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]
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
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
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
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.
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
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.