Home  >  Article  >  Computer Tutorials  >  A complete list of Linux system commands.

A complete list of Linux system commands.

WBOY
WBOYforward
2024-02-19 22:54:021097browse

A complete list of Linux system commands.

The following is a list of common Linux system commands (arranged in alphabetical order):

  • alias: Set command alias
  • awk: Text processing tool for extracting and manipulating text data
  • cat: concatenate files and print to standard output
  • cd:Change the current working directory
  • chmod: Modify the permissions of files or directories
  • chown: Modify the owner and group of the file or directory
  • chroot: Change the root file system directory
  • cp: Copy files or directories
  • cron: Scheduled task management tool
  • curl: Command line tool for downloading or uploading files
  • cut: Extract text data by columns
  • date: Display or set the system date and time
  • dd: Copy and convert files
  • df: Display the disk usage of the file system
  • diff: Compare the differences of files or directories
  • du: Estimate the disk usage of a file or directory
  • echo: Print text to standard output
  • find: Find files in the file system
  • free: Display system memory usage
  • grep: Search for the specified pattern in the file
  • head: Display the beginning of the file
  • history: Display or operate command history
  • ifconfig: Display and configure network interface
  • kill: Terminate the process
  • less: Browse text file content
  • ln: Create link (hard link or symbolic link)
  • ls: List directory contents
  • lsof: List open files and processes
  • man: View the command’s help manual
  • mkdir:Create directory
  • more: Display text file content page by page
  • mount: Mount file system
  • mv: Move or rename files or directories
  • netstat: Display network connection and statistical information
  • passwd: Change user password
  • ping: Test network connectivity with the target host
  • ps: Display process status
  • pwd: Display the current working directory
  • reboot: Restart the system
  • rm:Delete files or directories
  • rmdir:Delete empty directories
  • sed: Stream editor for text replacement and conversion
  • service:Management system service
  • shutdown: Shut down the system
  • sort: Sort text lines
  • ssh:Secure remote login tool
  • su:Switch user identity
  • tail: Display the end of the file
  • tar: Pack and unzip files
  • top: Real-time display of system resource usage and process status
  • touch: Create an empty file or update the access and modification time of a file
  • umount: Unmount file system
  • uname

Display system information

  • uniq: Remove duplicate lines from sorted files
  • vi:Text Editor
  • wget: Command line tool for downloading files
  • who: Display the current logged in user
  • whoami: Display current username
  • xargs: Read arguments from standard input and execute the command

The above are only common Linux system commands, there are many other commands available for specific tasks and purposes. You can view the detailed usage and options of each command through the
man command.

The above is the detailed content of A complete list of Linux system commands.. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete