1. Process special file namesSuppose there is a file name named "-ee" in Linux. If we want to operate on it, for example, to delete it, enter the rm-ee command in the command line according to the general deletion method, the interface will prompt
Linux centos shutdown and restart commands
Linux centos restart command:
1. reboot
2. shutdown-r now restarts immediately (used by the root user)
3. shutdown-r restarts automatically after 10 minutes (used by root users)
4. shutdown-r restart
USB is a connection between the host and peripheral devices. USB was initially designed to replace low-speed bus with a variety of different interfaces. (For example, serial port, parallel port, and keyboard connection ). It connects various types
VPS is a type of virtualization, but it only has an independent system, and the root virtual machine is quite different. this blog uses VPS as an example. Because the VPS system is selected by you, but how to install it is not controlled by you, you
FunctionMv command to rename a file or directory or move the file from one directory to another directory. This command is equivalent to the combination of the ren and move commands in the DOS system. The permission is granted to all users.FormatMv [
How to modify IP address, gateway, and DNS in Linux Command LineMethod 1:Ifconfig eth0 192.168.1.18 netmask 255.255.255.0Note: This method can make changes take effect immediately, and will be restored to the original IP address after restart.Method
Objective: To synchronize a master server program with multiple subservers
1. Configure the synchronization Source
Install rsync: yum-y install rsync xinetd
Enable rsync: vim/etc/xinetd. d/rsync to change disable = yes to disable = no
Taskset is a CPU adjustment tool that can allocate system tasks to a specified CPU.
This document takes nodejs as an example.
Step 1: query the nodejs Process
Pgrep node1927719283
Step 2: Lock the CPU
Taskset-pc 0 19277 (0 indicates CPU0,
Premise: the/usr/local/data file is deleted by mistake. Now, you need to restore the data file,
While/dev/sda3 is mounted under/usr
Use df-hT to check that the file system is in ext3 format !!!
In an ext3 file system, if you delete the file
Summary
The first step to optimize website SEO is to first let spider crawlers come to your website frequently. The following Linux Command will let you know the spider crawling situation clearly. The following is an analysis of the nginx server.
1. View Hard Disk Partitions
# Fdisk-l
Note: assume that the name of the device that adds a hard disk is/dev/sdb.
2. Start partitioning
# Fdisk/dev/sdb
3. View Command help information
Command (m for help): m
4. view existing partition
A long time ago, an ftp server was installed with vsftpd, but the user data source was not modified. By default, users in the system were used. The ssh port is enabled without any restrictions. After a user logs on to the server, most of the content
1. Automatic File Mounting Based on Linux,
Preparations:
1. First prepare a samba Server
2. Clients that need to be mounted with sanba servers
Implementation:
1. Install samba on the server to ensure normal access. Here, yum-y install samba.
2.
Understanding what is a swap Partition
Swap is a virtual memory partition in Linux. Its main function is to release some space in the physical memory for use by the current program when the physical memory is insufficient, the space released by the
Echo
Function Description: The echo command is the most common command used to print information. It is often used in command lines to print the value of environment variables. it is determined whether the specified environment variables are set in
We know that rm is generally used to delete files in Linux, but the rm command does not actually clear the contents of the data block that saves the file, instead, it only releases the index nodes and data blocks occupied by the file. Therefore, the
Explain the output of the free command on Linux.
The following is the free running result. There are 4 rows in total. For convenience, I added the column number. In this way, we can regard the free Output as a two-dimensional array FO (Free Output ).
I. Concepts and Principles
What is PXE?
Strictly speaking, PXE is not an installation method, but a boot method. A prerequisite for PXE installation is that the computer to be installed contains a network card (NIC) supported by PXE, that is, the
An error occurred while running the command:
Error: Failed dependencies: libcrypto. so.6 () (64bit) is needed by couchbase-server-2.0.0-1976.x86_64 libssl. so.6 () (64bit) is needed by couchbase-server-2.0.0-1976.x86_64
Based on the error message
I. IntroductionThe crontab command schedules the execution of some commands at certain intervals. After the operating system is installed, the task scheduling command is started by default. The crond command periodically checks whether there is any
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