Posts

Showing posts from March, 2024

Must Know 60 Basic Linux Commands

Foundational commands you need to navigate through directories, manipulate files, and maintain your system’s integrity. Basic Commands - whoami: Quickly identify the current user. - pwd: Print the current working directory path. - mkdir: Create a new directory. - ls: List directory contents. - cd: Change directory. - cd .. : Move up one directory level. - clear: Clear the terminal screen. - touch: Create a new file. - rm: Remove files or directories. - cat: Concatenate and display file content. - rm -r: Remove directories recursively. - vi editor: Launch the Vi text editor for file manipulation. - sed: Stream editor for filtering and transforming text. - more, less, head, tail: Utilities for viewing text files. - sort: Sort lines of text files. - man: Access the system manual. - history: Display command history. - tar: Archive files. - grep: Search for patterns in text. - grep with pipe: Utilize piping with grep for advanced text filtering. - mount: Mount filesystems. - fdisk: Partitio...