1. Overview
The best security protection is of course "resist outside the country", through the security protection technology, to ensure that the current host is not authorized to invade, but "while, outsmart", and then a good means of protection,
Turn from: http://www.oschina.net/question/17_2280
Linux boot has disk error, disk scan progress complete after the cursor stays in
An error occured during the filesystem checkdropping to a shell; The system would rebootWhen you leave the shell.Give
1, monitoring the use of disk, memory, network, etc.
DF: Use of file system disk space
-bash-4.1$ DFFileSystem 1k-blocks Used Available use% mounted on/dev/mapper/volgroup-lv_root 6926264 3671752 2902668 56%/Tmpfs 961244 961160 1%/DEV/SHM/DEV/SDA1 49
System Monitoring
View System Parameters
To view the number of CPU coresCat/proc/cpuinfo | grep "CPU Cores" | Uniq
View CPU ModelCat/proc/cpuinfo | grep ' model name ' |uniq
View Total MemoryCat/proc/meminfo | grep memtotal
View hard disk
Almost every peripheral is done by reading and writing registers on the device, typically including control registers, state registers, and data registers, and the registers of the peripherals are often continuously addressed. Depending on the CPU
Experiment three :Linux Common commands
1. Experimental purposes
1, familiar with Linux commonly used commands;
2, master the use of Putty tools to access Linux.
2. Experimental content
1, the basic operation of Linux command;
2, modify the IP
the configuration method of JDK environment variables under Linux
Under Linux to do development first is the need to configure environment variables, the following to configure the Java environment variables for example to introduce three kinds of
redhat6.2 on the LVM.
1
First, add a hard drive to RH on the virtual machine.
2
Start RH
3
Enter on the terminal
[beigang@localhost~] $fdisk-L
disk/dev/sdc:1073 MB, 1073741824 bytes
......
DISK/DEV/SDC doesn ' t contain a valid partition
After installing Linux today, set up the JDK7 environment variable in/etc/profile, after the source command, run Java or the system default 1.4 jdk. Let me take a look at the steps I'm doing,
1, first which Java, look at the system default Java is
#include
#include
#include
#include
#include
#include
#include
#include
#include
int init_mixer ("/dev/mixer", int *fd)
{
if (*FD = Open (Device_name, o_wronly))
CU Home >> reading channel >>
File Operations Replication command CP (copy)
Usage: CP [options] ... [-t] source purpose
OR: CP [options] ... Source... Directory
OR: CP [options] ...-t directory source ...
Copy files to to .
Here are a few of the more important
Previously used Youdao, but the Youdao so far, still does not support Linux. No way, just get a lot of platform can use notes it. The user experience of taking notes seems to be a good idea.
install under Ubuntu as a known step:
First, add the
1. Find
Find is the most common and powerful search command you can use to find any file you're looking for.
Find uses the following format:
$ find
-
-
-
If nothing is added, find defaults to search the current directory and its subdirectories,
A
B
C
Cat
Copy file File1 to File2 can I use which of the following commands ()
CP file1 file2
cat file1 >file2
Cat file2
DD if=file1 of= File2
cat File1 | cat >file2
//Can be
CP command: The CP directive is used to copy files or directories.
Linux Common Command Summary, welcome to reprint
I. Babbling phase
first teach you four hot keys, learn these four keys, the benefits of life.
TAB key---command completion
CTRL + C key---Stop the running program
ctrl+d Button---equivalent exit,
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