Home > OS >  Centos7 several basic command of usage and yum and shallow usage of RPM
Centos7 several basic command of usage and yum and shallow usage of RPM

Time:10-05

Yum
Yum is a large software library for redhat, only as long as the inside some software can be directly used to use (built-in matchs good rely on documents), unlike the RPM also need to download the dependent files
Specific usage: yum install + (software name)
To create a vim as same as the name of the software, write good configuration
You can install success
The RPM
RPM to needs in the software's official website to download the Linux version, and then into the specified folder RPM - the ivh + (software name), warrant that depend on the file, direct wget + need to rely on the file name to download
Centos7 parts orders and use less (parameters)
Vim
Vim is a compiler
.
The rm
Rm usage: rm -r to delete a single file
Rm - rf forced to delete a file or folder
The mkdir useradd: create a new user
The mkdir: create a folder
Usage: mkdir + folder name + position specified file
Touch: to create a file
Usage: touch + name + position specified file
Su: switch to the root
Su - l + user name: switch to the specified user
CD: return to the command line main page
CD.. Returns on a layer of directory
CD/+ specified directory: into the next layer of the specified directory
Mv + name +/files starting position +/mobile location: move a file to the specified location
Unzip + zip compressed format file: extract the current file






  • Related