Linux-centos7 How to recover a password

1. What if I forget the root password?Using single-user modeFirst step: Restart the Linux serverRestart command: Reboot,init 6,shutdown-r nowShutdown command: Poweroff,init 0OK, restart the server. Then enter the login screen650) this.width=650;

tcpdump simple application of Linux grab Bag

In Linuxserver, it is often necessary to locate the network problem, it needs to use the clutch.Example: Tcpdump-x-S 0 host 10.17.81.22 and Port 9999-w/home/text.cap-i Eth4The above meaning is to crawl and 10.17.81.22 server port9999 to communicate

Using Putty Remote Link Linux

To download the client using the Putty Remote link Linux operation step: Install PuttyAfter successful installation, open the Putty client 650) this.width=650; "src=" Http://oqjg6c4c1.bkt.clouddn.com/201705311519_305.png "style="

"Brother Bird's Linux private cuisine-Basic Study (third edition)" (iii)

2nd Chapter Linxu How to Learn1. Linux's current application roleThe current Linux common application can be divided into enterprise application and personal application double aspects.First, we discuss the use of enterprise environment .1) network

Linux df and du usage

DF looks at the size of the first-level directory, but cannot view the size of the file. Du can view the directory or file size.  1 Basic usage of DFThe DF command displays the total space of all current file systems and the currently available

Linux Commands 9

RHEL7 Management of software packagesThere are two main types of package management, RPM and YumTwo kinds of package management are useful, the main difference is: Yum is simple to use but requires networking, Yum will go to the online Yum package

View Linux Hardware Information

Http://server.zol.com.cn/240/2400564.html1. Motherboard informationView the serial number of the motherboardDmidecode | Grep-i ' Serial number '2, CPU information#通过/proc File System1) Cat/proc/cpuinfo#通过查看开机信息2) DMESG | Grep-i ' CPU '3) DMIDECODE-T

Linux Learning notes: SED

SED command:Vim's last command (ex mode command):Sed:stream Editor, a stream editor that edits one or more files in a behavioral unit; each SED processes a line of content in a given file.When the SED processes the text, it stores the current row

Linux under Yum command appears loaded Plugins:fastestmirror

Linux under Yum command appears loaded Plugins:fastestmirrorYum when install prompt: Loaded plugins:fastestmirrorFastestmirror is an accelerator plugin for Yum, here is the plugin tip message is that the plugin is not available.Can not use the first

Configuring the DRBD deployment on Linux

How DRBD WorksDRBD is a block device that can be used in high-availability (HA). It is similar to a network RAID-1 function. When you write data to the local file system, the data is also sent to the network and on a host computer. In the same form,

Common Linux Commands

CD: Change directory such as CD/can change to root directory ls: Display file name can be used in conjunction with CD, LS can display the file name under the current directory pwd: Display the current working path RM: Delete file Cat: Display text

Linux Learning Note 1

Introduction to Linux Learning notes ———— computer BasicsComputers have been designed from the very beginning to help people do a lot of computing, and then as technology breaks down, the performance of the computer continuesGrowth, computers are

Linux system monitoring HDD partitioning and formatting

Top Linux system Neutral analysis tool that shows the resource usage of each process in real-time, similar to the Resource Manager in Windows.The free command shows memory usage, total,used,free,buffer,cache,avaiable. -w command to get Buffer,cache

Brother Bird's Linux private cuisine--18th: disk quotas Quota

Video link:Disk quota quota means to give users the space to use disk quotas, for example, your Baidu network disk use space, the use of other cloud disk space. Before using the quota command, we need to do some work, first we mount a hard disk,

Linux Foundation Part5

gpg

Linux BasicsFirst, the Network Foundation1. Ifup network card name; ifconfig network card name IP subnet Its modification is only temporary, once the shutdown or restart command fails, you need to modify the configuration file to take effect

Check if Linux is compromised

Whether to install GCC gcc-c++ makeYum install-y gcc gcc-c++ makeThe official website is http://www.chkrootkit.orgDecompression: Tar zxf chkrootkit.tar.gzCD ChkrootkitMake senseCheck script:#!/bin/bashchkrootkit_log= ' Mktemp 'Chkrootkit >

Linux Threads Basic use Code Demo sample

#include #include #include void* thread_func (void* param) {const char * p = (const char*) param; pid_t pid = 0; pthread_t tid = 0; PID = Getpid (); Tid = Pthread_self (); printf ("%s-%8u%8u\n", p, (unsigned int) PID, (unsigned int)

Check the Startup File in three ways to start bash shell,

Check the Startup File in three ways to start bash shell, Three methods to start bash shell 1. Use the default logon shell 2. Interactive shell as a non-Logon shell 3. non-interactive shell used as a script   1. log on to shell When you log on to

Linux: quickly find the Thread that occupies too much CPU, linuxthread

Linux: quickly find the Thread that occupies too much CPU, linuxthread 1. Use the top command to find the CPU-consuming process and write down the PID 2. Run the command ps-mp PID-o THREAD, tid, and time to find the threads with high CPU

Sed Usage Details, sed Usage Details reprinted

Sed usage (reprinted) and sed usageIntroduction Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called the pattern space. Then, the sed command is

Total Pages: 5467 1 .... 3244 3245 3246 3247 3248 .... 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.