Linux系統常用命令(二)

2021-09-24 11:00:46 字數 810 閱讀 7368

2019獨角獸企業重金招聘python工程師標準》

檢視硬體資訊:

lspci 檢視pci裝置(逐行顯示每個裝置的基本資訊)

如音效卡、usb控制器、host bridge、vga compatible controller、ethernet controller、sata controller等等。

lspci  -v 顯示詳細pci裝置。(逐段顯示每個裝置的詳細資訊)

lsusb 檢視usb裝置。

lsusb檢視詳細usb裝置。

bus 002 device 004: id 0nnn:nnne ***x, inc. m115 optical mouse

bus 002 device 002: id nnnn:nnnn

intel corp. integrated rate matching hub

bus 002 device 001: id nnnn:nnnn linux foundation 2.0 root hub

bus 001 device 003: id nnnn:nnnn ***xx integrated webcam

bus 001 device 002: id nn37:1nn0 intel corp. integrated rate matching hub

bus 001 device 001: id 1ffb:00nn linux foundation 2.0 root hub

小知識:windows驅動 對應於 linux模組,叫法不懂哦。載入。。。

lsmod 用於顯示當前系統載入的模組(驅動)。

Linux 系統常用命令

linux 系統常用命令格式 command option argument1 argument2 其中option以 開始,多個option可用乙個 連起來,如 ls l a 與 ls la 的效果是一樣的。根據命令的不同,引數分為可選的或必須的 所有的命令從標準輸入接受輸入,輸出結果顯示在標準輸...

linux系統常用命令

檢視系統發行版本 cat etc issue 檢視系統核心版本 cat proc version 更改檔名 mv hello1.txt hello2.txt,將 hello1.txt 改名為 hello2.txt 移動檔案並改名 mv home hello.txt data hello2.txt,將...

Linux系統常用命令

檔案系統 filesystem 實現檔案的層次化管理 ls list 列出,列表 列出指定路徑下的檔案 l 常格式 顯示檔案的列表下檔案的詳細資訊 檔案型別 普通檔案 f d 目錄檔案 dirctory b 塊檔案 block l 符號鏈結檔案 symbolic link file c 字元裝置檔案...