User Tools

Site Tools


basic_linux_commands

This is an old revision of the document!


  • pwd - Print working directory
  • ls - Lists files and directories in the current directory.
  • cd - Change directory
  • cp - Copies files or directories from one location to another.
  • mv - Moves or renames files or directories.
  • rm - Remove files or directories
  • mkdir - Make directory
  • rmdir - Remove directory
  • touch - Creates an empty file or updates the access and modification times of a file.
  • cat - Concatenate and display file content
  • nano or vi - Text editors
  • ps - Process status. Displays information about running processes.
  • kill - Terminate a process. Sends a signal to a process, usually to terminate it.
  • top or htop - Display system activity in real-time. Shows a dynamic view of system processes and resource usage.
  • chmod - Modifies the permissions of a file or directory.
  • chown - Change file owner and group
  • sudo - Execute a command with administrative privileges. Allows a permitted user to execute a command as the superuser or another user.
  • grep - Search for a pattern in files
  • find - Search for files in a directory hierarchy. Searches for files and directories based on various criteria.
  • ssh - Secure Shell
  • scp - Secure Copy. Copies files between hosts on a network using SSH.
  • curl or wget - Download files from the internet
basic_linux_commands.1700799079.txt.gz · Last modified: 2024/09/04 18:19 (external edit)