Systemctl command: Systemctl is the primary tool for policing services, integrating Chkconfig with service functionality.Example:Systemctl is-enabled Iptables.service #查询服务是否开机启动Systemctl Enable *.service #开机运行服务Systemctl Disable *.service
Linux file system hierarchy standard FHS
/etc===== and host-related system configuration file edit the Configure
/home===== User Home Directory
/usr====== a two-tier hierarchical directory. The default is the largest.
/dev=====
The number of times a 1.ping command is followed by the-c parameter to connect to a flat linkPing-c 10 127.0.0.1means to stop after PING10 times2. nslookup command to see how many IP addresses the domain name resolves[Email protected]:/etc$ nslookup
View the system release version of LinuxCat/etc/issueCat/etc/redhat-releaseView the system of the CPUTop (Press the number keys 1, 2, 3 to switch the case of each CPU, if only 1 CPUs represent a single core)To see the remaining memory size, there is
其实我们的操作系统也可以理解为一个虚拟机,因为他是把硬件资源虚拟成文件系统可以识别使用的程序The swap partition for Linux is also equivalent to Windows virtual memory:Computer three major key:1, Cpu:time Slice2. Memory:3. I/O device:Cpu:time SliceI/O devicesMemory Work ModelIf the memory is 4G,
/etc/init.d/sendmail Start # Start service /etc/init.d/sendmail Stop # Close service /etc/init.d/ SendMail Status # View the current status of the serviceecho Content | /bin/mail-s "title"
I. Automated deployment of JDK ideasA, you can use a Linux machine as an HTTP server, JDK version resources can be placed on the HTTP server, so that the unified use of wget to download the JDK.The official JDK is downloaded directly using wget
Recently prepared for the interview, very want to expand their own technology stack, and then found on the Linux.Then install Linux of course, it is their own SP3, anyway, usually used as a netbook, and finally can explore the potential of 233But
1. Display all files or directories with L, ending with a lowercase letter, and with at least one digit in the middle of the/var directory2. display files or directories that start with any digit in the/etc directory and end with a non-digit3,
One, more instructionsMore features like cat, the Cat command is the entire contents of the file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to
Background:Company A large business system feedback the recent database server is always down (described here is not accurate, explained later), finally, the customer, operation and maintenance personnel feel really unbearable, the project manager
Command: LS (list)Permissions: All users (then all users, if not shown thereafter)Description: Show file directorySyntax: LS option [-al] [file or directory]A: Show all files, including hidden filesL: Show detailed informationCommand: TouchSyntax:
First look at screen's official note:GNU ' s screen official site: http://www.gnu.org/software/screen/In simple terms, screen is primarily used to perform long, uninterrupted backups, test and transfer tasks (recovery sessions), and shared Terminal
First, mechanical hard disk1. Mechanical hard disk is the main storage medium of the current computer, composed of magnetic head and magnetism platter, the main term of mechanical hard disk:A projection of the running trajectory of the magnetic head
First, the user1 su Switch User2 Su-with slash indicates permission to replace User configuration informationSecond, network card1 Ps-efPs-ef|grep sshd to see if the SSH service is started (process number PID)2 kill-9 Lorekill-9 pid forced stop SSH
1. First go to Oracle website to download the latest version of the JDK, posted here: http://www.oracle.com/technetwork/java/javase/downloads/ Jdk8-downloads-2133151.html, as shown, be sure to select "Accept License agreement", otherwise you cannot
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