Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.64 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.64 KB

Bookmark Tabs Bash Scripts

A curated list of BASH scripts primarily aimed towards Linux systems, still a work in progress!

Triangular Flag Setup

  1. Clone the repository: git clone https://github.com/hakrishi/bash-scripts.git
  2. Change directory to a script you would like to run: cd docker
  3. Change the permissions of the script: chmod +x backupDockerContainers.sh
  4. Run the script: `./backupDockerContainers.sh

Note that this process applies to all scripts within this repository

Gear Cron Job Setup

You may find it useful to run scripts automatically on Linux, this is where Cron Jobs comes into play. To setup CronJobs following the below steps:

  1. Run crontab -e
  2. On the very last line add the following: 0 14 * * 0 /path/to/script.sh
  3. Save the file then exit

While the above example runs the script every Sunday at 2PM you can set your own Cron Job here

Handshake Contributions

As always if you find any bugs or issues with the code feel free to open a pull request! 😃