Manually create a user's explanation under Linux

One. Manually create the file:1. Change/etc/passwd file2. Change/etc/shadow3. Change/etc/group file4.mkdir/xiaoming5.cp/etc/skel/.bash*/xiaoming/6.chown-r Xiao(1)./etc/passwd file DetailedRoot x 0 0 Root/root/bin/bashUser name password user

Linux virtual machines build local Yum source

Configuration of Yum Local sourceThis tutorial is to install red Hat Enterprise Linux 7 in a virtual machine as an example of using the ISO file for Yum Local source configuration. The following software is used:(1) Virtual machine: Vmware

Find command for Linux files

FindIn Windows, when we want to find a file, we just need to enter what you want to find in the lookup, for Linux, there is not a convenient image lookup, but using the Find command, will be the best choice, find has a powerful way to find commands,

How to append disk space under Linux

Scenario 1: If the current disk has capacity to expandUnder Root, the "fdisk-l" Maximum partition is/dev/sda3, and the newly created latest partition is/DEV/SDA4Enter "FDISK/DEV/SDA""N" adds a new partition"P" creates a primary partition"Enter"

Linux timed to execute a task command

When we want to perform a task automatically at a specified time, you can use the at command Start the service atq The service that is checked first when used is startedService ATD Status # Check ATD State Service ATD Start # Start ATD

Linux SSH key Configuration login

Tag:ssh    generate    key    #ssh-keygen -t rsagenerating public/private rsa key pair. enter file in which to save the key  (/ROOT/.SSH/ID_RSA):  Enter  passphrase  (empty for no passphrase): enter same passphrase 

Linux process 5--real mode and protected mode

The early inter chip only supported 1MB memory, using real mode, with 16bit address. Later, as technology progressed, more memory could be accessedProtected mode chip with 32bit address. In order to maintain compatibility with the front chip, the

Linux Synchronization Network Time

How to synchronize Linux time with Internet time (CentOS) article content source: http://www.cnblogs.com/itxiongwei/p/5556558.htmlWhen I use Linux (virtual machine), I often find that after a period of time, Linux time and my host (real machine)

Linux Problem solving

Error:Yum error.Loaded Plugins:fastestmirrorLoading mirror speeds from cached hostfileYumrepo Error:all Mirror URLs is not using FTP, Http[s] or file.Eg. Invalid release/Removing mirrorlist with no valid

The SED usage of Linux

Sed is a good file processing tool, itself is a pipeline command, mainly in line units for processing, you can replace data rows, delete, add, select and other specific work, the following first understand the use of sed.The SED command line format

linux-Installing the JDK

1. Download the JDKhttp://www.oracle.com/technetwork/java/javase/downloads/index.html (download. tar.gz format)2. Unzip the downloaded files and extract them to where you decide3. Setting Environment variables3.1 Terminal input: Gedit ~/.BASHRC3.2

15, Linux file Basic Properties Chgrp,chown,chmod

Linux file owner and owner group Change file properties 1, chgrp: Change file groupGrammar:[-R] belongs to group name file nameParameter options -R: Recursively change the group of files, that is, when you change the genus of a directory

The role of Linux directories

/etcThis directory is used to store the configuration files and subdirectories required for system administration./binBin is the abbreviation for binary. This directory inherits the structure of the UNIX system and stores the commands most often

Linux Learning Note 4_ basic file Operation Command Review 2

Find command (5 stars)Find/data-type-f-name "test.txt"//Find a name file of a certain typeFind/data-type-f-name "Test.txt"-exec rm {} \; Execute a command when found, delete content hereFind/data-type-f-name "*.txt"//* symbol for all, will branch

Linux viewing ports, process conditions, and kill processes

Look at the port:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.use command:NETSTAT–APNView all process and port usage. Discover the following list of processes, where the last column is Pid/program name8080 ports were found to be

Linux File System

Linux File SystemFile System   Format After using the fdisk command to create a partition, it cannot be used directly. You must format it first. In Linux, there are two formatting Methods: mke2fs and mkfs.     Practice: format the three

Nginx-related php for LNMP compilation and installation-graphic explanation,

Nginx-related php for LNMP compilation and installation-graphic explanation,Nginx-related php for LNMP compilation and installation-graphic explanation 1. Preface I have already introduced the compilation and Installation Process of nginx, php, and

Man statd (rpc. statd Chinese manual), statdrpc. statd

Man statd (rpc. statd Chinese manual), statdrpc. statd Rpc. the statd program mainly implements NFS lock-related content, such as common file locks (NLM, NSM), file delegation, and lease. However, note that, it can be combined with sm-policy to

Command Line BASH basic operations, bash basic operations

Command Line BASH basic operations, bash basic operations     As mentioned above, we should try to use the gnome gui as little as possible, instead of using BASH command lines.SHELL Shell is the Shell of the operating system Kernel. Because we

Basic Linux file operation management and basic linux File Operations

Basic Linux file operation management and basic linux File Operations   This article summarizes how to create, copy, move, and rename files and directories in Linux, including deleting these most common operations.Create 1. Create a directory

Total Pages: 5467 1 .... 3961 3962 3963 3964 3965 .... 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.