Detecting new hardware with hardware detection program Kuduz: Service kudzu start (or restart)
Viewing CPU information: Cat/proc/cpuinfo
View board Information: CAT/PROC/PCI
Viewing PCI information: LSPCI (more intuitive than CAT/PROC/PCI)
Linux has its own set of complete boot system, grasp the context of Linux start-up, Linux startup process will no longer mysterious.
It is advisable to look at the drawings before reading.
In this article, suppose that the init tree set in Inittab
1. Display the currently initiated network Interface command:
The code is as follows:
Ifconfig
2. View all current network interface commands:
The code is as follows:
Ifconfig-a
3. View the specified network interface command:
The code is as
Linux View IP address command--ifconfig
Ifconfig command to view and change the address and parameters of a network interface
The code is as follows:
$ifconfig-A
lo0:flags=849 MTU 8232
inet 127.0.0.1 netmask ff000000
hme0:flags=863 MTU 1500
As we know, computers can only handle low-level binary values and cannot handle characters directly. When a text file is stored, each character in the file is mapped to a binary value, which is actually stored on the hard disk by the binary value.
This is a text version:
System Information
#uname-a #查看内核/operating system/CPU information
#cat/etc/issue #查看操作系统版本
#cat/proc/version #包含GCC的版本信息
#cat/proc/cpuinfo #查看CPU信息
#hostname #查看计算机名
#lspci-tv #列出所有pci设备
#lsusb-tv #列出所有usb设备
#lsmod #
The inode of the file defines the size of the file, the characteristics of all files, and so on. Each file and directory has its own unique inode number. But why use Inode to delete files, instead of using the usual RM-RF command? The reason is if
Linux firewall settings
"Task description"
(1) Set the network card IP address is 192.168.1.234, the subnet mask is 255.255 255.0, and the gateway is 192.168.1.1.
(2) Set DNS to 61.177.7.1.
(3) Linux firewall settings, disable SELinux, enable
The latest want to move to Linux to learn, but androidsdk that thing is too big, our information the Great Wall is too high, want to use Sdkmanager to download the complete SDK is basically impossible, unless you have a good speed to no friends.
The configuration file for the system network device is saved under the "/etc/sysconfig/network-scripts" directory, Ifcfg-eth0 contains configuration information for the first network card, IFCFG-ETH1 configuration information that contains the
When installing multiple network adapters on a Linux system, changing the name is not so simple, in the face of this multiple network card situation, Linux How to modify the name of the network card? Come along with the small weave to understand.
now the internet , the vast majority of sites, services, games are running in linux The release is numerous, as long as you play a version of a distribution, understand the essence, basic architecture, design principles, others are comprehend
First, mount the data disk1. View Data diskBefore partitioning and formatting the data disk, using the "df–h" command, you cannot see the data disk, you can use the "fdisk-l" command to view.2. Partition the data diskExecute the "fdisk/dev/xvdb"
Before installing, check that the system has a JDK installedRpm-qa | grep javaIf you can use Rpm-qa | grep Java | Xargs rpm-e--nodeps bulk unload all files with JavaDownload on official
SlackwareSuseopenSUSESLE (Enterprise-wide release)The most popular distribution in Europe.Debian (through the Internet spontaneous mode for users to request self-high)Ubuntu (secondary release version)Mint (three release versions)RedhatRhel:redhat
650) this.width=650; "alt=" "GitHub" image search Result "src=" http://www.aha.io/assets/integration_logos/ Github-bb449e0ffbacbcb7f9c703db85b1cf0b.png "" 491 "height=" 182 "/> GitHub every time Pull/push code to require the user to push code is
1. Edit the Scheduled task list using the CRONTAB-E commandThe list of scheduled tasks edited with this command is user-level, and a file with the same user name is generated in the/var/spool/cron directory after the first edit, and the file content
One Linux Command 10 and one Linux Command 10 every day
File Processing Command: lnCommand name: ln command name: linkSyntax: ln-s [original file] [target file]-S: Create a soft connectionFunction Description: generate a link file.
#
Linux partition, file system, linux partition File
Linux partition type:
◆ Primary partition: a maximum of four partitions can be created.◆ Extended partition: Only one partition can be used as the primary partition, that isThe primary partition
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