Getting Started with Linux Enterprise 5 system Exercise 1

Source: Internet
Author: User


[[email protected] ~]# uname //view current system

Linux

[[email protected] ~]# uname-r//view kernel version

2.6.18-348.el5

[[email protected] ~]# uname-a//View details of the kernel

Linux localhost.localdomain 2.6.18-348.el5 #1 SMP Wed Nov 21:22:00 EST. x86_64 x86_64 x86_64 Gnu/linux

[Email protected] ~]# lsb_release-d

description:red Hat Enterprise Linux Server release 5.9 (Tikanga)

[[email protected] ~]# cat/etc/redhat-release//Display the first page information of the document

Red Hat Enterprise Linux Server release 5.9 (Tikanga)

[[email protected] ~]# hostname//display current host name

Localhost.localdomain

[[email protected] ~]# hostname 1408//naming host 1408

[Email protected] ~]# hostname

1408

[[email protected] ~]# ifconfig eth0//view first NIC information

Eth0 Link encap:ethernet HWaddr 00:0C:29:C2:46:AF

inet addr:192.168.182.230 bcast:192.168.182.255 mask:255.255.255.0

Inet6 ADDR:FE80::20C:29FF:FEC2:46AF/64 Scope:link

Up broadcast RUNNING multicast mtu:1500 metric:1

RX packets:21 errors:0 dropped:0 overruns:0 frame:0

TX packets:53 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:3152 (3.0 KiB) TX bytes:9297 (9.0 KiB)

[[email protected] ~]# ifconfig eth0 10.0.0.10//define port IP address = 10.0.0.10

[Email protected] ~]# ifconfig eth0

Eth0 Link encap:ethernet HWaddr 00:0C:29:C2:46:AF

inet addr:10.0.0.10 bcast:10.255.255.255 mask:255.0.0.0

Inet6 ADDR:FE80::20C:29FF:FEC2:46AF/64 Scope:link

Up broadcast RUNNING multicast mtu:1500 metric:1

RX packets:31 errors:0 dropped:0 overruns:0 frame:0

TX packets:61 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:4322 (4.2 KiB) TX bytes:11051 (10.7 KiB)

[[email protected] ~]# Cat/proc/cpuinfo//view CPU Details

processor:0

Vendor_id:genuineintel

CPU Family:6

model:58

Model Name:intel (R) Core (TM) i3-3220 CPU @ 3.30GHz

Stepping:9

CPU mhz:3292.549

...

[[email protected] ~]# Cat/proc/meminfo//view memory details

memtotal:1023848 KB

memfree:367560 KB

...

[[email protected] ~]# free-m//Physical memory statistics

Total used free shared buffers Cached

mem:999 642 356 0 31 359

-/+ buffers/cache:251 747

swap:2047 0 2047

[Email protected] ~]# pwd


This article from "9526782" blog, declined reprint!

Getting Started with Linux Enterprise 5 system Exercise 1

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.