Du statistics disk space usageSyntax format: du "option" "File" Useradd [options] [files or directories]Note: There must be at least one space between each element in the DU command and subsequent options and user namesOption Description:
useradd 创建用户Syntax format: useradd "option" "Login" useradd [options] [user name]Note: There must be at least one space between each element in the Useradd command and in the following options and user namesHow to add a user directory using Useradd
id 显示用户与用户组的信息Syntax format: useradd "option" "Username" id [option] [user name]Note: There must be at least one space between each element in the ID command and in the following options and user names
parameter Options
cat 合并文件或查看文件内容Syntax format: Cat "option" "File" echo [options] [file]Note: There must be at least one space between each element in the cat command and in subsequent options and filesParameter options:-n,-bCat command 5 most common features
1Tomcat IntroductionTomcat is a core project of the Apache Software Foundation (Apache Software Foundation) Jakarta Project, developed by Apache, Sun, and other companies and individuals.Java program writes a Web site to run with TOMCAT+JDKTomcat is
1>. Command parser2>. Linux shortcut keys3>. Linux System directory Structure4>. User Directory5>. File and directory Operations6>. Properties of files and directories7>. File permissions, users, user groups8>. File Lookup and retrieval9>.
Create users and their home directoriesUseradd-d/home/tomcat-m TomcatThen change the passwordpasswd TomcatUsermod-s/sbin/nologin + username Disable login sshUsermod-s/bin/bash + username default Add user This mode can be directly logged into
Linux common Commands (iii) SSH(1) Install and configure SSH login without passwordCentOS default installed SSH client, SSH server, open the terminal to perform the following command to verifyrpm -qa | grep sshIf the returned result is as shown, the
This article is limited to making notes for myself. Using excerpt 13627757I encountered this problem when I was practicing remote login tool SECURECRT.Ubuntu is installed by default openssh-client, so it is not installed here, if your system is not
Cat/etc/sysconfig/network-scripts/ifcfg-eth0 viewing NIC ConfigurationCat/etc/rc.local the directory from which the boot file is stored/etc/inittab set the INIT process to set the system to what kind of runlevel and load related startup file
Tree-l 1/View root directoryView Sub-disc ls/dev/sda*Application/usr/binData files to help/usr/shareConfiguration File/etc/Startup file/etc/init.dSummary1) All Linux directory bodies are a hierarchical, upside-down, tree-shaped directory structure2)
Add a virtual hard diskSpecify disk spaceA 20G hard drive was added to the virtual machine successfully. In Linux this defines SDA as the first hard disk, the second hard disk as SDB, and so on. SDA1 is the first partition of the first hard
First, the difference between RHEL and CentOSRhel is a commercially available Linux system provided by Red Hat, which typically requires a paid subscription for technical service support such as DVD mirroring, security updates, but the various
Long time have not updated blog, Hope not forget beginner's mind 51CTO find the original happy memories!Classification of regular expressions
Basic Regular Expressions (basic Regular expression also known as basic RegEx abbreviation Bres)
The contents of the file are as follows, requiring the line number corresponding to the file content[Email protected] ~ 13:01:16]# cat 123.txt name:i am gaoyangbirthday:19961025what the fuck!!!!1, Cat-n 123.txt[Email protected] ~ 13:54:38]# cat-n 123
15.4 Xshell using XFTP to transfer filesDownload xftp software from www.netsarang.com websiteor, xftp:http://pan.baidu.com/s/1eSMSLN0 Password: 8os4Installing the XFTP software in the Windows7 system,Centos7 Turn off VSFTPD service #systemctl stop
Linux boot process flowchartFirst, a simple flowchart of the Linux boot process is drawn, as shown below:Brief description of the boot processLet's take a brief look at the entire boot process.
Press the Power on button to postAfter the power
Issue background:When we use the new environment, we need to be familiar with the configuration of our environment very quickly, it is very convenient for us to know some commands. This way you can be more familiar with your environment and do what
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