1. Timed execution of commands to view the interface of the commandTen Get pods-n kube-opsEvery 10 seconds check the command run interface2. Background mode running Jenkins the current window close does not affect the execution result.Nohup Java-jar
The RZ command is invalidI am accustomed to using the SECURECRT tool, remote connection to the Linux server, in the file transfer, you can use SFTP (alt+p) mode to transfer files, also often use the RZ command to graphically transfer files.When the
Linux System Optimization section:1. Without root management, through sudo authorization management in the name of the ordinary user2. Change the default remote SSH service port to prevent the root user from connecting remotely3. Automatically
1, check the JDK version of the system[[email protected] software]# java -versionShow:openjdk version "1.8.0_102"OpenJDK Runtime Environment (build 1.8.0_102-b14)OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)```2、检测jdk安装包[Email protected]
linux--installation of virtual machines:First you need an executable (Vmware-workstation-full-14.1.2-8497320.exe) file and a Linux (Centos-7-x86_64-dvd-1511.iso) systemAnd then in the process of installation:then just restart;The next step is to
"Delete log files from 15 days ago"Test environment Simulation:For n in ' seq 30 '; Do date-s "2018-07-$n";Touch access_xwj_$ (date +%f). log; -Note: There are spaces between date and +DoneMeaning of the script: Create a log file for the 20180701~20
One, RPM installationPackage Manager is the assembly of the compiled application of the constituent files package one or several package files, so as to quickly and easily implement the package installation, uninstall queries, upgrades and checks
File and folder operationsList the files and folders in the current directory: LS (to the effect: LiSt)Green indicates executable file , blue indicates folder , white indicates normal fileLists the file and folder details list under directory:
CD Switch DirectoryCD-Switch to the previous directory
LS lists directories and files (the fastest way to find the most recently created files and directories)Ls-r (reverse) reverse orderLs-t Sort by modified timeLS-LRT newly created
Long time no blog, the next will be the summer study of the land continued to organize to blog, originally wanted to tidy up the python, but just on hand to learn this, first organized.This blog when the beginning of the Linux learning, before the
There are three ways to fix Linux forgetting the root password:The first of these is detailed below:
After restarting the system, the Grub interface appears on the boot loader menu, using the UP and DOWN ARROW keys to select the system you
Command[Options] [arguments]Command: Commandsoptions: Defines the execution characteristics of a command, with two options:Long options: Use--boot, followed by complete words, such as --helpShort options: With-boot, followed by a single character,
Under Modify/etc/profile, add the following two tomcat configurations. apache-tomcat-8.0.50 for the first Tomcat, Apache-tomcat-8.0.50_2 for the second tomcatExport Catalina_base=/usr/java/tomcat/apache-tomcat-8.0.50export
1. Use the shared folder to copy the compressed package from the local hard disk (H:/share) to the specified directory CP JDK-8U161-LINUX-X64.TAR.GZ/SOFT/JDK2. Go to the/SOFT/JDK directory and unzip the JDK to the current directoryTAR-ZXVF jdk-8u1
Group Management
Creating a groupgroupadd gro
Delete a groupgroupdel gro
User Management
Create a user useradd -m alice ,-m by the way to create directories and related files
Set Passwordpasswd alice
Delete a user
The grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular expression
/etc/sysconfig/i18n setting the Linux system character setEnglish: lang= "en_US. UTF-8 "English: lang= "EN_CN. UTF-8 ""You should develop the habit of using English."
Set Idle timeout timeExport tmout=10 (timeout is 10 seconds, unit is
The MV command is also a common command in LinuxAction: Can be used to move files or rename filesCommand format:MV [option] source file or directory destination file or directoryCommand parameters:-B: Overwrite the previous backup if you need to
. tarUnpacking: Tar xvf filename.tar pack: Tar cvf filename.tar DirName (Note: Tar is packaged, not compressed!) )---------------------------------------------. GZ decompression 1:gunzip filename.gz decompression 2:gzip-d filename.gz compression:
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