ailurus日积月累(Ailurus日积月累).docVIP

  • 11
  • 0
  • 约7.53千字
  • 约 18页
  • 2017-08-21 发布于河南
  • 举报
ailurus日积月累(Ailurus日积月累)

ailurus日积月累(Ailurus日积月累) The motto of Ailurus Better teach fish than fish. Empty Bash history History -c If you want to use the color LS, that is, to distinguish between different types of files in color, you can add these lines at the end of ~/.bashrc: If [[$TERM = = dumb ]; then Eval `dircolors -b` Alias ls=ls --color=auto Fi Display native Linux distribution code Lsb_release -is Displays the version number of the Linux distribution Lsb_release -rs Display the product code of Linux Lsb_release -cs Display computer hardware name Uname -m List all PCI devices, such as video cards and network cards. Lspci Reclaim pages, directory entries, and i- nodes in memory Echo 3 /proc/sys/vm/drop_caches Lists the modules loaded by the Linux kernel Lsmod List USB devices Lsusb -v Show the status of the network card Sudo ethtool eth0 List hardware information Sudo lshw List hard disk partitions Sudo fdisk -l Display the parameters of the SATA hard disk Sudo hdparm -I /dev/sda Shows how hard disk space is used DF -h Displays disk space in files / folders Du -bsh FOLDER_NAME Displays the amount of free memory, the amount of memory being used Free List process PS -e List process trees Pstree Dynamically list processes Top Terminates the process given the process ID Sudo kill -9 PROCESS_ID Given a process name, terminates all processes that have this name Sudo killall PROCESS_NAME Lists all the files that are being used by the specified process Lsof -p PROCESS_ID Lsof -c PROCESS_NAME Lists all processes that are using the specified file Lsof FILE_NAME List all processes that are using 80 ports Lsof -i: 80 Configuring a ADSL connection Sudo pppoeconf Start ADSL connection Sudo PON Close the ADSL connection Sudo poff Given the IP address, query MAC Arping IP_ADDRESS Given the IP address, check the NetBIOS name Nmblookup -A IP_ADDRESS Displays the IP address and MAC Ifconfig -a Display routing Netstat -rn Set the MAC for the network card Sudo, ifconfig, eth0, HW, ether, 00:11:22:33:44:

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档