The following describes how to use RPM software packages in a Linux operating system-Linux general technology-Linux technology and application. 1. How to install the rpm Software Package
You can use the program rpm to install the rmp package. Run the following command rpm-I package_name.rpm (package_name.rpm is the file name of the rpm package you want to install, which is usually placed in the current directory). The following prompt may appear duri
# Netstat-lntp # view all listening ports
# Netstat-antp # view all established connections
# Netstat-s # view network statistics
Process
# Ps-ef # view all processes
# Top # display Process status in real time
User
# W # view active users
# Id
# Last # view User Logon logs
# Cut-d:-f1/etc/passwd # view all users in the system
# Cut-d:-f1/etc/group # view all groups in the system
# Crontab-l # view the scheduled tasks of the current user
Service
# Chkconfig -- list # list all system service
omit the prefix's package name when you call the package's function, which is the FMT you called earlier. Println ("Hello World") can be omitted as written Println ("Hello World")2. alias Operation alias operation as the name implies, the package can be named as another easy to remember names.The import (f "FMT") alias operation invokes the package function when the prefix becomes a renamed prefix, that is, F. Println ("Hello World")3. _ Operation This operation is often confusing to many peopl
A package is a mechanism that distinguishes a class namespace from the Java language, which is a kind of file organization and management method of a class, a set of classes or interfaces that are functionally similar or related. The Java package provides a management mechanism for access and naming, which is a very basic but very important concept in Java.The role of a package1 The functions of similar or related classes or interfaces organized in the same package, convenient for the search and
Java uses the package structure to organize and manage classes and interface files. This article introduces several common packages in the Java language Library, because these packages are often needed in software development and applications, and some of them are necessary. If you leave it, you really can't do anything.First Package: Java.lang package. The package provides the basic class for programming
This article transferred from: http://blog.csdn.net/mazhaojuan/article/details/21403717Third-party jar packages are often used when developing programs with Eclipse. The introduction of a jar package is not a small problem, and is a waste of time due to the unclear location of the jar package. The following diagram illustrates how 3 types of Eclipse introduce jar packages.1. The most common common operati
After RHEL (Red Hat Enterprise Linux) is upgraded to 5.0, yum (yellow dog update manager) is used to manage software packages, including software package updates and patch delivery. This is not a small change! So far:
1. If you have not purchased a RedHat subscription, you will not be able to get the Installation Number (note that it is not the serial number at the time of installation). Therefore, you will not be able to register the system, and you
Java uses the package structure to organize and manage classes and interface files. This article introduces several common packages in the Java language Library, because these packages are often needed in software development and applications, and some of them are necessary. If you leave it, you really can't do anything.First Package: Java.lang package. "The package provides the basic class for programming
What is a package
The package in Java (Package) actually refers to the directory, which is to better manage Java classes (class) and Interfaces (Interface). The Java language package can be used by another Java development package. If we want to refer to a class in a package, use the Import keyword to mark it. Like what:
import java.util. date=new Date
Hint: Import Java.util. Represents that all public classes and interfaces in Java.util are introduced into the current package. The matching c
Third-party jar packages are often used when developing programs with Eclipse. The introduction of a jar package is not a small problem, and is a waste of time due to the unclear location of the jar package. The following diagram illustrates how 3 types of Eclipse introduce jar packages.1. The most common common operation mode: basic Steps right-click "Project" → Select Properties, select Java Build Path in
Third-party jar packages are often used when developing programs with Eclipse. The introduction of a jar package is not a small problem, and is a waste of time due to the unclear location of the jar package. The following diagram illustrates how 3 types of Eclipse introduce jar packages.1. The most common common operation method: Basic Step TypeRight-click on "Project" → Select Properties, select Java Build
Code packages in Meteor are classified into five types: meteor.The Code packages in Meteor are classified into five types:
Meteor core code is divided into multiple core packages, which are included in each Meteor application. Basically, you do not need to spend the effort to maintain them.
Common Meteor code packages
parameters (only applicable to IDE devices)
# Dmesg | grep IDE # view the IDE device detection status at startup
Network
# Ifconfig # view the attributes of all network interfaces
# Iptables-L # View firewall settings
# Route-n # view the route table
# Netstat-lntp # View all listening ports
# Netstat-antp # View all established connections
# Netstat-s # View network statistics
Process
# Ps-ef # View all processes
# Top # Display process status in real time
User
# W # View active users
# Id
corrupted files and execute this command: Rpm-va, Linux will list all corrupted files for you. You can fix it through the Linux installation CD.8.Linux system of many files, in the course of use, will inevitably encounter the files we do not know, under Windows we can use the "Start/Find" menu to quickly determine which folder a file belongs to, in Linux, The following command line can help us quickly determine which package a file belongs to:RPM-QF 9. When each package is installed on a Linux
= = ' __main__ ':
# Yes
Statements
Else
# No (may be imported as a module)
Statements
Module Search PathWhen the module is imported, the interpreter searches the Sys.path list, which holds a list of directories. The value of a typical Sys.path list:Linux:[' ', '/usr/local/lib/python2.0 ','/usr/local/lib/python2.0/plat-sunos5 ','/usr/local/lib/python2.0/lib-tk ','/usr/local/lib/python2.0/lib-dynload ','/usr/local/lib/python2.0/site-p
To better organize classes, Java provides a package mechanism for distinguishing the namespace of a class name.the role of the package
1 The functions of similar or related classes or interfaces organized in the same package, convenient for the search and use of the class.
2 As with folders, packages are stored in a tree-like directory. The class names in the same package are different, and the names of the classes in different
Three major features of Java-Summary of encapsulation knowledge and summary of three major java packages
Recently, a friend said that he wanted to say that he was learning java recently. He still had some incomprehension about the object-oriented programming language to help him "transform" faster ", I wrote this article. Because from the perspective of superstructure. All the ideas of object-oriented programming languages are similar, and these three
Article Title: Tips for using RPM software packages in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. How to install the rpm Software Package
You can use the program rpm to install the rmp package. Run the following command rpm-I package_name.rpm (package_name.rpm is the file name of the rpm package you
The Yum (Yellow dog Updater, Modified) was developed by the Duke University team, who modified Yellow dog Yellow, a software based on RPM package management, which is a character front-end package manager. The ability to automatically download RPM packages from the specified server and install them, can handle dependencies, and install all dependent packages at once, without the hassle of downloading and in
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.