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/05/26 18:51] – external edit 127.0.0.1basic_linux_commands [2024/09/04 18:20] (current) – external edit 127.0.0.1
Line 1: Line 1:
-  * pwd Print working directory +  * cat Concatenate and display file content
-  * ls - Lists files and directories in the current directory.+
   * cd - Change directory   * cd - Change directory
 +  * chmod - Modifies the permissions of a file or directory.
 +  * chown - Change file owner and group.
   * 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.
 +  * 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.
 +  * 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.
 +  * 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.
   * mv - Moves or renames files or directories.   * mv - Moves or renames files or directories.
-  * rm Remove files or directories +  * netstat Shows network status.
-  * 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.   * ps - Process status. Displays information about running processes.
-  * kill Terminate a process. Sends a signal to a process, usually to terminate it. +  * pwd Print working directory. 
-  * top or htop - Display system activity in real-time. Shows a dynamic view of system processes and resource usage. +  * rm Remove files or directories
-  * chmod - Modifies the permissions of a file or directory. +  * rmdir Remove 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 hierarchySearches for files and directories based on various criteria. +
-  * 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.
-  * curl or wget Download files from the internet+  * 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. 
 +  * 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.1716749480.txt.gz · Last modified: 2024/09/04 18:19 (external edit)