Run a command in the background witch automatically rerun Raw
Shell
#!/bin/bash
if [[ $1 == "--non-background" ]]
then
yourCommand
sleep 120
./start.sh
exit
else
screen -AmdS soulbot ./start.sh --non-background
fi
Also in Shell:
- Title
- install visual studio code raspberry pi
- Category
- Shell
- Title
- ubuntu show disk space
- Category
- Shell
- Title
- what is git rebase
- Category
- Shell
- Title
- create github repo with bash
- Category
- Shell
- Title
- install ip addr on ubuntu
- Category
- Shell
- Title
- run python program from command line
- Category
- Shell
- Title
- kill port ubuntu
- Category
- Shell
- Title
- offline heic to jpg converter on linux
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- git checkout branch on different remote
- Category
- Shell
- Title
- pylinter not installed vscode pipenv
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- git tag checkout
- Category
- Shell
- Title
- htaccess route to index.php
- Category
- Shell
- Title
- get local node version
- Category
- Shell
- Title
- install chromedriver linux command line
- Category
- Shell
- Title
- force git to use ssh
- Category
- Shell
- Title
- get current branch name git
- Category
- Shell
- Title
- what is merge conflict in git
- Category
- Shell
- Title
- view host entires mac terminal
- Category
- Shell
- Title
- git search all branches
- Category
- Shell
- Title
- ubuntu delete a symbolic link
- Category
- Shell
- Title
- linux create user
- Category
- Shell
- Title
- sh declare variable
- Category
- Shell
- Title
- inicializar as credenciais no git
- Category
- Shell
- Title
- crop video from specific time to specific time ffmpeg
- Category
- Shell
- Title
- how to uninstall npm package
- Category
- Shell
- Title
- git rename branch
- Category
- Shell
- Title
- connect to windows 10 remote desktop from ubuntu
- Category
- Shell
- Title
- bily-101 github
- Category
- Shell
- Title
- linux grep
- Category
- Shell
- Title
- serverless sqs batch size
- Category
- Shell
- Title
- install pybind ubuntu
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- ssh ubuntu
- Category
- Shell
- Title
- where is path on klai linux
- Category
- Shell
- Title
- add space in cmd path
- Category
- Shell
- Title
- install bootstrap 4 npm
- Category
- Shell
- Title
- git unstage file for commit
- Category
- Shell
- Title
- simple nodejs dockerfile
- Category
- Shell
- Title
- ubuntu command line replace word in files
- Category
- Shell
- Title
- utorrent on ubuntu
- Category
- Shell
- Title
- check git version
- Category
- Shell
- Title
- create github repo with curl
- Category
- Shell
- Title
- How do I see which version of Swift I'm using
- Category
- Shell
- Title
- combine strings bash
- Category
- Shell
- Title
- git flow init
- Category
- Shell
- Title
- git push repo
- Category
- Shell
- Title
- update ubuntu
- Category
- Shell
- Title
- how to fix the errors in chokidar in linux
- Category
- Shell
- Title
- assign default value in shell script
- Category
- Shell
- Title
- how to update local repo when i make changes to github remote repo
- Category
- Shell
- Title
- What debian version do i use
- Category
- Shell
- Title
- golang compile with injected variable
- Category
- Shell
- Title
- how to upgrade package yarn global
- Category
- Shell
- Title
- linux how to see ports in use
- Category
- Shell
- Title
- how to install docker ubuntu
- Category
- Shell
- Title
- install kubernetess on mac
- Category
- Shell
- Title
- linux restrict process network access
- Category
- Shell
- Title
- how to save environment variables ubuntu
- Category
- Shell
- Title
- install spotify ubuntu snap
- Category
- Shell
- Title
- how to remove untracked files in git
- Category
- Shell
- Title
- how to list all versions of pip in ubuntu using grep
- Category
- Shell
- Title
- find text in linux file
- Category
- Shell
- Title
- how to link a repo to a project on github
- Category
- Shell
- Title
- how to revert commit in git
- Category
- Shell
- Title
- make docker sudo less
- Category
- Shell
- Title
- how to get the size of directory in linux
- Category
- Shell
- Title
- git add
- Category
- Shell
- Title
- install x centos 7
- Category
- Shell
- Title
- gparted ubuntu
- Category
- Shell
- Title
- special bash variables
- Category
- Shell
- Title
- bash run last command as sudo
- Category
- Shell
- Title
- remove frmo staging git
- Category
- Shell
- Title
- powershell output text file
- Category
- Shell
- Title
- send file to aws ec2 termnal
- Category
- Shell
- Title
- ubuntu storage check stackoverflow
- Category
- Shell
- Title
- linux remove root access
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- how to tar linux
- Category
- Shell
- Title
- how to install pyqt5 dev tools
- Category
- Shell
- Title
- babel json loader
- Category
- Shell
- Title
- ubuntu list running applications
- Category
- Shell
- Title
- install vim mac
- Category
- Shell
- Title
- screen recorder linux
- Category
- Shell
- Title
- git remote push
- Category
- Shell
- Title
- upgrade aws cli
- Category
- Shell
- Title
- ubuntu passwordless sudo
- Category
- Shell
- Title
- how to install blender 2.8 from a ubuntu linux terminal
- Category
- Shell
- Title
- how to upload files to s3 bucket from mac shell
- Category
- Shell
- Title
- firewall-cmd create new zone
- Category
- Shell
- Title
- set remote url git
- Category
- Shell
- Title
- linux convert png favicon
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- codepush get keys
- Category
- Shell
- Title
- cancel commit before push
- Category
- Shell
- Title
- cmd for loop
- Category
- Shell
- Title
- linux install ifconfig
- Category
- Shell
- Title
- git global username --replace-all
- Category
- Shell
- Title
- gyp error npm install
- Category
- Shell