Skip to content

Add BASH scripts #2

@ssbostan

Description

@ssbostan

Hi all contributors,

I hope you are doing well.

The following tasks are our primary goals:

  • 01 create a function that accepts dynamic arguments and sums them together and returns the result.
    Project name: function-dynamic-arguments
    Commit: add script:core function-dynamic-arguments

  • 02 create a function that gets a string and prints it in bold format.
    Project name: function-print-bold-string
    Commit: add script:core function-print-bold-string

  • 03 create a function that gets a string and prints it in italic format.
    Project name: function-print-italic-string
    Commit: add script:core function-print-italic-string

  • 04 create a function that gets a string and prints it in the given colour.
    Project name: function-print-colored-string
    Commit: add script:core function-print-colored-string

  • 05 create a function that gets a path and shows its total size in megabytes.
    Project name: function-get-directory-size
    Commit: add script:core function-get-directory-size

  • 06 create a function that gets a filename and a path, searches a path recursively and prints any paths that the given filename is not found in that. For example it gets .test as a filename and /etc as a path, and searches for .test in all subdirectories of /etc and prints any directory path that .test is not found in that.
    Project name: function-recursive-file-search
    Commit: add script:core function-recursive-file-search

  • 07 create a function that gets a file and prints all uncommented lines.
    Project name: function-file-print-uncommented-lines
    Commit: add script:core function-file-print-uncommented-lines

  • 08 create a function that prints hardware(CPU, RAM, Sensors, VGA, Hard) temperature.
    Project name: function-print-hardware-temperature
    Commit: add script:core function-print-hardware-temperature

  • 09 create a function that prints system information (Hardware, User info, System info, etc.) in a human-readable table.
    Project name: function-print-system-info
    Commit: add script:core function-print-system-info

  • 10 create a function that gets password and password confirmation from the user and if they are the same, returns the password. Input should be hidden and not printed in the terminal.
    Project name: function-get-password
    Commit: add script:core function-get-password

  • 11 create a function that checks the system load and prints an alert if the system load is more than 80% of the available resources. It should be based on the CPU count.
    Project name: function-system-load-alert
    Commit: add script:core function-system-load-alert

  • 12 create a function that prints the first 10 processes which are using more system resources than others.
    Project name: function-print-resourcey-processes
    Commit: add script:core function-print-resourcey-processes

  • 13 create a function that gets a group name and prints all users of that group.
    Project name: function-print-group-members
    Commit: add script:core function-print-group-members

PLEASE DO NOT SELECT TASKS BEFORE THE ANNOUNCEMENT IN THE TELEGRAM GROUP.

It will be updated with new tasks soon.

Thank you all.

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