In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly continues with the previous article on "testing common linux command set 6", including "touch, vim, yum, whereis, rpm" commands. Hope that interested friends can keep watching and welcome to put forward valuable suggestions for us to make progress together!
Command touch vi-vim Shortcut key Operation Chart .jpg31: command yumyum [parameters] [command] [package] description: find, install, update, delete one, a group or even all of the software packages of the command command to carry out the operation; package operation object Note: (1) CentOS system uses yum (2) Ubuntu system uses apt
01) make a list of all updatable software: yum check-update
02) Update all software: yum update
03) install only the specified software: yum install package_name
04) Update only the specified software: yum update package_name
05) make a list of all installable software: yum list
06) View the information of a software package: yum info package_name
07) remove a software package: yum remove package_name
08) find a software package: yum search
09) clear the cache:
Remove software packages in the cache directory: yum clean packages clear headers: yum clean headers clear old headers: yum clean oldheaders in the cache directory
10) get help: man yum
Command whereiswhereis [parameter] [command name] description: search the path where the command is located and the location parameter of the help document:-b locate the executable file location information and output to standard output-m location help file location information and output to standard output-s locate source code file location information and output to standard output
1) display the location of the scp command: whereis scp
2) display the path of the binary program of the scp command: whereis-b scp
3) whereis can help users find the binaries, source code and help pages of a command
Command rpmrpm [parameters] [command name] description: management tool parameters of the software package:-a query all packages-e delete specified packages-f query packages with specified files-h suites list when installing-I display information about suites-p query specified rpm files-Q use query mode When there is any problem, the rpm instruction will first ask the user-U to upgrade the specified package file-v to show the instruction execution process.
1) check the package name of the scp command: rpm-qf / usr/bin/scp
2) return information about the package: rpm-qif scp or rpm-qi package_name
3) return the file list of the software package: rpm-qlf scp
4) query whether the tree command is installed: rpm-Q tree
5) install a software package: rpm-ivh package_name
6) upgrade a software package: rpm-Uvh package_name
7) Uninstall a software package: rpm-e package_name
Linux orders that you can't just look at theoretical knowledge, you have to knock more and practice. You look good when you try to type orders.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.