电脑装配网

windows安装wget工具及windows进程操作命令

 人阅读 | 作者xiaolin | 时间:2023-06-15 03:27

1.安装wget工具

1.1 . 下载wget的zip包:https://eternallybored.org/misc/wget/

1.2. 解压缩文件后得到wget.exe

1.3. 将wget.exe文件拷贝到C:\windows\system32目录下

1.4. 打开cmd,输入wget -v可以看到wget安装成功

windows安装python环境并安装request模块

2.1. 下载python-3.10.5-amd64.exe文件并安装

2.2. python安装requests Python安装模块使用pip命令,现在高版本Python在安装时已经自动安装了pip,不需要再安装,在python安装目录的Scripts下,比如Python2.7 Windows环境,打开cmd命令行,切换到Python安装目录下的Scripts,再输入pip install requests

doc命令操作文件命令

1. 创建一个空文件 type nul>a.txt type nul>b.md2. 追究内容 echo aaaa>a.txt echo aaaa>>a.txt3. 删除空目录 rmdir dirname rd dirname4. 重命名文件或目录 rename src_name new_name ren rename src_name new_name5. 拷贝文件或目录 copy source destlination6. 删除目录或文件 del file del dir

windows进程相关命令

windows根据端口杀进程 ~首先找到进程 netstat -ano | findstr 端口号杀死进程 taskkill /f /t /im 进程id根据PID杀进程 taskkill /f /pid 3000根据端口查找对应的PID netstat -aon | findstr "8080"根据PID查看端口 netstat -ano | findstr PID根据PID查询运行程序的路径及程序名 wmic process get name,executablepath,processid|findstr 13712根据PID查看是什么进程 tasklist | findstr PID

文章标签:

本文链接:『转载请注明出处』