UseMyschool -------------------- machine Exercise 1 --------------------- query the total number of hours of each grade, and sort selectgradeidas in ascending order, sum (Classhour) hour (Classhour)... use Myschool
------------------ Practice 1 ---
Lsb_release-a to view centos versions because 6 and 7 are installed differently. Rpm-qatelnet-serverrpm-qaxinetdyumlist | greptelnetyuminstalltelnet-server.x86_64yuminstalltelnet.x86_64yumlist | gr
Run lsb_release-a to check the centos version
Article Title: is RedHat not open-source after Linux tightening trademark use right ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded
Ifup and ifdown: linux commands can manually modify some network interface parameters in real time, which can be implemented using ifconfig. if you want to directly use the configuration file, that is, if you start the ifcfg-ethx and other file
Article title: The Path to Linux self-study. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
-- Preface ----
You can query this command help Document 1. create the directory mkdirNO1. create a level-1 directory in the current path [root @ rehatroot] # mkdirtestN
You can query the help documentation of this command.1. create a directoryMkdirNO1.Create a
Previously, we recorded Centos7's Host-only method for communication between the Host and the virtual machine. in Host-Only mode, the virtual machine does not seem to be able to connect to the Internet (some people on the Internet say yes, some
In Linux, there are 7 runlevels: 0: The system is down. The default running level cannot be set to 0. Otherwise, the system cannot start normally. Level 1: the operating status of a single user, root permission, used for system maintenance. remote
Today, when writing a script, we found a strange problem: when we use cp to copy all the files in the current directory to the target directory, the source and target directories are of different sizes. I didn't pay attention to this problem until I
In centos, you can use the rm command to delete files. However, if you want to delete a file with garbled file names, you cannot directly use the rm command because the file name cannot be output at all. However, the find command can be used to
One, get the process PID and then kill-s-9pid to kill process 1, ps-ef [root @ justinconf] # ps-efUIDPIDPPIDCSTIMETTYTIMECMDroot10014: 09? 00:00:02/sbin/initroot2
1. get the process PID and kill-s-9 pid to kill the process.
1. ps-ef
[root@justin
Mount | grep partition name to check whether the partition supports the disk quota mount-oremount, usrquota, or the temporary enabling of quotavim/etc/fstabdefault, usrquota, use the quotaquotacheck-avug feature to permanently scan the file system
I. Inter-process communication overview process communication has the following purposes: A. data transmission: A process needs to send its data to another process, the sent data volume is between one byte and several MB. B. shared data: if multiple
Crontab introduction crontab commands are common in Unix and Unix-like operating systems and are used to set periodically executed commands. This command reads commands from the standard input device and stores them in the crontab file for later
In linux, for security purposes, we disable some users from logging on to the system through SSH. Here I will take the centos Operating system as an example to record how to handle it. 1. open the sshd configuration file vi/etc/ssh/sshd_config2,
Sometimes we use a USB flash drive to install centos, and accidentally install grub to the USB flash drive. as a result, the boot needs to be inserted into the USB flash drive to start the server, or grub is damaged. in this case, we need to
This article lists the network and monitoring commands that every Linux user should know about. The network and monitoring commands are similar to the hostname, ping, ifconfig, iwconfig, netstat, nslookup, traceroute, finger, telnet, and ethtool
To use the FPT service in LINUX, you must learn how to configure and install vsftpd. vsftpd is a well-known FTP server in Linux. of course, this is the first choice to build an FTP server. This article describes how to install vsftpd in CentOS6.4
This article describes the precautions for configuring ssh password-less logon in CentOS.
Prerequisites: use root to log on and modify the configuration file:/Etc/ssh/sshd_configRemove the comments of the three rows, as shown below:
Then restart
In Linux, the ps command is one of the most basic commands used to view processes running on the system. In this article, we will use the ps command to view processes, filter and sort them in different ways to enhance the basics
In Linux, the ps
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