Ask Question
Run a command immune to hangups, with output to a non-tty.
59 questions- Bountied 0
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
nohup in alias has problem "nohup: missing operand" [duplicate]
Hi I was trying to create an alias to run a shell script in background: alias inj=nohup ~/software/idea-IU/bin/idea.sh in my ~/.bashrc But as I type inj in terminal, I got nohup: missing operand error.... command-line bash alias nohup- 101
Don't kill remote script when local caller process gets killed
Problem I call a long running process via ssh. And it's necessary that this process will not be killed. The user may kill the initial process on its host and I cannot do anything about it. How to make ... command-line bash scripts ssh nohup- 351
How to raise alerts after a certain time frame from the time stamp of the file name?
#!/bin/bash files=() each_row=() raw_file_names=() directory=($(ls /home/cloudera/Downloads/20211006/*)) csv_file=(/home/cloudera/Downloads/log_20211006_1.log) completed="Completed" for i ... command-line log nohup- 1
Rsync running Rsyinc in the background
Trying to run rsync in the background rsync -rt /home/2/folder/1234 root@12345678:/stor/folder CTRL-Z Entering bg and it runs in the background but now when I exit my SSH connection it stops? I tried ... rsync nohup- 11
nohup can't save the pid of the process into file with xargs command
In the script that I am building I am having problem saving the pid to file. If run in the terminal the command below: nohup mvn spring-boot:run > $HOME/logs/app.log 2>&1 & echo $! > $... bash 20.04 nohup xargs- 125
capture process ID of nohup in crontab
How can I capture and store the process ID of a nohup command that run in crontab? this is my cron 35 * * * * cd /home/ubuntu/aws/&&nohup python3 upload_s3.py >> output_upload_occ.txt ... cron nohup- 165
run a command when a specific folder is empty
I have a python script running which will loop through a folder files (do some work then delete the files there), the folder will eventually get emptied. I want to run this command when the folder ... command-line nohup- 113
How to give input to a script running using nohup?
I have a script running on my server, say test.sh. I executed it using the following command - nohup test.sh Now I want to pass an input quit to this script so that it'll terminate itself ... command-line bash scripts background nohup- 193
Cannot install nohup command
I am trying to install the nohup command. When I run sudo apt-get install nohup I get: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to ... package-management nohup- 705
run continuous ping at startup
I'd like to have a script running in the background, which pings a remote host every 10 seconds or so. The script looks something like this: nohup ping -i 10 & I'm able to ... startup ping nohup- 1,033
How can I fix nohup, byobu, tmux, screen, etc to not die when I disconnect from SSH?
I'm running KDE Neon which is Ubuntu 18.04 Bionic (LTS) with the latest KDE desktop packages on top of it. Since upgrading to this from Xenial I have lost the ability for processes to survive SSH ... ssh systemd tmux nohup systemd-logind- 41
nohup works only for a few minutes after logout
I connect to a remote server via SSH. And I want to run a php program in the background on the server after I log out. I have tried using "nohup", but the program only works for a few minutes and then ... ssh php nohup- 1
How do I schedule a Python script to run in a Linux VM?
I tried using crontab but didn’t work. Also, do I need a nohup to keep it running after exit the SSH connection? 02 19 * * * /usr/bin python3.7 myScript.py python virtualization cron nohup azure- 123
Disown, background, dump to null script
I used to have a script (way back when) that allowed me to execute ANYTHING in terminal and would magically disown and run in the background while dumping any output to null. It may have even nohup'd..... bash scripts nohup- 11
How to delete logs automatically after a certain time and restart the process that fills up the log file?
Server is Ubuntu 16.04. I have a process running with nohup that logs into a local file. This file gets big enough to consume 100% disk space. To resolve this I have to kill the process first and then ... 16.04 process log kill nohup- 173
15 30 50 per page1234 Next