In linux, The md5sum command uses the brief md5 Algorithm to verify the integrity of network file transmission and prevent file tampering. The message-digest algorithm (md5) algorithm generates a 32-bit fingerprint with a hexadecimal length.
In Linux, the common form of the find command is [html] Find pathname-options [-print-exec-OK].The parameters are described as follows: pathname: directory path searched by the find command. Www.2cto.com-print: find command to output matching files
This article introduces another function of the linux at command: Use the linux at command to shutdown at a specified time in linux.
First, create a file and write it:
#! /Bin/sh
Shutdown-h now
Save as a power file.
After chmod + x power, you
Crond is a Linux Command Used to regularly execute programs. After the operating system is installed, the task scheduling command is started by default. The crond command periodically checks whether there is any job to be executed every minute. If
Using the route command without any parameters will display a real route table, and the output may be as follows:
Kernel IP routing table
Destination Gateway Genmask Flage Metric Ref Use Iface
192.168.100.0*255.255.255.0 U 0 0 0 etn0
127.0.0.0*255.25
In linux, the command for creating folders (directories) is mkdir. The mkdir command can create folders (directories) and set the permissions for folders (directories) at the same time, the following describes how to use mkdir and provides an
Echo is the most common command in shell scripts, such as the if statement, for statement, and case statement .... These are not a comprehensive understanding of echo commands. There are many other echo parameters below:
My daily life and summary of
Have you ever encountered the need to find a specific string or style in the file, but you do not know where to start? Then, ask grep to help you.
Grep is a powerful file mode search tool pre-installed in each Linux release. For whatever reason, if
For example, if I want to move all the files in the current directory to a subdirectory, create a directory first.
Mkdir myfolder
Then, use mv to move all the files in. Wait. I don't want to move myfolder to myfolder. (In fact, No. in linux, an
Run YUM command 1 in Linux to list all software packages that can be installed: www.2cto.com [root @ localhost ~] # Yum list2. query the software package httpd [root @ localhost ~] # Yum search httpd3. List the software package information httpd. i68
Introduction to netstat commands in linux: The Netstat command www.2cto.com is used to display various network-related information, such as network connection, route table, Interface status (Interface Statistics), masquerade connection, and
In Windows, you can map a shared directory to a disk file system by ing network drives. in Linux, you can use the smbmount command to implement similar functions, mount a shared directory in Windows to a directory in Linux.
Test Platform:
Red Hat
NC is a powerful command that transfers files between two Linux Hosts. If there are two hosts a and B with IP addresses 192.168.0.1 and 192.168.0.2 respectively, and I need to transmit a file test1.in from host B to host B, the procedure is as
Source command usage:Source filenamePurpose: read and execute the command in filename in the current bash environment.Note: This command is usually replaced by the "." command.Example: Source filename or. filename (with spaces in the middle)
The
In the ps command, % CPU refers to the percentage of CPU usage time of a process. What does it mean? The man manual of PS is explained as follows:
CPU utilization of the Process in "##.. #" format. Currently, it is the CPU time used divided by the
Name: Date
Permission: All Users
Usage: Date [-u] [-D datestr] [-s datestr] [-- UTC] [-- Universal]
[-- Date = datestr] [-- set = datestr] [-- help] [-- version] [+ format]
[Mmddhhmm [[CC] YY] [. SS]
Note: date can be used to display or set the date
NetcatLike catCommands are the same, but the commands areCatThe function is completely "Web-based". The degree of ease-of-use and life-saving can be said to be quite confusing.Top 100 network security toolsRanking fourth in the ranking!
In
The top command is often used to monitor Linux system conditions, such as CPU, memory usage, the programmer basically knows this command, but it is strange to use it very few people, such as the top monitoring view of the memory value of the meaning
The Find command uses the-path parameter, the filename is a matching shell wildcard pattern. At this point, the meta character does not recognize '/' and '. ' 。 As an example
Suppose there are four files in the/root directory, and the absolute path
Statement writing: Find corresponding directory-mtime + days-name "filename"-exec rm-rf {} \;
Example 1: The/usr/local/backups directory is all 10 days ago with "." The file deletion
Find/usr/local/backups-mtime +10-name "*.*"-exec rm-rf {} \;
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.