Skip to content

Recommendation  #1

@ghost

Description

Network-Util.sh
There are easier ways to get network information,
Since you are making utilities out of it and it is a bit more advanced than I know how to script, I just wanna let you know that there are ways to get information about a network. Such as obtaining an IP address. lines 58-76: What is trying to be accomplished here? (please leave comments on your code so people can help with it,) From what it looks like you're trying to gain IP info and root permission. Since you are setting a function, it would be easier to use a command that already gives you IP information (hostname -I). Also From what is being displayed from line 99, you're looking for a loopback. you can already tell if there's a loopback from IP add command. But this is just a recommendation. (trying to help ya :) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions