Linux add Users (user) to user groups (group)

Add a user to a user group and never use it directly:Usermod-g Groupa Doing so will allow you to leave the other user groups, just as members of this user group Groupa.Should be added with the-a option:Usermod-a-G Groupa User (fc4:usermod-g

Pkill and Pgrep commands in Linux

Pkill and Pgrep commands in LinuxNamePgrep, pkill– find or signal to process through name and other attributes.Grammarpgrep [-FLVX] [-n |-O] [-D delim] [-P ppidlist] [-G pgrplist] [-S sidlist] [-u euidlist] [-u uidlist] [-G gidlist] [-j PR Ojidlist]

Add version numbers and compile time to Linux programs, dynamic libraries, and static libraries

Adding version numbers and libraries to programs and libraries facilitates maintenance and upgrades.Of course you can show in the file name, such as a program called Yun, the file name is written as yun_1.0.2, but this needs to be maintained each

Linux Shutdown and restart commands

 Linux Restart command:   1,reboot   2.shutdown-r now reboot (root user ) 3 shutdown-r Span lang= "ZH-CN" to 10 Minutes automatically restarts (Root user use )   4.shutdown-r 20:35 Restart at time 20:35 (root

Linux awk (Test)

IntroductionAwk is a powerful text analysis tool, with the search for grep and the editing of SED, which is especially powerful when it comes to analyzing data and generating reports. To put it simply, awk reads the file line-by-row, using spaces as

linux-network configuration and VM cloning Linux issues

NIC configuration: Vi/etc/sysconfig/network-scripts/ifcfg-eth0device=eth0Hwaddr=00:0c:29:d4:a4:b1Type=ethernetUuid=45744d6c-8ec4-4c68-9342-384515579b07onboot= "Yes"Nm_controlled=yesbootproto= "Static"Ipaddr= "192.168.1.120"Gateway= "192.168.1.1"

The relationship between service commands and/etc/init.d/in Linux

The relationship between service command and/etc/init.d/in Linux  service xxx startup/etc/init.d/directory xxx script such as a foot name for mysvc saved under/etc/init.d/can be used service Mysvc Run Mysvc script echo passed in option $ $1 if [$ = "

The implementation of Linux soft watchdog

softwarewdt.h/** function: Monitor the running state between threads (soft watchdog) * * Author: jdsh** time: 2015-01-15 22:20*/#include #include #include #include #include "Typedef.h" #define Request_wdt_max_ Num20class CSOFTWAREWDT

UDP BASIC Programming for Linux

UDP communication mechanismCompared to TCP communication, UDP communication is for non-connected communications, so there is no monitoring and connectivity in TCP, etc. involving the connection-oriented process, the main communication process of UDP

[Linux kernel]linux interrupt the lower half--work queue

One: Work queue conceptThe work queue can be pushed back to a kernel thread to execute, the work queue runs in the context of the process, the work queue is running reschedule, or even the sleep kernel driver typically gives the lower half to the

Linux under the Multi-threaded viewing tool (Pstree, PS, Pstack), the-pstree instructions for using the Linux command

1. PstreePstree displaying processes in a tree structure[Email protected]*:~# pstreeinit─┬─networkmanager ├─abrt-dump-oops ├─abrtd ├─atd ├─auditd───{ AUDITD} ├─automount───4*[{automount}] ├─certmonger ├─crond ├─dbus-daemon

Install OwnCloud 7 private cloud in CentOS 7

Install OwnCloud 7 private cloud in CentOS 7 OwnCloud, a file host service software, is the cloud storage we usually use. However, this is to build our own private cloud on the server of our host, and OwnCloud is released using the AGPLv3 protocol.

The largest RC1 so far: Linux 3.19 RC1

The largest RC1 so far: Linux 3.19 RC1 The new kernel development cycle begins.   The first kernel candidate version was released on the 3.19 Branch, which looks like the largest RC1 currently. Linus Torvalds was surprised that so many people

A few handy subtitle editors in Linux

A few handy subtitle editors in Linux If you often watch large movies outside China, you should like the subtitle version instead of the Mandarin dubbing version. I grew up in France, and my childhood memories were filled with Disney movies.

Default RPM installation path in Linux

Default RPM installation path in LinuxFor RPM packagesGenerallyPut the command in/usr/bin or/usr/sbin.The library is under/usr/libThe data file is under/usr/share /.Name:Rpm-pql [rpm file name] to view the files in an rpm package, that is, the

CentOS6.5 custom system iso Production

CentOS6.5 custom system iso Production1. Install software (1) software to be installed in the system # Yum install anaconda repodata createrepo mkisofs system-config-kickstart (2) The system centos6.5.iso and the rpm package to be installed, the

Pkzd process design policy 1: pkzd Process Policy

Pkzd process design policy 1: pkzd Process Policy First, for any operating system, the system kernel must specify a way to obtain process information. pkzd uses a Global Array struct proc [NPROC]. Here, struct proc is the structure of the process

Linux Command character wear Command-split

Linux Command character wear Command-split Location:/usr/bin/split Permission: All Users Purpose: Usage: split [OPTION]... [INPUT [PREFIX] Option: -B can be followed by the size of the file, which can be added with units, such as B, k, and m. -L

KVM architecture and principles

KVM architecture and principles 1. KVM Architecture The basic structure of kvm consists of two parts: The kvm driver is now a linux kernel module. It is mainly responsible for creating virtual machines, allocating virtual memory, reading and writing

Install ZooKeeper in centos

Install ZooKeeper in centos 1. Requirements Install ZooKeeper and metaQ 2. Download Http://zookeeper.apache.org/releases.html The current stable version is a zookeeper-3.4.6 3. Extract Tar-xf zookeeper-3.4.6.tar.gz Decompress the file to "/usr/local/

Total Pages: 5467 1 .... 2138 2139 2140 2141 2142 .... 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.