1.16 Linux machines log in to each other

After cloning the virtual machine, edit the network card to change the IP

Linux-ububtu64-bit installation docker

Installation: Looks like only 64-bit supportsudo apt-get install Dockersudo apt-get install Docker.iosudo apt-get install Docker-registryCommand:Create a system container and connect remotely1. Terminal command Docker pull rastasheep/ubuntu-sshd,

Linux removes all generated log files from Tomcat

#!/bin/bash#!/bin/bash#exact All log files#计算log文件个数log_number= ' ls *.log |grep log-c '#当log文件数大于0时遍历删除文件中的文件夹If [$log _number-gt 0];thenlist_log_files=$ (LS *.log)#Traverse to delete filesFor log_file in $list _log_filesDo#delete All log

Linux Basic Learning -9.2-file types

I. Classification of documentsF File Common FilesD Directory DirectoriesL symlink softlink Symbolic link/soft Connect1, f File Ordinary files1). binary Files-commands2). data file-data-can only be viewed by the specified command3). text file[Email

Linux Basic Learning -9.5-soft and hard links

One, soft connection1, how to comeLn-s Creating a soft connection[Email protected] oldboy]# ln-s oldboy.txt oldboy.txt-soft[Email protected] oldboy]# ls-l oldboy.txt*-rw-r--r--. 1 root root 05:10 oldboy.txtlrwxrwxrwx 1 root root 12:09

Linux Basic Learning -6.5-How to modify host names

1. Host name configuration file[Email protected] ~]# cat/etc/sysconfig/networkNetworking=yesHostname=brj2. View Host Name[Email protected] ~]# hostnameBrj3. Temporarily modify host name[Email protected] ~]# hostname oldboy364. Permanently modify the

Linux Common commands

1.xargs combined with find useWhen you delete too many files with RM, you may get an error message:/BIN/RM Argument list too long. Use Xargs to avoid this problem:Find. -type F-name "*.log"-print0 | xargs-0 rm-fThe xargs-0 is used as a

Linux Common Commands--cut

cp 复制文件或目录Syntax format: CP "option" "Source" "Dest" CP [options] [source file] [target file]Note: There must be at least one space between each element in the CP command and in the options and files that follow.Option Description:

Linux Source Command

Usual usage: source filepath or. FilePathFunction: Enables the current shell to read into a shell file with a path of FilePath and executes all the statements in the file in turn, typically to re-execute the newly modified initialization file for

Linux Basic Learning -10.2-wildcard review

1. * EverythingEnd With. txt *.txtEnd With. Log *.logA file in the system that begins with LS.Find/-type f-name "ls*"Locate the file in the system that contains Oldboy.Find/-type f-name "*oldboy*"2. {} Generate Sequenceecho {1..10}echo {10..1}echo {0

Linux Basic Learning -9.4-first knowledge of Linux permissions

1. View Files===== Read R = 42, modify the contents of the file===== Write w = = 23. Permission to run commands/scripts===== Execute x = 1= 04, Linux permissions classification 9-bitMaster, family, strangers.rw-r--r---rw-r--r--. 2 root root 194 Oct 1

Getting Started with Linux basics

Linux Time Line System V and BSD in the 80 's copyright dispute 1990 BSD transplant to X86 386 plan aborted 1991 Finnish Linus invented Linux 1994 Linux1.0 released for use in production environments Operating systemOS =

First time contact with Linux

The first contact with Linux is a very simple small project to restart the project, but because it has not been contacted before, I recorded a simple operation.Before using the Linux server to download the installation Xshell and Xftp, after the

2018-06-05 Linux Learning

20.23 Alarm system Mail engine (UP)mail.sh Contentwhich mail.py content to download here https://coding.net/u/aminglinux/p/aminglinux-book/git/blob/master/D22Z/mail.pyLog=$1t_s=date +%sT_s2=date -d "2 hours ago" +%sif [!-f/tmp/$log]Thenecho $t _s2 >/

Linux File System Preliminary

What to do after installation 1. Check whether the 22 port of the remote connection ssh (Secure shell) service is turned on (with: 22)[[email protected] ~]# ss -tnlState Recv-Q Send-Q Local Address:Port Peer Address:PortLISTEN 0 128 :::22 :::*LISTEN

Linux Common Commands--sudo

sudo 以另一个用户身份执行命令Syntax format: sudo "option" sudo [options]Note: There must be at least one space between each element in the sudo command and subsequent options and filesParameter options:-L, which lists the commands that the current user can

Linux Learning Summary (56) Monitoring Zabbix deployment Next

Zabbix Application ExamplesAdd a custom monitoring itemLet's take an example: monitor the number of concurrent connections on a Web server 80 port and set up a graph.1. Write a script that can crawl the data and create a script on the client

centos7.4 Linux Instructions

1. View versionlsb_release -a2. View MySQL PathWhereis MySQL3. View the EncodingLocale4. Install FTPInstallationYum install-y vsftpd//InstallationSystemctl start Vsftpd.service//Start VSFTPD ServiceFTP Permissions configuration:The configuration

The problem of Linux

1. Count the number of files in the/usr/bin/directoryls WC -L  Ls/usr/bin is used to display a list of files in this directory, WC is the command to count the number of words,-l is used to count rows  If you use the following command "LL", then the

Basic Linux Learning

Learning content: Intermediate: System Foundation, System management, network security and network services, shell scriptingAdvanced: MySQL database, clustering, distributed systems and virtualization technologies: XEN,KVM, operation and maintenance

Total Pages: 5467 1 .... 5303 5304 5305 5306 5307 .... 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.