Linux/mac VI Command detailed

Transfer from http://blog.csdn.net/youngkingyj/article/details/22713965Just started to learn to use Linux, the VI command is not very familiar with the online transfer of an article.The VI Editor is the standard editor for all UNIX and Linux systems,

Linux Common shortcut keys

In Linux, you often use CTRL and other key combinations, which are commonly used and what is the meaning of it? CTRL + C ends a running program Ctrl+d end input or exit shell Ctrl+s Pause Screen Output "Lock

How Linux finds the path to a command

Linux has 2 commands to complete this function:which, WhereisWhich is used to view the path of the command that is to be executed before.Whereis is used to view a command or the path where the file is located.The principle of the which command: in

Linux redmine3.3 Migration, upgrade, plugin memo

Baidu Search: Xiao Qiang test brandService status Address: http://ip:3000The main use of redmine (rails) services, MySQL services, and some other services!Basic Environment Yum install-y gcc-c++ patch readline readline-devel zlib

Linux View and modify file permissions

1. View: ls-l [filename]2. Modifications2-1. Writing method chmod [who] [+][-][=] [mode]who note: U represents the owner of the file, G indicates the group to which the file belongs, o means others, and a means everyoneCompliance Description: +

Linux Operations Essentials unit14

Access to devices in 14.linux1. Device Access1. Equipment identification/DEV/XDXN # #硬盘设备/DEV/SDA1/dev/cdrom # #光驱/dev/mapper/* # #虚拟设备2. Use of the device# # "Discovery of Equipment" # #fdisk-l # #查看真实存在的设备650) this.width=650; "Src="

Clean CAHCE under Linux

Drop_caches Document DescriptionWriting to this would cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become Free.To free Pagecache:* Echo 1 >/proc/sys/vm/drop_cachesTo free dentries and inodes:* Echo 2

Linux Operations Essentials unit15

15. System Virtual Machine Management1. Installation#!/bin/bash # #命令运行环境的指定virt-install \ # #安装虚拟机--name \ # #虚拟机名称指定, representing the first string of characters after the script--ram # #内存--file/var/lib/libvirt/images/$1.img \ # #硬盘文件--file-size 8

How Linux modifies environment variables

If you want the environment variable to take effect permanently, you can modify any of the following two files:1/etc/profile2. Bash_profileWhere/etc/profile is the global environment variable that takes effect for all users, while. Bash_profile only

How Linux Configures Bond

Q: What is Bond? A:The technology of Virtual multi-block network card into a network card, through the bond technology, make multiple NIC appear to be a separate Ethernet interface device and have the same IP address. Q: Why should I configure Bond?

Three ways to boot Linux

Reference: www.cnblogs.com/gzggyy/archive/2012/08/07/2626574.htmlFirst,/etc/rc.localThis is the simplest way to edit "/etc/rc.local" to enter the shell command of the launcher (to enter the full path of the command), similar to the Windows system

After configuring the virtual host for Linux, can I only access the home page?

After configuring the virtual host for Linux, can I only access the home page?Today, after the lamp has been configured, add a virtual host, configure http.conf, add virtual host, test access to find only the domain name can access, ljt.com but all

Date time of the Linux command

In a Linux environment, time is divided into hardware time and system time:Hardware time-the time in the BIOS on the motherboard is maintained by the motherboard battery power, which reads this time when the system is powered on, and sets the system

How to Set a script alarm for Zabbix and a zabbix script alarm?

How to Set a script alarm for Zabbix and a zabbix script alarm? Set the alert script path # Vim/etc/zabbix/zabbix_server.confAlertScriptsPath =/usr/lib/zabbix/alertscripts   Create script Here, only one simple script is used for testing. # Cat

Arch Linux installation problems, after archlinux Installation

Arch Linux installation problems, after archlinux Installation 1. lspci, screenfetch, and other commands are stuck, and the shutdown is stuck.The size of the local graphics card is hd610 + GTX950mGoogle's solution is to add nouveau to the

Use sar to analyze Nic traffic in CentOS

Use sar to analyze Nic traffic in CentOS Install yuminstallsar onlineSar-n {DEV | EDEV | NFS | NFSD | SOCK | ALL} sar provides six different syntax options to display network information. The-n option uses six different switches: DEV | EDEV | NFS |

Build Proxy Server Shadowsocks on Centos7

Build Proxy Server Shadowsocks on Centos7Install Shadowsocks We installed shadowsocks-libev, which is developed based on C language. The speed and performance should be good.The procedure is as follows:Install dependency Library yum install

Create a scheduled task using crontab in CentOS

Create a scheduled task using crontab in CentOS In Linux, you can use crontab to create a scheduled task.Common integrations Crontab-e: edit a task Crontab-l view all tasks [this user] Crontab-r cancels all tasks [this user]Task format ××××× +

How does CentOS view the K processes that currently occupy the most CPU or memory?

How does CentOS view the K processes that currently occupy the most CPU or memory? 1. Run the following command to check the maximum number of processes in memory: Method 1: Ps-aux | sort-k4nr | head-KFor 10 processes, K = 10. For the top three

Script command for configuring auto-start code for Nginx startup in CentOS

Script command for configuring auto-start code for Nginx startup in CentOS 1. Create a text file Vi/etc/init. d/nginx2. Add #! /Bin/bash # Nginx Startup script for the Nginx HTTP Server # It is v.1.12.0 version. # Chkconfig:-85 15 # Description:

Total Pages: 5467 1 .... 3846 3847 3848 3849 3850 .... 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.