Skip to main content

A simple tool which extends useful linux based scripting functionalities.

Project description

This is a simple extension of some useful python scripts on linux as a package, developed in order to make things easier and faster.

Requirements:

Paramiko

1. getcmd :

Description: To get the output of linux commands executed on remote servers easily and quickly.
Arguments:
a. hostname(required): Supply the server name/Ip from which you need to command results.
b. username(required): usernamre to login to the server.
c. password(required): password corresponding to the username supplied.
d. cmds(required): Commands that need to be executed in the server. You can provide multiple commands to execute(a python list)
e. filename(optional): If provided, appends the output of each command to filename supplied.



2.portstatus:

Description: To get the status of the port in given host.
Arguments:
a. hostname(required): Supply the server name/Ip for which you need to scan the ports.
b. port(required, 'integer'): ports that need to be scanned, a python list


For any suggestions, feedbacks or contribution please visit https://github.com/Adityank003/linuxcmd



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linuxcmd-1.1.3.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

linuxcmd-1.1.3-py2-none-any.whl (3.8 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page