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
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 details)
Built Distribution
File details
Details for the file linuxcmd-1.1.3.tar.gz
.
File metadata
- Download URL: linuxcmd-1.1.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03b379ec6fbea1e6f4b53089c7cede2ec71c71a5039058aa470c808a27b79b1 |
|
MD5 | 49a9a78072f64c76ae9344c2ac82f4aa |
|
BLAKE2b-256 | c9250b5807d18491c9140599530f1939391ed8a1781b45fa37611d6b235219b4 |
File details
Details for the file linuxcmd-1.1.3-py2-none-any.whl
.
File metadata
- Download URL: linuxcmd-1.1.3-py2-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc18d18b803e8eb1d537f1204df4fd2af6499773e127f39de09a8174fc55832e |
|
MD5 | b2ca2a3193e0999f0d849c92926de381 |
|
BLAKE2b-256 | 7edfb93c7bdfece2d8633d50d8023a354c01d9cd98f66163c353fccc1c4a6ac4 |