Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the common command rmmod in Linux

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to use the common command rmmod in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Linux common command rmmod (English spelling: remove module) command is used to delete modules, execute rmmod instructions, and delete unnecessary modules.

Syntax rmmod [- as] [module name.] Parameters:

-a remove all modules that are not currently needed.

-s outputs the information to the syslog resident service rather than the terminal interface.

The example shows the installed module

# lsmod Module Size Used by cramfs 39042 1 nfsd 238935 11 lockd 64849 1 nfsd nfs_acl 2245 1 nfsd auth_rpcgss 33735 1 nfsd sunrpc 193181 10 nfsd,lockd,nfs_acl,auth_rpcgss exportfs 3437 1 nfsd xt_TCPMSS 2931 0 xt_tcpmss 1197 0 xt_tcpudp 2011 0 iptable_mangle 2771 0 ip_tables 9991 1 iptable_mangle x_tables 14299 4. Omit some results pppoe 8943 0 pppox 2074 1 pppoe binfmt_misc 6587 1 snd_ens1371 18814 0 gameport 9089 1 snd_ens1371 snd_ac97_codec 100646 1 snd_ens1371 ac97_bus 1002 1 snd_ac97_codec snd_pcm_oss 35308 0 uninstall module

# rmmod-v pppoe / / Uninstall module pppoe Checking ppoe for persistent data installation module

# insmod-v pppoe > 1.log / / installation module ~ # tail-b 30 1.log / / displays file information thank you for reading! This is the end of the article on "how to use rmmod in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report