Linux Common Commands-shutdown and reboot
shutdown Command
shutdown [option] TimeOption: –c cancel the previous shutdown command –h shutdown –r reboot (after adding a & can be timed after operation)
In all reboots and shutdown commands, shutdown
Cross-compiled programs have memory leaks, so you want to restart them in your free time. So I decided to add the reboot to the Linux mission plan.
Enter command
#crontab-E
Edit the Task Scheduler table
Command format
The first 5 fields
Linux does not produce unwanted junk files, but Linux does not automatically delete these files in the upgrade cache, or it takes up a hard drive.
One, delete cache
1, a very useful cleanup command:sudo apt-get AutoClean cleans up older versions of
The Linux software vendor Novell has alerted its SuSE users that a major security vulnerability was found in Linux kernel 2.6 that could cause the system to crash.
As we all know, the Linux kernel 2.6 was completed at the end of last year. The new
1, Lilo security settings
Vi/etc/lilo.conf.anaconda//Modify Lilo file ===============================================
......
Restricted//Join the line
password=111111//Join this line and set the password to 111111
......
============================
CD Switch Directory
Dir Display directory contents
LS Display directory content
Cat displays file contents, suitable for small files
Less display the contents of the file, can be read back and forth
More split screen display file content, not to
installation of two installation methods
Yum installation (recommended) yum install lrzsz-y
Note: After installation, you can directly use RZ sz
compile your own installation for CentOS x.x version lrzsz installation configuration
Mkdir-p/usr/src/
1. Introduction to Clusters:
Cluster (cluster) technology is a new technology, through cluster technology, it can obtain the relatively higher benefit in performance, reliability and flexibility in the case of low cost, and its task scheduling is
Content: Red Banner Linux configuration telnet, allow root loginEnvironment: Tested under Red Banner Linux DC Server 5.0The steps are as follows:1. vi/etc/xinetd.d/telnet Disable = yes to disable = no2. Vi/etc/securetty to add Pts/0,pts/1 ... (a
In the case of Redhat eenterprise 6 or CentOS 6, when using KVM virtualization, you will need to configure the bridging network card, and the following is a very simple way to talk about bridging (Really simple):
To view the existing status of the
Http://blog.chinaunix.net/uid-1757778-id-2865816.html
You often need to kill multiple processes in your work, and if these processes have common characteristics, you can kill them with a single command. For example, to clear all remote
This paper takes CentOS system as an example to explain. Reboot command: reboot: Reboot shutdown-r now: Reboot immediately (root user) Shutdown-r 10:10-minute automatic reboot (root user) Shutdown-r 20:35: In time 20 : 35 time Reboot (root user use)
First, DNS resolution process
To resolve the www.baidu.com domain name for example. When the system needs to invoke the data of the www.baidu.com host, send an instruction to query the domain name of the www.baidu.com.
(1) The system has a hosts
Early in the beginning of the basic Linux command, see this knowledge point, tell the truth feel a little wonderful. How good it is to execute a piece of work, and have to write a few commands together.
Some of the most recent projects are in the
Chapter 1th Linux File properties1.1 Failure Cases:Low disk space no space left on deviceInode Number file type permissions hard link number belongs to the main genus GroupIndex node owner belongs to family size modified time file name (not file
1. User用户就是系统使用者的身份在系统中用户存储为若干窜字符+若干个系统配置文件User information involves the system configuration file:/etc/passwd ###用户信息用户:密码:uid:gid:说明:家目录:用户使用的shellRoot User:Student Users:/etc/shadow
I. Transmission of documents1. Order: SCPSCP file [email protected]:/dir # #把当前系统目录下的文件file复制到另一个系统目录下SCP [email Protected]:/file dir2. Command: Rsync # #数据的远程同步, can speed up the transfer rate
Common parameters:-R # #同步目录里面的内容-P # #同步权限-D #
Linux adds three ways to start a boot entry.(1) Edit File/etc/rc.localInput command: Vim/etc/rc.local will appear a text fragment similar to the following:#!/bin/sh## This script is executed *after* all and the other init scripts.# can put your own
First, the configurationChange the Java_home path in the configuration below to your path.Export Java_home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-0.b01.el7_4.x86_64export JRE_HOME=${JAVA_HOME}/ Jreexport
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