windows拿到cmd許可權之後常用命令

來源:互聯網
上載者:User

標籤:paint   dmi   .exe   taskkill   net   查看本機   kill   查看連接埠   寫入文本   

whoami                // 查看目前使用者名稱

ipconfig                // 查看本機ip資訊,可加 /all 參數

netstat -ano            // 查看連接埠清況

dir c:\                // 查看目錄

type c:\Users\admin\Desktop\1.txt  // 查看制定位置檔案內容,一般為文字檔

echo 字串>2.txt         // 寫入文本到檔案。特殊字元如<>等前面加^ 

copy 1.txt 3.php          // 複製檔案

rename d:\2.txt mspaint.bat       // 將某個路徑下的檔案重新命名

tasklist                // 查看所有進程佔用的連接埠 

taskkill /im 映像名稱.exe /f      // 強制結束指定進程,如 taskkill /im QQMusic.exe /f

systeminfo             // OS名稱版本,已安裝補丁編號等資訊

 

windows拿到cmd許可權之後常用命令

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.