Linux Study Notes

Source: Internet
Author: User
Linux Study Notes-general Linux technology-Linux technology and application information. For more information, see the following section. Uninstall software rpm-e in linux

View the rpm-qa package under linuxf

Install the tar package:

. \ Configure;

Make;

Make install;

Uninstall:

Make uninstall;

View the device file: df (device file)-h

Switch User: su

Statistics: du-sh /*

View partitions: fdisk-l/dev/hda

View domain name and DNS: more/etc/resolv. conf

View network environment: ifconfig (interface config)

Set IP: netconfig/etc/sysconfig/network-scripts/ifcfg-eth0

Restart the network service: service network restart

View route: route-n

Modify IP Address: ifconfig eth0 192.192.192.8 255.255.255.0

Add Gateway: route add default gw 192.192.192.1

View the language environment: local, locale-

LANG = zh_CN.GB2312

Date

Language configuration file:/etc/sysconfig/i18n

Modify the system startup configuration: chkconfig

Comprehensive Configuration tool: setup 1.2.3.4.5.

Chk config-list | more

Check running level: runlevel

Ls/etc/rc3.d

Ls-ld/etc/rc ?. D

System Startup Initialization Script: more/etc/inittab

Init 0 (shutdown)

Init 6 (restart)

Init1 (Single User Mode)

Network System Service: ntsysv

Pop-up optical drive: eject)

Disable the optical drive: eject-t

Add new hardware for system recognition: service kudzu start

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.