User Tools

Site Tools


basic_linux_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
basic_linux_commands [2024/06/13 07:39] – reordered (a-z) hacktheplanetbasic_linux_commands [2024/09/04 18:20] (current) – external edit 127.0.0.1
Line 5: Line 5:
   * cp - Copies files or directories from one location to another.   * cp - Copies files or directories from one location to another.
   * curl or wget - Download files from the internet.   * curl or wget - Download files from the internet.
 +  * env - Prints environment or sets and executes command.
   * find - Search for files in a directory hierarchy. Searches for files and directories based on various criteria.   * find - Search for files in a directory hierarchy. Searches for files and directories based on various criteria.
   * grep - Search for a pattern in files.   * grep - Search for a pattern in files.
 +  * hostname - Sets or prints the name of current host system.
 +  * id - Returns users identity
 +  * ifconfig - The ifconfig utility is used to assign or to view an address to a network interface and/or configure network interface parameters.
 +  * ip - Ip is a utility to show or manipulate routing, network devices, interfaces and tunnels.
   * kill - Terminate a process. Sends a signal to a process, usually to terminate it.   * kill - Terminate a process. Sends a signal to a process, usually to terminate it.
   * ls - Lists files and directories in the current directory.   * ls - Lists files and directories in the current directory.
 +  * lsblk - Lists block devices.
 +  * lsof - Lists opened files.
 +  * lspci -  Lists PCI devices.
 +  * lsusb - Lists USB devices.
   * mkdir - Make directory.   * mkdir - Make directory.
   * mv - Moves or renames files or directories.   * mv - Moves or renames files or directories.
 +  * netstat - Shows network status.
   * ps - Process status. Displays information about running processes.   * ps - Process status. Displays information about running processes.
   * pwd - Print working directory.   * pwd - Print working directory.
   * rm - Remove files or directories.   * rm - Remove files or directories.
   * rmdir - Remove directory.   * rmdir - Remove directory.
-  * sudo - Execute a command with administrative privileges. Allows a permitted user to execute a command as the superuser or another user. 
-  * ssh - Secure Shell 
   * scp - Secure Copy. Copies files between hosts on a network using SSH.   * scp - Secure Copy. Copies files between hosts on a network using SSH.
 +  * ss - Another utility to investigate sockets.
 +  * ssh - Secure Shell
 +  * sudo - Execute a command with administrative privileges. Allows a permitted user to execute a command as the superuser or another user.
   * top or htop - Display system activity in real-time. Shows a dynamic view of system processes and resource usage.   * top or htop - Display system activity in real-time. Shows a dynamic view of system processes and resource usage.
   * touch - Creates an empty file or updates the access and modification times of a file.   * touch - Creates an empty file or updates the access and modification times of a file.
 +  * uname - Prints basic information about the operating system name and system hardware.
 +  * who - Displays who is logged in.
 +  * whoami - Displays current username.
  
  
basic_linux_commands.1718264368.txt.gz · Last modified: 2024/09/04 18:19 (external edit)