quedemy-logo
linux-basic-commands

Linux Basic Commands (2024)

June 3, 2024 · 2 min read

In this article, you will learn about the beginner friendly and frequently used commands of Linux Operating Systems. Here, you will be working with GitBash. However, you can use any LINUX based terminal.

Here are the ways to work with linux based terminal

Pre-requisites

  • Gitbash downloaded

Table of Contents

  • Pre-requisites

    Create a folder quedemy-workspace. Then two other folder and one text file:

    folder-structure

    Navigating and Managing Files

    1. pwd: You can use the pwd command to get the present working directory. pwd stands for Print Working Directory.

      $ pwd
      # Output
      /p/quedemy-workspace
    2. ls: Get the list of contents inside current working directory /p/quedemy-workspace

      list-contents-of-current-directory
    3. cd:

    4. cat:

    5. touch:

    6. cp:

    7. mv:

    8. mkdir:

    9. rmdir:

    10. rm:

    11. locate:

    12. find:

    13. greep:

    14. sudo:

    15. df:

    16. du:

    17. head:

    18. tail:

    19. diff:

    20. tar:

    21. chmod:

    22. chown:

    23. ps:

    24. top:

    25. kill:

    26. ping:

    27. wget:

    28. uname:

    29. history:

    30. man:

    31. echo:

    32. hostname:

    33. useradd:

    34. userdel:

    35. file:

    36. wc:

    37. whoami:

    38. ip:

    quedemy-logo

    © 2024 Quedemy. All rights reserved

    LinkedIn

    Company

    About usBlogContact usSitemap