This article lists common commands for the macOS command line (Terminal)
1. `ls`: Lists files and directories in the current directory.
2. `cd`: Changes the current directory.
3. `pwd`: Prints the current working directory.
4. `mkdir`: Creates a new directory.
5. `rm`: Removes files and directories.
6. `cp`: Copies files and directories.
7. `mv`: Moves or renames files and directories.
8. `cat`: Concatenates and displays file content.
9. `head`: Displays the beginning of a file.
10. `tail`: Displays the end of a file.
11. `grep`: Searches for a pattern in files.
12. `find`: Searches for files and directories.
13. `chmod`: Changes permissions of files and directories.
14. `chown`: Changes ownership of files and directories.
15. `ssh`: Connects to a remote server using SSH.
16. `ping`: Sends ICMP Echo Request packets to test network connectivity.
17. `curl`: Transfers data to or from a server.
18. `open`: Opens a file, directory, or application.
19. `man`: Displays the manual page of a command.
20. `sudo`: Executes a command with superuser (root) privileges.
21. `top`: Displays real-time system resource usage.
22. `ps`: Lists running processes.
23. `kill`: Terminates processes.
24. `history`: Displays command history.
25. `df`: Displays disk space usage.
26. `du`: Displays disk usage of files and directories.
27. `networksetup`: Configures network settings.
28. `softwareupdate`: Manages software updates.
29. `defaults`: Manages macOS preferences.
30. `say`: Converts text to speech.
These commands are commonly used for various tasks such as file management, system administration, network configuration, and more. The macOS command line provides a powerful and flexible environment for performing advanced operations and automation. To learn more about a specific command and its options, you can use the `man` command followed by the command name (e.g., `man ls`).
Please report any broken links by emailing support@elotouch.com and include a link to the knowledge article