• Chapter 3: Basic Shell Programming
  • What is a Shell
  • Types of shell
  • particular about shell programming in detail. Before trying to enter into the




    Download 6,34 Mb.
    Pdf ko'rish
    bet163/203
    Sana10.01.2024
    Hajmi6,34 Mb.
    #134102
    1   ...   159   160   161   162   163   164   165   166   ...   203
    Bog'liq
    Linux This Book Includes 4 Manuscripts The Underground Bible


    particular about shell programming in detail. Before trying to enter into the
    next chapter practice the commands, we have discussed in a Linux device.
    The practice is the only way hackers can prosper. Let's go and learn shell
    now!


    Chapter 3:
    Basic Shell Programming


    In the previous chapter, we had learned about Linux essentials for hackers
    in detail. In this chapter, we will dive into one of the hacker's secrets
    weapons that are scripting. There is quite a small difference between
    programmers and hackers. Programmers use scripting to build systems
    whereas hackers use scripting to exploit systems. Without creating their
    scripts, a novice hacker can never become a professional Hacker but will
    remain as a script kiddie who just uses other tools to crack systems. Thus,
    scripting knowledge is a must in the checklist for anyone trying to master
    hacking. To help you out this chapter will introduce a lot of bash scripting
    concepts with real-world coding examples. Let's have fun with some
    scripting now! 
    First of all, we need to know about the shell in detail.
    What is a Shell?
    A shell is that cursor you observe when you first connect to a server using a
    password or when you make yourself connected to a system using remote
    desktop tools like SSH. In other words, if you want it to look solely from a
    programming point of view you would be delighted because it acts just as
    an interpreter between the user and system just like how an operating
    system does .
    But it just sends the input advises from the user to the Linux kernel and
    sends the output that is the result back to the system user.
    Types of shell
    There are types of shells that exist according to the Linux official
    documents. Out of both the first one stands for a GUI whereas the second
    one stands for CLI.
    There are a lot of shells that have been manufactured with the Distros like
    Bourne shell, C shell, korne shell, and Bash shell.
    Out of all different types of shells that are present bash shell is one of the
    most famous that ever existed. It is pre-installed in almost all the famous
    Linux Distros. It also acts as an interceptive language that helps the Linux


    kernel understand the instructions we are giving logically. In the next
    section, we will look at this in detail.

    Download 6,34 Mb.
    1   ...   159   160   161   162   163   164   165   166   ...   203




    Download 6,34 Mb.
    Pdf ko'rish

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    particular about shell programming in detail. Before trying to enter into the

    Download 6,34 Mb.
    Pdf ko'rish