0. PrefaceThis blog is only used to record a small tool used by the individual in the work, followed by other supplements.1. TmuxTerminal Splitter (multiplexer), you can create multiple terminals on one screen, and this tool can also be used for
Some common shutdown/Restart commands under Linux are shutdown, halt, reboot, and Init, all of which can be used to reboot the system, but each command has a different internal working process.Linux CentOS Restart command:1, reboot2. shutdown-r now
System: Contos 5.5Function: Timed from the network to a more accurate timeUsage: There are several ways to update the time, here is a simple introduction to the Rdate commandThe system usually comes with the rdate command at the time of installation,
1, modify the Linux time can try the date commandThe function of the date command is to display and set the system time and date.Enter date to view the current system time:2. Date of modification:The order of the time set to September 6, 2015 is as
Six months ago, I wrote, "How does a computer start?" To explore the role of BIOS and master boot records.The article does not cover the operating system and is only relevant to the Board's onboard program. Today, I would like to write down and
1. See if the installation# Rpm-qa | grep vsftpd2. New Installation# RPM-IVH vsftpd-2.0.1-5.i386.rpm3. Start/Stop/restart# service VSFTPD Start# Service VSFTPD Stop# Service VSFTPD Restart4. master configuration file# vi/etc/vsftpd.conf# Anonymous
Knowledge Reserve
Permission model
For a file, Linux defines 3 different permissions for 3 types of objects;
Class 3 objects: Master U, Group G, Other O
3 Permissions: Read permission r,
(1) First, save the host IP you want to transfer to a file
VI IP10.161.4.x10.161.4.x10.161.4.x
(2) scripting#!/usr/bin/kshUsername=tomcat # Here is the user name for connecting to the remote host, as in this case the
IntroductionMost of the IO statistics tools under Linux, such as Iostat, Nmon, and so on, are only counted to the Per Device's read and write situations, and if you want to know how each process uses IO, it's a bit cumbersome.Iotop is a top class
Question one: see which process is consuming which port, and kill the process1. View occupied ports: sudo lsof-i: 80lsof command is the meaning of list open filesLike what:lsof filename Displays all processes that open the specified fileLsof-i used
The history commands in Linux are generally saved in the user???? /root/.bash_historyHistory Options Historical Command Save folderOptions???? -C: Empty history command???? -W: Write History command in cache to history command to save
File permissions and user groupsGroupadd Group NameGroupadd PolicemanView GroupsVi/etc/groupCat/etc/groupCreate a user and specify which group to assign the user toUSERADD-G Group name User nameView all user information in
RpmRPM is a very useful package management Manager in Linux, it has the functions of installing, uninstalling, upgrading, querying, verifying, database maintaining and so on.Here are the various features of RPM:Installation:RPM {-i|--install}
Advanced parts of Bash variables1. Variable expansion${variable name} variable extension for example: ${filename}$ (command) command replacement for example: $ (LS/)$ (arithmetic) calculation extension for example: $ ((9+9))Variable extension: A
How to make non-root User Programs in Linux use ports smaller than 1024
In Linux, ports lower than 1024 can be used only under root by default. If you try to use ports below, an error is returned. Sometimes, we may consider running the program
Summary of Tmux and tcpdump in Linux
0. Preface
This blog is only used to record a small tool used by an individual at work. It will be used later.
1. Tmux
Multiplexer allows you to create multiple terminals on one screen. This tool can also be used
Use LVM on Ubuntu to easily adjust partitions and create snapshots
The Ubuntu installer provides a check box to easily "use LVM. In its description, enabling logical volume management allows you to create snapshots and easily adjust the size of
Solve the Problem of modifying locale in Ubuntu
This article is aimed at the problem of "Ubuntu installation Chinese Language Pack" "Ubuntu Server Chinese problems", "Ubuntu change language environment", "Ubuntu locale settings", "cannot change
Case study of slow Linux SSH LogonIt takes dozens of seconds to log on to a Linux server over ssh. No such problem occurs on other servers. At ordinary times, the login operation was intolerable. Today, I finally cannot help wondering why. I
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