Windows网络连接常用cmd命令

常见数据库及端口

  • 1.oracle————1521
  • 2.sql server————1433
  • 3.mysql———–3306
  • 4.postgresql———-5432
  • 5.redis———6379
  • 6.mongdb———-27017
  • 7.db2———-5000
  • 8.pointbase———9092
nmap -O 192.168.235.130  # 扫描对面操作系统及端口开放信息

# https://nmap.org
-------------------------------------------------------
Mx@Ubuntu:~$ sudo nmap -O 192.168.235.130
Starting Nmap 7.93 ( https://nmap.org ) at 2023-09-10 12:41 CST
Nmap scan report for Ubuntu (192.168.235.130)
Host is up (0.000067s latency).
Not shown: 998 closed tcp ports (reset)
PORT     STATE SERVICE
22/tcp   open  ssh
3389/tcp open  ms-wbt-server
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
OS details: Linux 2.6.32
Network Distance: 0 hops

OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 1.48 seconds
Mx@Ubuntu:~$
----------------------------------------------------------

Windows网络连接命令

断开无线网
netsh wlan disconnect
 
连接指定无线网
netsh wlan connect name="WiFi名称" interface="网卡名称"
 
显示所有网卡信息
netsh wlan show interfaces
 
显示所有WiFi信息
netsh wlan show networks mode=bssid
 
删除指定配置文件
netsh wlan delete profile name="WiFi名称" interface="网卡名称"
 
添加指定配置文件
netsh wlan add profile filename="WiFi配置文件名" interface="网卡名称"
 
导出所有无线WiFi配置
netsh wlan export profile
 
 
WiFi设置页面
ms-settings:network-wifi
 
热点设置页面
ms-settings:network-mobilehotspot
 
WiFi列表页面
ms-settings:network-wifisettings
 
网络连接页面
ncpa.cpl

相关阅读

© 版权声明
THE END
喜欢就支持一下吧!
点赞75 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容