当前位置:网站首页>网络安全基础-基本dos命令(一)
网络安全基础-基本dos命令(一)
2022-08-09 00:43:00 【weixin_43198270】
一、windows操作系统基本命令
1、新建文件并填写内容
echo hello world >test.txt
2、查看文件内容
type test.txt
3、如果文件内容不止一页,想翻页看
type test.txt | more
dir c:\windows | more
按空格会翻到下一页
4、DOS中打开文件编辑大量数据
copy con test.txt
con:屏幕,输入该条命令可直接编辑
编辑完成之后按ctrl+z,回车,结束编写
5、删除文件&批量删除文件
del test.txt
删除后缀为txt 的文件
del *.txt
删除所有文件
del .
6、创建文件夹
md test
7、修改文件夹的属性
attrib +h +s +a test
h:隐藏
s:受保护的系统级的文件夹
a:只读
8、浏览所有文件
dir /a
9、生成一个内容为空大小自定义的文件(用管理员打开cmd执行)
fsutil file createnew d:\system.ini 409600000
10、修改关联性(修改文件后缀)
把txt后缀的文件修改为exe后缀的
assoc .txt=exefile
assoc .txt=txtfile
11、关机
shutdown -s -t 100
shutdown -r -t 100
shutdown -s -f -t 100
shutdown -a 取消定时关机
shutdown -s -f -t 1000 -c “关机提示语”
s:关机
t:指定时间
t后面的是秒
r:重启
f:强制操作
12、注销登录
shutdown -l
logoff
13、复制命令&移动命令
copy test.txt …\b
move test.txt …\b
…\当前目录的上一级的上一级
14、修改名字
ren 旧名 新名
边栏推荐
- 4-9 Matplotlib图结构分析
- 数学建模美赛题型分类
- STM32H750VBT6 Keil5 error :flash download failed cortex-M7
- Sencha touch中Ext.data.Store获取json串中key值的方法
- Unified identity management platform IAM single sign-on process and third-party interface design scheme
- #468. 函数求和
- 手把手教你云服务器如何搭建typecho博客网站(包括配置免费SSL证书)
- 图像去雾概述
- aspx结尾文件网站的发布过程
- vscode 中新建文件自动显示作者,日期等配置
猜你喜欢
全新Swagger3.0教程,OAS3快速配置指南,实现API接口文档自动化!
Use Ehcache distributed cache to easily create commercial-grade high-concurrency, high-performance API interfaces!
sql一些小建议
插值拟合——数据处理或预测
5-2 Seaborn 分类绘图
aspx结尾文件网站的发布过程
4-5 Matplotlib库 散点图
“圆梦杯”大学生智能硬件设计大赛 初赛样题——理论题作答
EfficientNet v2网络学习记录--更小更快
轻量化网络ChannelNet--channel-wize Conv在channel维度卷积
随机推荐
Pytorch预训练模型和修改——记录
Transformer前言:self-attention与Multi-Headed Attention的详细理解
神经网络基本原理
Node.js:MySQL.js的基本操作增删改查
在Ubuntu/Linux环境下使用MySQL:解决com.mysql.jdbc.PacketTooBigException: Packet for query is too large的问题
tf.pad()--填充操作
登录退出功能
Discourse 的关闭主题(Close Topic )和重新开放主题
Use Ehcache distributed cache to easily create commercial-grade high-concurrency, high-performance API interfaces!
笔记&代码 | 统计学——基于R(第四版) 第二章数据可视化
轻量化网络ChannelNet--channel-wize Conv在channel维度卷积
Data Agencies - Huffman Trees
4-2 Matplotlib库 基本使用(绘制折线图)
线程与线程池
架构组学习总结
Using MySQL in Ubuntu/Linux environment: Solve the problem of com.mysql.jdbc.PacketTooBigException: Packet for query is too large
在vscode中编辑、编译、下载Keil工程
CondConv--动态卷积思想
对付流氓软件
mysql排序总结