Tags: Zhang XiaxinThe purpose of each command in Linux1. Query and Toggle CommandsPWD shows where the user is currently located650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/06/44/wKiom1m1NruwpZAOAAAXaLU96RU273.jpg-wh_500x0-wm_
Manage your hard drive./dev/xxynSD SCSI SATA USBHD IDEPrimary partitionExtended Partition 1-4After logical partition 5Fdisk-l hard disk name/partition nameFdisk-l/DEV/SDAHow to partition a hard disk?Divide the 500G hdd into 100G ext4 64G ext464G
[Email protected] test]# vim vsftp_home.sh################################################## Date 2017-09-10##### Name FTP server##### Anth Joker##############################################!/bin/bash. /root/test/vsftp_function.shWhile
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:
The CD command is used to switch the working directory to dirname. Where dirname notation can be either an absolute path or a relative path. If the directory name is omitted, it is transformed to the user's home directory (that is, the directory
Sometimes people give you a way to login, but do not know what the system, look at the picture will know1, uname-a view computer and operating system2. Cat/proc/version running kernel version3. Cat/etc/issue Release Information4, Lsb_release-a (for
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:
Sudo!!Executes the previous command as the root account.
Python-m Simplehttpserver
Use Python to build a simple Web server that can be accessed by http://$HOSTNAME 8000.
: w!sudo Tee%
No permissions are required to save
Company Deployment Services always restart Tomcat, and then try to learn shelll, beginner shell script, with a stupid method thanks to a tomcat restart script, small record, but also reserved for later, technical content is not high, but is the
1 overviewFunctional function is a block of statements consisting of several shell commands for code reuse and modular programmingFunctions can only exist as part of a shell program. A piece of code that belongs to the shell, and the function is not
Summary of knowledge points in the second week of lecturesMain content 1: Connecting virtual machine fault troubleshooting
Use the ping command to see if you can connect to the IP address of the target machine.
See if there is a
You can use the Unzip commandUnzip project.war-d ProjectThis will extract the Project.war into the project directory under the current directory, and the parameter-D means to create the project directoryAttached: Unzip other parameter description-X "
1, first need to install Nfs-utils and Portmap:Yum Install nfs-utils Portmap (installs the software, can also install the Yum install nfs* Portmap directly)Chkconfig Rpcbind on (set boot start portmap)Chkconfig NFS on (set boot to start
Upgrade Python version#pythoncentOS6.8 installed in the default version 2.6, because I install to the back of the error Python version is lower, so you can first upgrade the Python version to 2.7;Enter directly at the command line: #wget https://www.
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
1. IntroductionChange the time of the file or directory, you can update the file access time (Atime, the time when the contents of the file will be changed when the content is read) and the change time (Mtime, the content of the file will change the
Installation Environment: CentOS 7Yum installation python3.4In general, it is easy to use Python in Linux, since Linux has its own Python environment, and CentOS7 currently comes with python2.7. But it is said that python2.7 only support to 2020,
One, process and thread1, Process: is a computer program on a data set on a running activity, is the system for resource allocation and tuningis the basic unit of the operating system structure. In the early process design-oriented computer
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
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
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