Linux common Commands--file operations, permissions settings

1. Edit the fileVI aaa.txt open aaa.txt file Esc key switch Edit and command mode command mode input: (colon), you can enter the command : S/ string 1/ String 2 Replace string 1 with string 2 : Wq! Save the file and exit :

The importance and configuration of the Linux routing table

Routing, as the name implies, is sending a packet from one device to another on a different network, which relies on the router to do it. Routers only care about the state of the network and determine the best path in the network. The implementation

Lesson 02-linux Basic Command (i)

View System IP Linux:ifconfig/IP a windows:ipconfigVI: Create a file and editTouch: Create an empty filemkdir~/a Create a folder named a in the user's home directory-p Create a multi-tiered folder~/a b C Create multiple folders in the same

Linux Basics-Statistics command: WC

wc [选项] 文件-C Count bytes.-L counts the number of rows.-M counts the number of characters. This flag cannot be used with the-C flag.-W count words. A word is defined as a string separated by a blank, a jump, or a newline character.-L Prints the

Linux Yum Installation Nginx

Setup nginx static Server installation NginxTo install Nginx using yum:yum install nginx -y Modify the/etc/nginx/conf.d/default.conf to remove the listener for the IPV6 address. I go to modify ESC exit Edit: X save. vim

How Linux adds a swap partition

1. Create a new disk partition as a swap partition2. Use the file as a swap partition (easier to operate, I'm more used)A. Create a new disk partition as a swap partition1. # swapoff-a #停止所有的swap分区2. Use the Fdisk command (example: # FDISK/DEV/SDB)

Linux system basic Information

1.centos 6 The system installation type is described below: Desktop: A basic desk system, including common desktop software, such as document viewing tools. Minimal Desktop: A basic desk system that contains less software. Minimal:

Linux Network Programming Learning (11)-----Five I/O modes (chapter sixth)

1. What are the five I/O modes?Blocking I/O, non-blocking i/o,i/o multiplexing, signal-driven I/O (SIGIO), asynchronous I/OIn general, there are two steps for the input operation of the program, one is to wait for the data to be readable, and the

Linux Boot Sequence

1. Run the BIOS program and locate the first boot device set in the BIOS2. Read the bootloader program in the first sector of the first boot device MBR3,bootloader program load kernel, kernel start hardware self test, load hardware driver4, after

Daily Tools for Linux

Download (Command-line tools, give only common command descriptions) wgetLightweight and fast download tool Download:wget [-o filename] [-c] URL O option: Specify a filename for the downloaded file. (without this, the default file

Why Linux htop commands win the top command

In a Linux system, the top command is used to display the real-time status of a running process in the system, and it shows some very useful information, such as CPU utilization, memory consumption, and each process situation. But, you know what?

Linux mount failure

Because the user writes a large amount of malignant data to the hard disk, it causes the hard disk to hang up and there is a mount failure. The following simulates the Mount fault and resolves it. The procedure is as follows:The first step is to add

2018/05/02 a day of learning about Linux. Bash_profile and. BASHRC differences

Recently has been learning other, causing the blog to be negligent, very bad (in fact, they are lazy ...).--Why do you use the. Bash_profile and. BASHRC?In the normal use, some folders or commands are very long, you need to type a long file path to

Learning about the Linux system process

One: What is a process: 程序在执行的过程中就叫做进程,进程是占用硬盘io 内存 cup 网络等资源的,是有生命周期和运行状态的。In the Linux system, the program does not occupy memory, hard disk IO, network, cup, just take up disk space. For example:/user/bin/password only occupies the space

Linux:grep multiple keywords "and" and "or"

1, or operation' 123|ABC ' filename // Find file (filename) contains 123 or line '123|abc' containing ABC FileName // Egrep can also be used to implement '/123|abc/' filename // how awk is implemented 2, and the Operation2, with the

A command to modify the Linux password

Method one, using the passwd command directly/bin/echo newpass|/usr/bin/passwd --stdin username* Note: This method is only applicable to Red Hat system, such as Centos,redhat systems, in the Debian operating system, such as Debian,ubuntu system,

Linux compression pack

Using the zip and unzip commands, you can compress the file into a. zip Tarball, which can be decompressed in both Linux and Windows systems, both of which are interoperable. For example, operations on Linux compressed test.txt files: zip-r

Linux (19) YUM

19.1 IntroductionYum is a shell front-end package manager. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all

Linux (15) Process Management

15.1 Basic Introduction to the process(1) in Linux, each executed program is called a process, and each process is assigned an ID number.(2) Each process will correspond to a parent process, and the parent process can replicate multiple child

Linux (12) Task scheduling

12.1 OverviewTask scheduling: Refers to a particular command or program that the system executes at a certain time.Task Scheduling Classification:1, the system work: some important work must be carried out the cycle, such as virus scanning.2,

Total Pages: 5467 1 .... 3701 3702 3703 3704 3705 .... 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.