The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or the DF command has some areaGrammar:Du [-ahskm] file or directory nameOptions and
I. Installation of virtual machines and Linux 1. Required files1. First attach the VMware Workstation Https://pan.baidu.com/s/1eUm169O, install it after downloading, the file with the key.2.Linux Mirror Https://pan.baidu.com/s/1mjYck8C, the vmdk
ObjectiveIn the actual development, sometimes receive some service monitoring alarm, such as CPU high, memory high, this time, we will log on to the server for troubleshooting. This blog will cover this area of knowledge: Linux performance tools.One-
1: If you previously installed the JDK automatically, the original installation of the JDK uninstall, using the locate JDK location, using the Rm-rf file to delete the line.2: Download the JDK to Orcale official website. tar.gz3: Unzip the JDK,
Some configuration under Noi-linux (C + +) VIM programmingFrom the ancient programming artifactSimplified configuration for other blogs on the webConfigurationset t_Co=256 //开启256色模式 默认是16色 让你的vim更好看set nu //显示行数set tabstop=4 //设置缩进为4格
Some of the commonly used shutdown/restart commands in Linux are shutdown, halt, reboot, and Init, all of which can achieve the purpose of rebooting the system, but each command has a different internal working process.First, use shutdown shutdown
1.1 Common recommendations1.1.1 A lot of notes (record Everything)One of the important things to do when doing performance tuning is to record everything, including the results of each output and execution. You can create a new folder and then plug
First, usermod modify user informationUsermod-u 111 username #修改用户usermod-G grp2 username #修改用户组usermod-D/home/chinantfy2 username #修改用户家 Catalog Usermod-s/sbin/nologin Username #修改用户shellA user can belong to multiple groups, but GID has only oneID
Steps to deploy the Apche service:Preparation environment:Shut down firewall: Service iptables stopSet power on off firewall: Chkconfig iptables offClose Selinux:setenforce 0Set power on off SELinux: Modify the configuration file
1. Upload2. UnzipMatch the environment variable.Go to the bin directory of jdk-9.0.4Execute the./jshell commandThe first time I have seen the following situationWait for a while no response to Ctrl + Z. And then re-execute the./shell commandTimed
Common commands in linux: Software Installation commands in Linux
(1) Online apt Installation
1. sudo apt-get install w3m installation package
2. sudo apt-get -- reinstall w3m reinstall the software package that has been installed but may have
Linux Command top Command, linux Command top
PrefaceThe top command allows you to dynamically view the overall running status of the system in real time. It is a practical tool that combines the performance and running information of multiple
Linux jar package background running command, linuxjar
Run the following command to run the jar package in Linux:
Method 1:
Java-jar shareniu. jar
Features: The current ssh window is locked. You can press CTRL + C to interrupt the program
Httpd htpasswd command, httpdhtpasswd
Htpasswd is used to generate a password Based on Web user identity authentication for a specified user, provided by the httpd-tools software package. Three encryption algorithms are supported: MD5, SHA, and
How to Use setitimer in linux c Programming, linuxsetitimer
In linux c programming. Setitimer is a function that is frequently used than timer. Latency and timing
Header files to be introduced during use:
#include
Setitimer function
Linux script. sh running instructions, linuxscript. sh
1. Understand the Script: Below is a simple script
[Root @ centos06 tmp] # vi script. sh
#! /Bin/bash # This line is shebang and shebang is a text line, where #! Before the interpreter path,/
Linux-CentOS7: Modify the default SSH port, centos7ssh
SSH listens to port 22 by default, but brute-force logon is often performed when the server is open to the public network, so it is better to change the port.
Refresh after reference:
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