Skip to content

Python πŸ‘¨πŸ»β€πŸ’» Scripts for DevOps, SysAdmins, IT Specilist, Devs and more.

Notifications You must be signed in to change notification settings

masifpak/Python_DevOps_Scripts

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

89 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python πŸ‘¨πŸ»β€πŸ’» Scripts for DevOps, SysAdmins, IT Specilist, Devs and more.

Note πŸ“

The main purpose of this repo is to create a huge collection of useful script for all levels (Beginners to Experts) of IT Specialits, SysAdmins, DevOps, Developers and more...

Please feel free to fork this repo and contribute!

If you want to help with the README you're welcome as well. I want to make it as instructional as possible.

If you spot any errors please let me know.

Finally don't forget to give the repo a star if you like it. Thanks!

Intro πŸ—£

Python Cheatsheet

How to create a python scripts

  • Create a python file vim script_0.py type #!/usr/bin/env python3 on the first line.

Note: Inserting a shebang line (such as #!/usr/bin/env python3) as the first line tells the operating system what command we want to use to execute the script. or (sets the interpreter)

  • On the next line type print("Running script...")
  • On your terminal type chmod +x script_0.py to change the file permission.
  • Run the script from the terminal ./script_0.py

How to SSH

  • You can SSH to another computer by:

ssh -p <enter port number> [email protected]

  • Here is an example:

ssh -p 2220 [email protected]

Regex Cheatsheet πŸ•΅οΈβ€β™€οΈ

regex_cheatsheet

About

Python πŸ‘¨πŸ»β€πŸ’» Scripts for DevOps, SysAdmins, IT Specilist, Devs and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.0%
  • Shell 10.0%