Shell/Bash在线运行

运行结果
教程手册
代码仓库
极速运行
终端运行
图形+终端

                        
以下是用户最新保存的代码
查询被封禁ip 发布于:2023-09-19 16:37 shell减法函数 发布于:2023-09-13 10:57 centos7测试tomcat服务是否正常运行 发布于:2023-09-13 10:25 shell-study 发布于:2023-09-06 15:06 just for shell script learn 发布于:2023-09-01 09:34 测试Shell参数传递 发布于:2023-08-24 11:27 对cdh6进行自动化安装 发布于:2023-08-23 10:10 安装zookeeper 发布于:2023-08-14 18:32 安装mongo 发布于:2023-08-11 17:40 容器安装mysql 发布于:2023-08-04 15:19 最后的最后把它搞定 发布于:2023-08-03 14:32 shell测试 发布于:2023-08-01 16:07 Shell 代码验证 发布于:2023-07-24 15:25 shell测试程序 发布于:2023-07-23 22:31 在 bash 中运行简单正确的 C 发布于:2023-07-23 10:55 shell函数5-4 while循环 发布于:2023-07-20 10:56 shell的demo 发布于:2023-07-17 23:14 # linux 初学者 发布于:2023-08-24 15:02 shell 在线脚本 1 发布于:2023-07-12 22:16 简单的计算器实现 发布于:2023-07-11 17:17 手机号码正则验证 发布于:2023-08-07 16:20 指定关闭或打开端口号 发布于:2023-07-07 16:14 #!/bin/bash a="hello,world,nice,to,meet,you" #要将$a分割开,先存储旧的分隔符 OLD_IFS="$IFS" #设置分隔符 IFS="," #如下会自动分隔 arr=($a) #恢复原来的分隔符 IFS="$OLD_IFS" function func1(){ echo $@ } #遍历数组 for s in ${arr[@]} do func1 "$s" done echo "完成" 发布于:2023-07-04 14:17 批量增加用户打印 发布于:2023-06-12 13:41 ##10num求最值平均值 发布于:2023-06-12 16:12 测试Jenkins 发布于:2023-06-07 14:02 九九乘法表 发布于:2023-06-07 10:37 case判断 发布于:2023-06-07 10:13 这是一个测试代码 发布于:2023-06-07 09:25 测试shell 发布于:2023-05-29 18:53 ## shell流程控制语句 发布于:2023-05-29 14:46 shell函数 发布于:2023-05-29 11:32 prinf格式化 发布于:2023-05-29 11:15 Break语句 发布于:2023-05-29 11:11 ## echo输出命令 发布于:2023-05-29 10:23 ## 字符串运算符 发布于:2023-05-26 15:55 ## 获取数组的所有元素 ## 获取数组的长度 发布于:2023-05-26 15:19 ## 读取数组 ## 关联数组 发布于:2023-05-26 15:10 编写shell脚本,输出0 - 500 这几个数字中,是7倍数的数字,比如7, 14, 21....,不包括0 发布于:2023-05-25 16:04 计算1-100之间的所有奇数和 发布于:2023-05-25 14:10 # shell多行注释 发布于:2023-05-25 11:59 # Shell数组 ## 定义数组 ## 读取数组 ## 获取数组的长度 发布于:2023-05-25 11:57 # Shell字符串 ## 拼接字符串 ## 提取子字符串 ## 查找子字符串 发布于:2023-05-25 11:49 删除变量简介 发布于:2023-05-25 11:31 Shell变量1 发布于:2023-05-25 11:27 脚本二温茂 发布于:2023-05-25 15:52 #从7开始循环到500,每次加7 发布于:2023-05-25 15:08 测试按行读取配置文件 发布于:2023-05-05 13:25 修改nginx监听端口 发布于:2023-04-20 16:33 比较输入数字大小 发布于:2023-04-20 15:57 [更多]
显示目录

lsmod命令-显示已载入系统模块



lsmod命令

lsmod命令用于显示已载入系统的模块。

执行lsmod(list modules)指令,会列出所有已载入系统的模块。Linux操作系统的核心具有模块化的特性,应此在编译核心时,务须把全部的功能都放入核心。您可以将这些功能编译成一个个单独的模块,待需要时再分别载入。

语法

lsmod

实例

显示模块信息

# lsmod 
Module         Size Used by
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 1 
xt_tcpmss        1197 1 
xt_tcpudp        2011 1 
iptable_mangle     2771 1 
ip_tables        9991 1 iptable_mangle
x_tables        14299 4 xt_TCPMSS,xt_tcpmss,xt_tcpudp,ip_tables
pppoe          8943 2 
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 
snd_mixer_oss     13746 1 snd_pcm_oss
snd_pcm        70662 3 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy      1338 0 
snd_seq_oss      26726 0 
snd_seq_midi      4557 0 
snd_rawmidi      19056 2 snd_ens1371,snd_seq_midi
snd_seq_midi_event   6003 2 snd_seq_oss,snd_seq_midi
snd_seq        47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer       19098 2 snd_pcm,snd_seq
snd_seq_device     5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
fbcon         35102 71 
tileblit        2031 1 fbcon
font          7557 1 fbcon
bitblit         4707 1 fbcon
ppdev          5259 0 
softcursor       1189 1 bitblit
snd          54148 10 snd_ens1371,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse        63245 0 
serio_raw        3978 0 
soundcore        6620 1 snd
parport_pc       25962 1 
snd_page_alloc     7076 1 snd_pcm
vga16fb        11385 1 
intel_agp       24177 1 
vgastate        8961 1 vga16fb
i2c_piix4        8335 0 
shpchp         28820 0 
agpgart        31724 1 intel_agp
lp           7028 0 
parport        32635 3 ppdev,parport_pc,lp
mptspi         14652 2 
mptscsih        31325 1 mptspi
pcnet32        28890 0 
floppy         53016 0 
mii           4381 1 pcnet32
mptbase        83022 2 mptspi,mptscsih
scsi_transport_spi   21096 1 mptspi
由JSRUN为你提供的Shell/Bash在线运行、在线编译工具
        JSRUN提供的Shell/Bash 在线运行,Shell/Bash 在线运行工具,基于linux操作系统环境提供线上编译和线上运行,具有运行快速,运行结果与常用开发、生产环境保持一致的特点。