Their usual test work in the Linux often to build a test environment, there are related to start/Stop the server, modify the Tomcat configuration file, occasionally hit the port is occupied ...At this point, you have to need some basic Linux
For example, there is a script file tests.sh, which reads as follows:1 #!/bin/234 CD/5echo" Hello, this is a test sample! "There are three ways to execute a script on Linux:1, the script plus executable permissions, directly execute the
Recently in the monitoring project, some colleagues told me, "You see Linux performance is not good, memory usage is always up to 80%, I do not have this situation under Windows," I explained to him, because the Linux system, as far as possible to
Because of the special feeling and interest in the data, I first contacted the MySQL database, and the MySQL database is mostly configured to run under the Linux system, so it has a strong interest in such an open source system as Linux. In my eyes,
There are several ways to modify hostname1:hostname Db-server--effective immediately after operation (new session takes effect), but changes are lost after the system restarts2:echo db-server >/proc/sys/kernel/hostname--takes effect immediately
OSI Reference Model and TCP/IP Reference ModelAs you can see.The OSI application layer, the presentation layer, the session layer corresponding TCP/IP application layer, the OSI Transport layer corresponding TCP/IP transport layer. OSI Network layer
Cmp[ function Description ]Compare files#cmp can compare any type of file and display the first different line number and byte number of a file on a standard output device, starting with 1 , but typically used to compare text files[ syntax Format
Lofout Sign OutMount to view the devices that are already mounted on the systemMount-a automatically mounts based on the contents of the configuration file/etc/fstabWho check which users the system is logged into (can see user name, login terminal,
Recently, the company has several Java servers often appear can not allocate memory situation. Causes SSH login to fail.Therefore, it is necessary to do something.We can use Linux-ftools to see what's Inside Linux cached (Tools to find it yourself,
Download Maven3Download maven from the official website, the version I chose here is apache-maven-3.5.0-bin.tar.gzUnzip the installationThe downloaded file will be in the "downloads" directory of the currently logged-in user's home directory, where
User:1. Only the root user or a user with root privileges can operateAdd User: Useradd XiaolSet Password: passwd xiaolDelete User: Userdel XiaolDelete User and home directory: Userdel-r Xiaol2. After the user is successfully added, a directory with
Linux GCC Common commands1 Introduction2 Simple compilation2.1 Preprocessing2.2 Compiling to Assembly code (compilation)2.3 Assembly (Assembly)2.4 Connection (linking)Compilation of more than 3 program files4 Error detection5 Library file
1. View version numberUname-a # # View all information uname--help # # View Help on uname commands2. View existing normal usersVIM/ETC/PASSWD # # View passwd file (user's profile)Get the information as shown:The format of
The following documents are included in the putty to download the website:Where Pscp.exe is a tool for remotely copying files.Official website: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.htmlLink: http://pan.baidu.com/s/1pKEhIFx
Enable the ssh service on the Linux server for ssh remote login !, Linuxssh
I recently logged on to linux Using ssh to log on to linux!
First, go to the/etc directory and store some configuration files, such as passwd, In the/etc directory. to use
Install yar in php7 to generate a docker image, yardocker
Docker contains three concepts:(1) Remote repository is the gathering place of all images in the remote image repository (you cannot enter the operation ).(2) Local images are images pulled
Linux File Attributes
Overview of file properties (ls-lhi)
Everything in linux is a fileAttributes of files or directories in Linux include: inode, file type, permission attribute, number of links, owner users and user groups, and last modification
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