Some of the common shutdown/Restart commands in Linux are shutdown, halt, reboot, and Init, all of which can achieve the purpose of restarting the system, but the internal process of each command is different.
1.shutdownThe shutdown command shuts
One of the methods, modifying the file
We need Vi/proc/sys/net/ipv4/icmp_echo_ignore_all file, this folder defaults to a 0, if you need to set the ban ping, 0 to 1, so set up.
Or we write directly to the settings prohibit ping
Echo 1
It is possible that we installed the Linux system for a long time, perhaps through a number of user handover, to our hands when we do not know what this VPS is installed system, if the system is not clear to use the command, etc. are not the same.
Last night let Yun-dimensional help me update the online a shell script, and add to the scheduled task in preparation for 12:06 A.M., when I woke up at 5 o ' clock in the morning, I always feel wrong to check the mail to see whether the scheduled
GNU screen can be viewed as a command-line interface version of the window manager. It provides a unified interface for managing multiple sessions and corresponding functionality. System administrators often need SSH or telent to telnet to a Linux
One: Platform
1:HP Server
Cpu:inter (R) Xeon (r) E5606 2.13G
Disk: Local Disk plus storage
2: Operating system
Redhet 5.4 64-bit
Kernel: 2.6.18-194.1.ax53
3: Database
db2_v9.7 x86_64
Two: Install the operating system
Put the Redhat 5.4
First download Software Installation
SECURECRT is the charge software, if you support the genuine words to the official website to buy. Or Baidu a bit more than n cracked version, random download a hint to crack can be used
New Connection
Action steps are as follows:
1. Edit/etc/ssh/ssh_config File:
#vim/etc/ssh/ssh_config
Remove the annotation symbol "#" before the annotated port 22, and change the 22 to 8888 to save the exit.
2. Edit/etc/ssh/sshd_config File:
#vim/etc/ssh/sshd_
The grep command can find the contents of a single file or folder under a file. Use the parameter "R" or "R" to recursively find all the files under the specified folder; The parameter "L" lets the grep output the file name that contains the
1. Query Inode:
The code is as follows
Copy Code
[Oracle@test]$ Ll-iTotal 1469445217956913-rw-r–r–1 Oracle Oinstall 0 18 20:24 1? Txt
2. Modify the test file name:
The code is as follows
Copy
Execute the lsmod (list modules) command to list all modules loaded into the system. The core of the Linux operating system is modular. Therefore, when compiling the core, you must put all the functions into the core. You can compile these functions
You can use the bind command to learn about the key combinations and functions, or you can specify which key combinations you want to use.SyntaxBind [-dlv] [-f ] [-m ] [-q ]Parameter description: -D: displays the key configuration content. -F
The tload command uses ASCII characters to display the system load status in text mode. If no terminal number is assigned, the load is displayed on the terminal that executes the tload command.SyntaxTload [-V] [-d ] [-s ] [terminal number]Parameter
The Linux shutdown command can be used to shut down a program and send a message to all the programs that the user is executing before shutdown. shutdown can also be used to restart the system.Permission: system administrator.SyntaxShutdown [-t
Run the logname command to display the current user name.SyntaxLogname [-- help] [-- version]Parameters: -- Help online help. -- Vesion: displays the version information.InstanceDisplay logon account information:# LognameRoot
Samba is a script file and can be started. It can be used to stop the Samba server or return the current status.SyntaxSamba [start] [stop] [status] [restart]Parameter description: Start starts the services of the Samba server. Stop to stop the
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