System# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of loaded
The Netfilter/iptables IP packet filtering system is a powerful tool for adding, editing, and removing rules that are followed and composed by firewalls when making packet filtering decisions. These rules are stored in a dedicated packet filtering
Nic Name:The network interface identifies and names the associated udev configuration files:/etc/udev/rules.d/70-persistent-net.rulesTo uninstall the NIC driver:Modprobe-r e1000Load NIC driver:Modprobe e1000The NIC name is defined in
In the preceding article, we describe an inter-process communication method: Using a signal, we create a notification event, and it causes a response, but the information passed is just a signal value. Here's another way to communicate between
IntroductionAwk is a powerful text analysis tool, with the search for grep and the editing of SED, which is especially powerful when it comes to analyzing data and generating reports. To put it simply, awk reads the file line-by-row, using spaces as
NETSTAT-TLN command is Linux view port usage/etc/init.d/vsftp start is used to start the FTP port!See File/etc/servicesNetstatLinux View Ports View connected service ports (established)Netstat-aLinux View Port View all service ports
1. Displays the default shell for root, fedora, or User1 users on the current system ;#egrep ' ^ (root|fedora|user1) '/etc/passwd|cut-d:-f1,7[[email protected] ~]# egrep ' ^ (root|lanin) '/etc/passwd|cut-d:- F1,7root:/bin/bashlanin:/bin/bash#awk-F: '
Environment: Three redhat6.5 (VM virtual machines)First, the OSPF protocolOSPF (Open Shortest Path first Open Shortest path priority) is an internal gateway protocol (Interior Gateway Protocol, or IGP) for use in single autonomous systems
2. UseThe grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular
Server environment: Centos 5.8 64-bit1. Download XL2TPHttp://pkgs.org/search/?query=xl2tp&type=smart Select the appropriate version to download2. Installing PPP and XL2TPYum Install PPPYum Install xl2tpd3, Configuration xl2tpd.confFile
IP Network Setup BasicsIdentify each connection to a network interface by assigning a worldwide unique 32bit identifier to each network interface. The IP address includes three parts: Internet network number, subnet number, host number. In the
First, Linux:1. View instructions for all environment variablesMethod 1:$:export (Export command is to display, set, or delete Linux environment variables ;)Method 2:$:env2. View a specified environment variableMethod 1:$:export PATHMethod 2:$:echo $
Install Node. js in CentOS
cd /usr/local/src/tar -zxvf node-v4.4.5.tar.gzcd node-v4.4.5./configure --prefix=/usr/local/node/4.4.5makemake install
Configure node. js
vim /etc/profile
Set the nodejs environment variable and add the following content
Technology companies become "scenic spots" for tourists"
A well-known technology company in Silicon Valley attracted a group of tourists to visit their headquarters. A San Francisco resident described the sightseeing route he provided to friends
The global Linux Desktop share is 2% million!The global Linux Desktop share is 2% million!
According to data from market research institutions, in the past June, the global market share of Linux Desktop broke through2% -- if I remember correctly,
Linux Integration Services 4.0 update releasedLinux Integration Services (LIS) is a service designed to run Linux guest VM in Hyper-V for the best user experience, at present, Microsoft has officially released Linux Integration Services (LIS) 4.0
Linux kernel 4.8-rc4 do you want to try?
One week before the release of the third candidate edition, Linus Torvalds announced today that Linux Kernel 4.8-rc4 can be downloaded by users who like it. Linus Torvalds said in the mail that Linux kernel 4
The simplest steps for compiling bootloader are as follows:
The simplest steps for compiling bootloader are as follows:
1. initialize hardware: Turn off the watchdog, set the clock, set the SDRAM, and initialize the nand flash.2. If the bootloader
Mysql remote connection in Linux
Ip address of the Local Computer: 192.168.1.100Remote Computer ip Address: 192.168.1.244Open mysql server on a remote computer: #/etc/init. d/mysql. server startConnect the local computer to the remote mysql Server:./
Use shell scripts to control conditions and use loops.
Reprinted please mark: http://www.cnblogs.com/winifred-tang94/
If Condition Statement Syntax:
If [conditional expression]
Then
Code
Else
Code
Fi
Note:: In the preceding if Condition Statement,
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