Summary of commonly used commands in Linux systems

Daily development, on-line server system is generally Linux system, so, skilled in mastering the common command operation is particularly important1) View the operation of a service (for example, Redis)Ps-ef | grep Redis  2) Check to see if a port

A detailed description of the tar command under Linux

Tar commandfunction Description: used to establish, restore the backup file of the tool program, it can join, to unlock files in the backup fileSecond, the parameters:-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end

Linux (i)

User Directoryis located /home/user , referred to as the user working directory or home directory, the means:/home/userLinuxMain Catalogue Quick Check table /: root directory, only directory under the general root directory, under Linux there is

Linux common basic commands (paste)

Paste commandRole: Merging FilesFormat:paste [option] [file]1, merge the contents of two files, by row[Email protected]:~/linux/paste$lsghostwu1.txt ghostwu2.txt[email protected]:~/linux/paste$CatGhostwu1.txt123456[email

Linux Regular expressions

The regular expression is the method of processing the string, it is the behavior unit to carry on the string processing behavior, the regular expression through some special symbol auxiliary, can let the user easily to find, delete, replace a

Linux Common Commands--du

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:

[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 installation JDK

1. View the available JDK versionsAfter the login server is successful, enter the following command to view the supported JDK versionsYum-y List java*Because the server version is 64-bit, I would like to install 1.8 jdk, so select the marked version,

Linux commands: Delete and restore commands

Tap commands in the following order①vim filename②e③i④escDelete command:X (lowercase): Deletes the character at which the cursor is located.DD: Deletes the line where the cursor is located.D: Removes all characters from the beginning of the cursor

Installing JDK under Linux

Install the JDK download JDK because elasticsearch requires a Java environment, you need to download the JDK first and configure the Java environment \: http://www.oracle.com/technetwork/java/javase/ downloads/jdk8-downloads-2133151.html\ Here I

Linux Common Commands--cat

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

Common commands for Linux

Ls-l 显示详细信息-a 显示所有文件-lt 排序-lrt 倒序CdMV Move/Change nameCp-A equals-DPR-v verbose display of actions performed by the command-D point to source files or directories when copying symbolic links-P Reserved Properties-R/R recursion-F Forced replicationRM

Linux Systems build Yum repositories, configure remote Desktops

First open the LINUX01 virtual machine configuration IP address 192.168.10.10/24After you restart the network card using the Service Network Restart command, use Xshell to connect the virtual machine.Enter the Df–h command to view the current disk

Linux Read and Write permissions

To set read and write permissions for a folder:sudo chmod-r 777/dataPermission Code Descriptionsudo chmod 600xxx (only the owner has read and write permissions)sudo chmod 644xxx (owner has read and write permissions, group user only Read permissions)

Linux viewing tomcat log files

The command is: Tail-f catalina.outTail commandUseWrites the file to standard output, starting at the specified point. Using the-f option of the tail command makes it easy to see the log files that are being changed, TAIL-F filename will display the

How to view the Tomcat service in a Linux environment

1. View the Tomcat processExecute the command $ps-ef|grep Tomcat you will be able to figure out the process number that Tomcat occupies, which, of course, requires Tomcat to boot.# Ps-ef | grep TomcatRoot 4637 1 0 Aug08? 00:02:01/opt/ibm/java-x86_64-

Directory Structure of Linux

Linux directory structure detailed/bin: Binary available to all users;/sbin: Binary files for system administration use;/boot: Each static file that the bootloader must use: Kernel, Initramfs (INITRD), grub, etc.;/dev: Store special files or device

A simple way to understand the path of Linux

Path path simple to understand[[email protected] kang]# vi yyecho YY[[email protected] kang]# chmod +x yy[[email protected] kang]# ./yyYY[[email protected] kang]# pwd/root/kang目的修改PATH路径,让用户在任何目录下输入yy都可执行[[email protected] kang]#

How to use commands to download files from a Linux server to Windows

1. download files from Linux directly to Windows using commands// log in to Linux server to export MySQL data Mysqldump-hrm-2ze8mpi5i65429l1q.mysql.rds.aliyuncs.com-uchgg_erp_prod- pchggerpprod2017-p3306 chgg_erp_prod

Total Pages: 5467 1 .... 3549 3550 3551 3552 3553 .... 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.