SkillAgentSearch skills...

Pybashutils

Collection of Bash and Python scripts I've made that may be generally useful

Install / Use

/learn @scivision/Pybashutils
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Python and Shell utility scripts

Zenodo PyPi Download stats

Collection of Bash and Python scripts I've made that may be generally useful

function | description -----------------|------------------------------------------------------------- checkIP | Sends you an email automatically if your IP address changes getIP | gets your public IP address (not the internal NAT address) mx | mount network share example using SSHFS memfree | Estimates available RAM doc2pdf | convert .doc, .docx, .rtf to PDF using LibreOffice

Usage

SSHFS mount/unmount

  1. Mounting the "U" network drive at Boston University over SSHFS (slight modifications to the script allow using this anywhere)

    one time setup:

     mkdir ~/U
    
  2. mount U drive to your PC, like "mounting a network drive" in Windows, here we assume the BU username is jdoe:

     mU jdoe
    

and your network drive is available as ~/U

  1. Unmounting the "U" drive. When done for the day, suggest unmounting in case to help mitigate security risks:

     uU
    

Note: if you have any files open (like say a spreadsheet on the ~/U drive), ~/U will stay connected until you close that file(s).


Get Public IP address

python getIP.py

Related Skills

View on GitHub
GitHub Stars27
CategoryDevelopment
Updated1y ago
Forks9

Languages

Shell

Security Score

75/100

Audited on Oct 11, 2024

No findings