List all files ( shows hidden files): ls -a Learn about them in our list of dangerous Linux commands. Note: Some commands are not recommended to use. See files larger than a specified size in a folder: find -size List names that begin with a specified character in a specified location by using the find command: find -name Recursively search for a pattern in a directory: grep -r įind all files and directories related to a particular name: locate Search for a specific pattern in a file with grep: grep Run a disk check on an unmounted disk or partition: fsck Searching Test for unreadable blocks on device/disk: badblocks -s /dev/ Show hardware information from the BIOS: dmidecodeĭisplay disk data information: hdparm -i /dev/diskĬonduct a read-speed test on device/disk: hdparm -tT /dev/ Show PCI devices in a tree-like diagram: lspci -tvĭisplay USB devices in a tree-like diagram: lsusb -tv See information about block devices: lsblk List hardware configuration information: lshw ![]() Hardware Informationĭisplay free and used memory with: free -h The commands found in the downloadable cheat sheet are listed below.
0 Comments
Leave a Reply. |