Ten Linux commands

  • grep: Search through all the text in a given file.
  • less: Less is a command line utility that displays the contents of a file or a command output, one page at a time.
  • ifconfig: ifconfig stands for "interface configuration." It is used to view and change the configuration of the network interfaces on your system.
  • netstat: netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics.
  • nslookup: nslookup (stands for “Name Server Lookup”) is a useful command for getting information from DNS server.
  • dig: dig command in Linux is used to gather DNS information.
  • uptime: Uptime is a command that returns information about how long your system has been running together with the current time, number of users with running sessions, and the system load averages for the past 1, 5, and 15 minutes.
  • top: top command will display a list of running processes and how much CPU each process uses.
  • free: the free command displays the total amount of free and used physical and swap memory, and the buffers used by the kernel.
  • lsof: The lsof command in Linux displays in its output information about files that are opened by processes.

你可能感兴趣的:(Ten Linux commands)