How to switch the login interface
Redhet Linux system: CTRL+ALT+FN(1~6) The first is a graphical interface
Ubuntu Linux system: XTRL+ALT+FN (1~7) seventh is a graphical interface
Modify Host Name
Hostnamectl Set-hostname newname
Querying System Information
Hostnamectl status
Network configuration
ifconfig eth0 IP address netmask subnet mask
Query code
Add, remove, and upgrade packages
Rpm-qa querying all packages that have been installed
RPM-QL <package> listing files in package packages
Rpm-ivh<package fille> installs RPM-formatted packages that can be installed in multiple
Yum-qi <package> Show the release information of a package
Rpm-e<package> Uninstalling a Package
Rpm-pl<package fille> query rpm package files
RPM--REBUILDDB Rebuild RPM Management Library
Yum search<keywords> search for keywords packages in the installation source, keywords keywords
Yum install<keywords> downloads and installs packages from the installation source server and can install multiple
Yum-y ' vim-* ' does not confirm that all packages that begin with "vim-" are installed directly
Yum install <packname> Auto Find and install contains the specified file package, Packname path name
Yum Remove <package> Uninstall software
Yum list lists all installed and available packages
Yum Info <package> Show package information
Yum Group list lists all software sets
Yum Upate packages already installed in the system
Yum Group Info <group> View information for a software set
Yum Group install <group> installation of a software set
Yum Group Remove <group> uninstall a software set
A simple File View
Noarch Arch Platform, independent of hardware architecture, Universal
MYPACKAGE-1.1-2RH.686.RPM MyPackage is the package name, 1.1 is the software version number, 2 is the release number, the RH represents the Redhet system, and the i686 represents the platform
This article is from the "Prodigal Love" blog, please be sure to keep this source http://xuzijian.blog.51cto.com/10675714/1697815
First day Linux basic operations