• Why do hackers need to be aware of file management in Linux
  • 1) Absolute path
  • 2) Current directory
  • 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
    bet156/203
    Sana10.01.2024
    Hajmi6,34 Mb.
    #134102
    1   ...   152   153   154   155   156   157   158   159   ...   203
    Bog'liq
    Linux This Book Includes 4 Manuscripts The Underground Bible

    File Management in Linux 
    Every operating system follows its own algorithms to organize files and
    called them a file management system. Windows users as a simple file
    management system that can be easily modified or applied using keyboard
    shortcuts or graphical user interfaces. 
    But in Linux, a set of commands should be learned to perform even simple
    tasks like moving or copying within the directory. This gives a good level
    of secure functionality to Linux. In this section, we will learn about all this
    stuff in detail.
    Why do hackers need to be aware of file management in
    Linux? 
    Linux is an operating system that deals with files and directories in a whole
    lot different than windows. Hackers need to learn about modifying
    directories so that they can easily exploit the system when they gain access.
    We will know about a few of these now.
    1) Absolute path
    Every directory or file has a distinguished path that can be used to notice or
    manage things easily. There is also quite a complex successor of it called a
    relative path about which we will discuss in the next section.
    For example, consider this path
    /Srujan/downloads/red.mp4
    This is called an absolute path because it all over points towards the file.


    2) Current directory
    When we are working in Linux, we often want to know the current
    directory so that we can easily modify things. You can use the following
    PWD command to know the details of the current directory.
    vulnerhost @ example : cd /etc/get
    3) Relative path
    Relative paths are the upper and lower levels of the absolute path we are
    working with. They are represented by the dots and are called as special
    directories by the Linux creators. Below is a small example using the
    command to understand in a better way.
    vulnerhost @ example : cd /etc/get
    ......
    vulnerhost @ example : cd /etc/

    Download 6,34 Mb.
    1   ...   152   153   154   155   156   157   158   159   ...   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