<picture><source type="image/webp" srcSet="/static/3854380d8fed7f409f13d3369e5a0d29/94e0c/quedemy-text-svg-logo-rect-white.webp 45w,/static/3854380d8fed7f409f13d3369e5a0d29/c07b1/quedemy-text-svg-logo-rect-white.webp 90w,/static/3854380d8fed7f409f13d3369e5a0d29/a810a/quedemy-text-svg-logo-rect-white.webp 180w,/static/3854380d8fed7f409f13d3369e5a0d29/1ff69/quedemy-text-svg-logo-rect-white.webp 360w" sizes="(min-width: 180px) 180px, 100vw"/><img data-gatsby-image-ssr="" data-main-image="" style="opacity:0" sizes="(min-width: 180px) 180px, 100vw" decoding="async" loading="lazy" src="/static/3854380d8fed7f409f13d3369e5a0d29/b7680/quedemy-text-svg-logo-rect-white.svg" srcSet="/static/3854380d8fed7f409f13d3369e5a0d29/559c7/quedemy-text-svg-logo-rect-white.svg 45w,/static/3854380d8fed7f409f13d3369e5a0d29/4b694/quedemy-text-svg-logo-rect-white.svg 90w,/static/3854380d8fed7f409f13d3369e5a0d29/b7680/quedemy-text-svg-logo-rect-white.svg 180w,/static/3854380d8fed7f409f13d3369e5a0d29/56ec7/quedemy-text-svg-logo-rect-white.svg 360w" alt="quedemy-logo"/></picture>
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: