Add, modify, delete of Linux users

Useradd [-parameter] Account-U: After a set of numbers, assign this set of numbers as the UID of this account.-G: After the group name, the group as the initial user group account, the user group GID will be placed in the fourth account/etc/passwd-G:

Linux using Tricks z command

Dear bo Friends, Hello, I was a bit busy last month, so there is no update blog, this time for you to bring the "Z command" When we use the "CD" command to enter a particularly long directory, it will feel very troublesome, Z command can solve the

DNS of Linux is hijacked

Environment: ubuntu16.04Today, when you encounter DNS hijacking, here's a record:1. First how to determine whether to be hijacked:Then query for a domain name that does not existNslookup notexit.comrrrrIf an IP address is returned, it indicates that

---------Linux Script Programming---for and while applications

Program programmingSelect ExecuteSequential execution: If, caseLoop execution: For, while, untilFor loop listFor i in LIST; Do loop body donefor i in Listdo loop body done650) this.width=650; "src="

How Linux turns on SSH services for Centos6.4 systems

Log in to the Centos6.4 System. Example: log in with the root user. Note: If you log in as a non- root user, you will need to add sudo if you are not sufficient to perform certain commands . View SSH is installed. Input command:rpm-qa | grep sshNote:

Linux self-study note--bash features

Bash features1.{} and (){}: Similar collection, Mkdir-p./test/{a,b} Copy/etc/passwd{,.bak} (): the execution result of the reference command, mkdir $ (date)2. Judgment of execution resultsecho $?Success: 0Failure: 1~2553. Common shortcut keysCtrl+l:

"Linux cracked root password"

The following experimental operations are performed based on the RHEL7.0The steps are as follows:1. Rebooting the system2. Press any key to interrupt the countdown of the bootloader. 3. move the cursor to the entry you want to start. 4. Press the E

Linux Common commands summary (update ... )

Text viewing and editing1. Text Editing commandsVi/vim2. View File Contents command Command Description Command format Parameters Cat Continuously output the contents of a file on the screen

Remember a Linux OPS interview question ~l

Introduction: Group of Friends in the interview of a company, the company has a problem: I have two sets of machines, a group of machines address 10.0.1.10 to 10.0.1.30,B Group machine address for 10.0.1.60 to 10.0.1.90A local AAA executable file

Linux basic commands

Tree: View directory Permissionsmkdir: Creating a Directory-P = parent Directory-v = verbose detailed procedureMKDIR-PV/MNT/TEST/{X/M,Y}MKDIR-PV/MNT/TEST/{A,D}_{B,C}Command line expansion:The first will create a directory:/mnt/test/x/m

How Linux modifies host names

Linux is usually installed at the time, the user needs to set the hostname, but in daily use, convenient grouping or memory, etc., may need to modify the host name, modify the hostname has 2 kinds, temporary modification or permanent modification,

[Linux] File and directory management

Focus: Absolute path: "must be the root directory/write"; Relative path: "Not by/written, but by relative current directory"; Special directories are:.,...,-, ~, ~account needs attention; Directory-related directives are: CD, mkdir, RmDir,

Linux File Permissions control

Chmod Modify file Permissions 755 644-r is recursive let the directory also has the relevant permissionsUgo User User Group other ugo=a a+x=+xChown Modify Ask Attribution- R recursive chgrp Authorized user group now, no, because Chown contains

Linux self-study note--bash data types, loops, and functions

1. Can traverse data typeList:(1) {1..10}(2) $ (seq 1), $ (SEQ 1 2 10)(3) Cat and other command return values(4) Globbing matching value,/etc/*Array:(1) Statement:Declare-a age= (0 1 2) declares an indexed array, does not declare the default to be

Open error prompts in Xshell using the Linux language

On-line project to the server, sometimes some functions and local debugging is not the same, this time need to set open display_errors = on;First, CD. Go to the upper level, ll list the current directory, with the current directory of the home of

Windows access to Linux tomcat, display cannot connect

One, port occupancyLook at the logs log file under Tomcat and re-modify the port if the actual address is already occupied.Tomcat starts with 8080 by default, and if you want to change to 80, you need to modify the Server.xml file:vim $CATALINA

Linux Kernel startup Parameter Parsing and addition, Linux Kernel Parameter Parsing

Linux Kernel startup Parameter Parsing and addition, Linux Kernel Parameter Parsing 1. Environment: Ubuntu16.04 Linux jello 4.4.0-89-generic # 112-Ubuntu SMP Mon Jul 31 19:38:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux   2. view the startup

Linux File I/O operations (system I/O), linux

Linux File I/O operations (system I/O), linux We all know that all devices in linux exist as files, so when we need these devices, we need to open them first. Next we will take a look at the file I/O operations in detail. The file I/O used has the

CentOS6.5 format large disk, centos6.5 format

CentOS6.5 format large disk, centos6.5 format Question: during a business trip, the following problems may occur when CentOS executes the formatting command. 1 [root @ localhost ~] # Mkfs. ext4/dev/md52 mke2fs 1.41.12 (17-May-2010) 3 mkfs. ext4:

Ubuntu16 kickstart pxe installation system, ubuntu16kickstart

Ubuntu16 kickstart pxe installation system, ubuntu16kickstart This article does not describe a lot of principles, but mainly explains practices. Lab environment: Virtual Machine: vm Ubuntu: 16.04 (desktop installation required), as the server Server

Total Pages: 5467 1 .... 3578 3579 3580 3581 3582 .... 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.