Sobes.tech
Junior — Middle

Can you list the main commands used in the Linux operating system?

sobes.tech AI

Answer from AI

Common Linux commands frequently used:

  • ls — list files and folders in a directory
  • cd — change the current directory
  • pwd — show the current path
  • cp — copy files and folders
  • mv — move or rename files
  • rm — delete files
  • mkdir — create a new directory
  • rmdir — delete an empty directory
  • cat — display the contents of a file
  • grep — search through text
  • chmod — change permissions
  • chown — change file owner
  • ps — view running processes
  • kill — terminate a process
  • top — real-time process monitoring
  • df — information about free disk space
  • du — size of files and folders
  • tar — archive and extract
  • ssh — remote server access

These commands cover basic operations for working with files, processes, and the system as a whole.