Linux Commands
By 
  13 August 2025 -
  less than 1 min read time
      
Tags:
      
      
        Cheatsheet
      
      
      
        Linux
      
      
      
        Productivity
      
      
  
    
      | Command | Action | Syntax | 
  
  
    
      | cat | Display the contents of a file from the top. | cat file.txt | 
    
      | man | Show the manual for a command. | man cat | 
    
      | ls | List files and directories in the current directory. | ls | 
    
      | cd | Change directories. | cd /path/to/directory | 
    
      | pwd | Print the current working directory. | pwd | 
    
      | cp | Copy files and directories. | cp source-file destination | 
    
      | mv | Move or rename files and directories. | mv old-file new-name
 mv old-file new-location | 
    
      | rm | Remove files and directories (be cautious). | rm file-to-delete
 rm -r dir | 
    
      | mkdir | Create a new directory. | mkdir new_directory | 
    
      | rmdir | Remove an empty directory. | rmdir empty_directory | 
    
      | touch | Create an empty file. | touch new_file.txt | 
    
      | grep | Search for text patterns in files. | grep "search-term" filename |