Posts

Showing posts with the label linux

Linux Commands Basic for beginners

Image
  Linux commands are essential for interacting with the operating system via the terminal. Below is a concise overview of basic Linux commands, their purposes, and examples to help you get started. Key Concepts Linux commands are case-sensitive and typically entered in lowercase. Commands are often combined with options (flags) and arguments. Use man <command> (e.g., man ls ) to access the manual for any command. Basic Linux Commands and Examples Navigating the File System pwd : Prints the current working directory. Example : pwd Output: /home/user ls : Lists files and directories in the current directory. Example : ls -l Output: Detailed list with permissions, owner, size, etc. (e.g., drwxr-xr-x 2 user user 4096 May 23 15:30 documents ) cd : Changes the current directory. Example : cd /home/user/documents Moves to the documents directory. Example : cd .. Moves up one directory level. File and Directory Management mkdir : Creates a new directory. Example : mkdir my_folder C...