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!
- Here is a nice handy python cheatsheet (https://overapi.com/python)
- 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
- You can SSH to another computer by:
ssh -p <enter port number> [email protected]
- Here is an example:
ssh -p 2220 [email protected]
-
Sometimes you'll need a certificate or keys to ssh to some systems.
-
You can practice SSH and Linux in this link -> (https://overthewire.org/wargames/bandit/bandit0.html)