Basic commands in Linux

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_

Linux HDD Management

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

Linux System scripts Configure the FTP server

[Email protected] test]# vim vsftp_home.sh################################################## Date 2017-09-10##### Name FTP server##### Anth Joker##############################################!/bin/bash. /root/test/vsftp_function.shWhile

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 CD command

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

Linux Common Commands--view system

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

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 Cool commands

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

Linux Tomcat Restart script

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

Functions of Linux Scripts

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

Old boy Linux operation 41st 20170903 class second week study key record

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

Linux Decompression War Pack

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 "

Installation configuration for Linux mount

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

Linux under Load Locustio

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.

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

Linux Command Touch

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

Linux installation python3.6.2

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,

Linux Advanced processes and threads

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

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

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 .... 2506 2507 2508 2509 2510 .... 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.