• Advantages of the shell
  • Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line




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

    How does the bash shell work?
    There are two types of modes that one can work shell with. Out of which
    one is an interactive mode and the other is a script mode.
    a) Interactive mode
    In this mode, the Linux user can enter the functions or the bash code one by
    one and wait until the result is given. If there is an error in the middle the
    user cannot proceed further. It just works interactively like in an old
    handheld video game.
    b) Script mode
    In this mode first of all the bash code will be written in a text file and then
    will make to run the script file using the command-line interface. While
    using this mode the user can get all the results that he was looking for all at
    once. Hackers need to be more perfect in script mode because it will be
    easy to exploit systems fast using this way. However, programmers that are
    who create systems will prefer interactive mode more.
    Before knowing more about the grammatical structure of the shell it would
    be better if we have a good overview of the advantages of the shell.
    Advantages of the shell
    1) It is very easy to learn inline programming languages that differ a lot in
    both execution and implementation.
    2) It has a lot of help documents that will help the hackers to rectify the
    errors as soon as possible .
    3) It has an added advantage because it is an explanatory language. That is,
    it need not be compiled before running. So, hackers can easily cross-check
    the code before trying to implement it on the victim's system.


    Apart from this shell is also fast and works efficiently. Due to all these
    reasons, hackers should mandatorily learn about the implementation of the
    shell.
    In the next section, we will give an example shell script that will help us to
    understand the basic grammatical structure of shell programming. Let's go!

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




    Download 6,34 Mb.
    Pdf ko'rish

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line

    Download 6,34 Mb.
    Pdf ko'rish