Batch kills a process that contains a keyword in Linux

When I go to the company for an interview, the Linux command usually asks this question:Kill all processes containing PHP in bulk ...At first I would not, only know PS to find out the process. Later learned that you can use grep to filter out the

Linux file system

Ext2 as an indexed file system, a file occupies an inode, records the permissions and attributes of the file, and records the block number of the file where the data resides;The benefits of disk partitioning: with MySQL as the data directory, if you

Linux Disk partitioning

Disk Partitioning process:1. Insert disk to view disk information2. Partitioning with FDISK partition management tool Select partition type: Extended partition/Primary partition Select the first partition Partition start position

Linux Directory description

1. Linux Directory description/usr corresponds to the Windows program folder, the file is installed by default folder/bin different users can execute commands, any user of the system can execute commands for that directory/sbin System Management

Linux TFTP service

TFTP (Trivial File Transfer Protocol ) is based on the UDP protocol and is used in the client and server A Simple File Transfer Protocol that provides an uncomplicated, inexpensive file transfer service. First, change the/etc/xinetd.d/tftp

NFS File service for Linux

I. The Concept of NFS650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/9E/9C/wKiom1mTC5zA5NPoAAq8Rymmsyk220.png "title=" Screenshot from 2017-08-15 22-55-46.png "alt=" Wkiom1mtc5za5npoaaq8rymmsyk220.png "/>Two. Install the NFS boot

Linux Learning Notes (ix)

I am using CentOS because of the use of special commands. The time to change the system is summarized here such as the following: Date view system time Date-s 03/04/2013 (Set the system date to March 04, 2013) Date-s 110:38 (set system time to

Linux command--find

In Linux, if we have too many files, it is unrealistic to look for it slowly, so we need to search using the search tool, which describes a search command: findBasic usage Syntax:Find directory-name keyword-printThis command means to view a file in

Linux Forgot login password

Statement: If not remote landing, the machine in their own side also saved.The first step: Restart the machine, enter the Brug interface (Grub is a boot manager, you can boot Linux, WinXP and other systems, in the menu.lst in/boot/grub/configuration)

Linux Installation and upgrade jdk1.8

Download JDK on the websiteHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/9E/80/wKioL1mSmZ3iXoKvAAEBMz8etws626.png "title=" Screenshot from 2017-08-15 14:

Linux Bulk Kill Process

Commands for using awk to batch kill processes:Ps-ef | grep Firefox | Grep-v grep | awk ' {print ' kill-9 ' $ |sh 'Description#列出了当前主机中运行的进程中包含firefox关键字的进程ps-ef | grep Firefox | Grep-v grep #列出了要kill掉这些进程的命令 and prints it on the screen

linux-command-summary-Continuous update

Tar packagingCut truncationTR Replace translate or delete charactersStat display file and file system statusFile View Files Type propertiesLast View user login information (show listing of last logged in users) corresponds to/var/log/wtmp data

About cloning Linux in virtual machines Why can't I turn on network services

The CentOS cloned a copy, started and configured the file, found that the network Service only LO (loopback), and the NIC (eth0) did not start, initially thought is the communication mode (bridged,nat,host-only) choice problem, Finally found that

Linux easy to confuse several basic commands

string comparison:Str01 = Str02 Both compare the same result to TrueStr01! = Str02 The difference between the two results is true-N str NOT NULL for true-Z STR result is null trueArithmetic comparison:A1-eq A2 equalsA1-ne A2 Not equal toA1-GT A2

Linux Environment Deployment

# Linux Environment Deployment# # Steps------------------------------Configure system DNS-Restart Network Service-Install JDK-New log directory setting permissions-Stop Firewall-Start the background service# # # Configure system DNS------------------

Linux RPM Package

Rpm:redhat Package ManagerInstallation software: RPM-IVH filename.rpmUpgrade Software: RPM-UVH filename.rpmUninstall software: R;pm-e filename.rpmDescription information of the query software: Rpm-qpi filename.rpmList the file information for the

Day1 Linux Basic operations

Simple Linux CommandsOpen in terminal into editor modePWD View your current locationYou can display the name of the working directory with the PWD command.Switch directory for CD (change directory)CD/Switch to root directoryLS View the files in the

Original QI tianda Sheng old driver pass rescue to restore disk partition, rescue disk partition

Original QI tianda Sheng old driver pass rescue to restore disk partition, rescue disk partition My brother Kwai Fong's class started.This document is based on the principle of love and not watching.Let's talk about restoring Disk Partitions In

Linux compilation and installation details, linux compilation details

Linux compilation and installation details, linux compilation details I believe most of you have heard of linux compilation and installation, but how does it change the source code into software that can be applied on your computer? Today, let's

Linux yum configuration, linuxyum

Linux yum configuration, linuxyum Redhat: configure the local yum source 163yum source epel source. You do not need to uninstall yum! No need to copy ISOWe all know that redhat is free of charge, but its yum service is charged. If you don't want to

Total Pages: 5467 1 .... 3800 3801 3802 3803 3804 .... 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.