This repository contains a collection of scripts designed to automate and simplify daily tasks. These scripts cover a variety of functions, from opening frequently used applications to managing files and directories efficiently.
- firefox.sh
- Description: Opens Firefox. If a URL is provided as an argument, it opens the specified URL in Firefox. If no URL is provided, it simply opens the browser.
- Usage:
./firefox.sh [URL]
- Example:
./firefox.sh https://www.example.com
- urlshort.sh
- Description: This script shortens a given URL using a URL shortening service . It outputs the shortened URL to the terminal.
- Usage:
./urlshort.sh <long_url>
- Example:
./urlshort.sh https://www.example.com
- screenshot.sh
- Description: Takes a screenshot and saves it to a specified directory.
- Usage:
./screenshot.sh
- Example:
./screenshot.sh
- Notes: The screenshot will be saved in the
~/Pictures/screenshots
directory with a timestamp in the filename. Ensuregnome-screenshot
is installed.- install
gnome-screenshot
sudo apt-get install gnome-screenshot
- install
- todo.sh
- Description: A script to manage your to-do list. You can add tasks, mark tasks as done, list all tasks and completed tasks, and clear all tasks.
- Usage:
- Add a Task:
./todo.sh add task1
- Mark a Task as Done:
./todo.sh done task1
- List All Tasks and Completed Tasks:
./todo.sh list
- Clear All Tasks:
./todo.sh clear
- download_file.sh
- Description: Downloads a file from a URL using
wget
.- Usage:
./download_file.sh https://example.com/file.zip
- reboot.sh
- Description: Reboots the system.
- Usage:
./reboot.sh
- Usage:
- list-dir.sh
- Description: List files in a directory
- Usage:
./list-dir.sh
- Process.sh
- Description: The script executes the ps command to display the list of processes running on the system.
- Usage:
./Process.sh
- Clone the repository:
git clone https://github.com/OsamaRab3/Work-Automation-Scripts.git cd Work-Automation-Scripts chmod +x *.sh ./script_name.sh [optional_arguments]
Feel free to contribute by adding more useful scripts or improving the existing ones. Please ensure that your scripts are well-documented and tested.