Linux Add users and configure permissions (1)

1. Change the password#修改当前用户的密码$ passwd deploy #修改用户deploy的密码2. New users$ adduser deploy$ useradd -d /home/bill -s /bin/bash -m bill#将bill加入admin组Set Password after new user$ passwd deploy3. Add root privileges to the user$ visudo #打开设置文件 /etc/

Linux finds files that match the criteria and deletes

Locate all the files in the root directory that begin with test and pass the lookup results as parameters to the RM-RF command for deletion:1, Find/-name "test*" |xargs RM-RF2, Find/-name "test*"-exec rm-rf {} \;3, RM-RF $ (Find/-name "test")If you

Linux Port-based virtual host site

This article uses the CENTOS7, the other system also is similar.Install the httpd (Apache) package first.Some systems are installed by default, while others are not. Start the service and you'll know.After starting the service, open the browser to

Linux Common basic commands: grep-filter matching rows from a file or pipeline

grep commandFunction: Filters matching rows and data from a text file or pipeline data stream, and works with regular expressions to make them more powerful.Format:grep [options] [pattern] [file]1, match the line containing "GHOSTWU"[Email protected]

"Linux" Compression and decompression

One:The following five is a separate command, compression decompression to use one, can be used with other commands but only one of them:Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive

Basic use of common Linux commands

Basic use of common Linux commandsOperating systemFunction: Manage hardware devices so that software can interact with hardware.TypeDesktop operating systemWindowsMacOSLinuxServer operating SystemLinuxWindows ServerEmbedded operating

User groups, file permissions in Linux under the detailed

User groupsEach user in Linux must belong to a group and cannot be independent of the group. Each file in Linux has the concept of owner, group, other group Owner Your group Other groups Change the group where the user resides

Linux kernel architecture and boot process

Linux kernel architecture and boot process(The following content is from the teaching courseware)First, the Linux kernel structureArchArchitecture-related code. corresponding to each supported architecture, there is a corresponding sub-directory

Linux Nine Yin canon of nine yin Bones claw fragment 1 (encryption and security)

CAs and certificates1. KPI: Public Key SystemVisa agency: CARegistration Authority: RACertificate Revocation list: CRLCertificate Access Library509: Defines the structure of the certificate and the standard version number of the authentication

Linux Basics (05), Advanced Linux commands

DirectoryFirst, Advanced commandSecond, the system commandIii. Compression and archiving3.1. Archive3.2. Compression3.3. Archive and Compress Archive, Access: TAR-CF, TAR-TVF Compression, decompression: gzip, gunzip Archive and

A find command for Linux with RM deletes files from a day ago

Sentence notation: Find corresponds to the directory -mtime + days-name "file name"-exec rm-rf {} \;Example 1: Place all 10 days before the/usr/local/backups directory with "." The file deletion  Find/usr/local/backups-mtime +10-name "* *"-exec

[Continuous UPDATE] Important commands for Linux basics

Summary of commands: 100 or soMkdir方法一 [[email protected] ~]# mkdir /test && ls -ld /test方法二 [[email protected] ~]# cd / && mkdir date && ls -ld /testLs-l (long) d (directory) displays directories or files&&Instead, the difference is that the first

Linux command logging

Disk Management Command LS command: Train directory contents-A or-all will list all files and directories, note hidden files, special directories-l Query verbose format list-t sort by the change time of the file or directory-R Reverse SortLs-l

Linux User Rights

File Permissions ls Command result introductionThe contents shown in-L are as follows:-rwxrw-r‐-1 root root 1213 Feb 2 09:39 ABC-the first character represents the file (-), directory (d), Link (l)-10 characters determine what different users can do

Linux commands for viewing the contents of a file

All we mentioned just now is to show the appearance of the file, or to move and copy a file or directory, so what if we want to inspect the contents of an archive?! There are quite a few interesting instructions to share: the most commonly used

Linux Install Agent

Unzip the linux.zip Linux load machine Link: Https://pan.baidu.com/s/1yrmsT3PYfuL9Wlh4FEYxaA Password: s72nUnzip Linux.zipchmod 777-r linux/CD LinuxSH installer.shFollow the prompts to enter the following:Enter ' n 'Enter ' a 'Enter ' n 'Input ' I

Unattended installation of Linux systems

First, demand analysisWith the growing Internet technology, the number of servers is also increasing, from the initial several servers to a large data center, alone can not meet in the technology, business, management and other aspects of the

Linux Operations Common Commands summary

First, online inquiry and help command1.man: View command Help2.help: View Help for Linux built-in commandsSecond, file and directory Operation command:1.pwd: View current directory2.CD: Switch Directories3.tree: Display the contents of the

Linux installation Chromedriver

First: Check your Google browser versionDownload the corresponding Linux version according to Chromedriver and the Chrome version mapping table ChromedriverSecond: Unzip the fileUse the command to copy the extracted files

AES encryption algorithm with random encryption results under Linux

Special Note: I blog part of the reference network other blogs, but I have personally written and verified through. If you find that the blog has errors, please prompt to avoid misleading other people, thank you! Welcome reprint, but remember to

Total Pages: 5467 1 .... 2920 2921 2922 2923 2924 .... 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.