Skip to content

sunowsir/MyShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyShell

Some small scripts

  • Contains some useful small scripts written during the learning process.

CPU_info.sh

  • 采集CPU信息

Disk_info.sh

  • 采集磁盘信息

Linear_sieve.sh

  • bash脚本实现素数线性筛

Malicious_ps_info.sh

  • 采集恶意进程
  • 本脚本对恶意进程的定义:CPU或内存占用超过**50%**5秒以上

Mem_info.sh

  • 采集内存信息

Sys_info.sh

  • 采集系统信息

User_info.sh

  • 采集登陆者信息

all_ip.sh

  • 采集局域网内已被占用的内网ip

file_open.sh

  • 根据文件不同后缀用不同应用打开文件

files.h

  • 根据指定后缀,指定路径等输出相应路径下的文件信息

isprime.sh

  • 判断一个数是否为素数

Crawl_Pictures.sh

  • 利用正则表达式爬取指定URL的图片到指定路径

rms.sh

  • 简单实现安全rm

run.sh

  • 单文件代码编译运行脚本。

wall.sh

  • 给其他登录用户发送消息