- Purpose: This script opens new tabs on terminal and excutes custom commands automatically.
- Author: Daniel Okwufulueze
- Date: 12/03/2017
# Install xdotool
sudo apt-get install xdotool
auto-startup [-h | --help]
auto-startup [-c | --command quoted-semicolon-separated-commands]
auto-startup [-f | --file-name fileName]
auto-startup [-c | --command quoted-semicolon-separated-commands]
[[-b | --black-hole] | [-n | --nohup] | [-o | --output file-path]]
auto-startup [-f | --file-name fileName]
[[-b | --black-hole] | [-n | --nohup] | [-o | --output file-path]]
# -c | --command:
This option receives the list of your custom commands in
quoted string all separated by semicolons [;].
For example: auto-startup --command "cd daniel; do_something; do_another_thing".
# -f | --file-name:
This option receives the name of the file containing
all the commands you want to run.
Each command in the file should take a
line [separate commands with new line characters].
# -h | --help:
This option displays this help page.
# -b | --black-hole:
If this flag is set, then all output from the
running processes will be redirected to the /dev/null black-hole.
# -n | --nohup:
This flag creates a nohup.out file in the working
directories of the running processes and redirects all output
from the running processes to the nohup.out file.
# -o | --output:
The --output flag takes the path of the file you
intend to use for output of running processes.
If the file does not exist, it will be created.
All output from the running processes will be redirected
to the specified file of the --output flag.
-
Clone this repo or download here
git clone git@github.com:DOkwufulueze/AutoStartup.git
-
cd
into the cloned or downloaded repocd path/to/AutoStartup
-
Install the application
sudo chmod ugo+x install ./install
-
You can now execute auto-startup by simply typing the command below on your terminal:
auto-startup [option] [flag]
-
Done.
Please send bug issues you may encounter to Issues
This application is distributed under the GNU GPL-3.0 licence