Skip to content

Lmpkessels/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

scripts

Python MIT Issues

Contains scripts for the linux OS for automation and a greater workflow.

Installation

# Make sure python3 is installed
sudo apt-get update
sudo apt-get install python3.6
# Clone https using HTTPS
git clone https://github.com/Lmpkessels/scripts.git
# Clone scripts using SSH
git clone git@github.com:Lmpkessels/scripts.git

Execution

  • For local execution from /home/user-name/scripts
# Move into directory
cd scripts.py
# Execute script
python3 script_name.py
  • For global execution
# Create directory for executables
mkdir ~/bin/
# Move in to directory
cd ~/bin/
# Copy scripts into directory
cp script.py .
# Make script executable
chmod +x script.py
# Edit ~/.bash_profile
nano ~/.bash_profile
# Add the following line to ~/.bash_profile
export PATH="$PATH:$HOME/bin"
# Refresh ~/bash_profile
source ~/.bash_profile
# Run the script globally
script.py

About

Scripts in Python to control the OS and improve workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages