General :: Command Over SSH Won't Go In To Background?
Oct 16, 2010
so this one baffles me. I'm trying to get a script to do internal speed tests on demand. I'm using iperf. The bash commands are below.
Code:
#!/bin/bash
set -ax
[code]....
View 3 Replies
ADVERTISEMENT
Jan 17, 2011
how to get the status of background command in bash script
supose , rm 1 &
rm 2
how to get status of rm 1 command
View 3 Replies
View Related
May 5, 2011
sometimes i just want to stay in console and not start kde. But i do not know how to play music backgroundly
View 5 Replies
View Related
Feb 3, 2011
I'm writing a script that performs backups from partitions on remote servers. I used to do this with ssh, but that seems to be somewhat slow, so I switched to netcat.I start a listener on the receiving server (which runs the script) like this:netcat -l -p 7000 | dd of=imagefile &and then I make the remote and start a dd piped to netcat. This works quite well started manually and the listener is waiting in the background. However, when I have cron run the same script to automate it, the netcat listener is not started, probably because the "&" thing does not work (or there is something with the piping that behaves differently then)
View 7 Replies
View Related
Feb 1, 2010
Because of my English skills I'll try to explain this subject as best I can, thank you for understanding. Fisrt of all, I am running some program on my slackware in background (using standard method - &). I need to make a script, which allows sending command to this process on my machine from another one. Furthermore this program have to be logged out (standard output f.e. ./myprogram > log.out.txt).It might be a separate Program A which runs my Program B but it cannot be screen, because it is not working like I'd like to and it cannot be java, because it's slow and working not the best so to speak
View 6 Replies
View Related
Oct 5, 2010
The first call to "somefunction" works as expected. The function prints "endfunction" and a process in background sleeps 30 seconds. In the second call I thought it should work in the same way, but the script sleeps 30 seconds before it prints "endfunction".Does someone know the reason of this behavior? Is there another way to do a command substitution of a function that has a background process without have to waiting for that process?
View 2 Replies
View Related
Oct 6, 2009
I used to know a command to turn off various logs that run in the background of Debian. I using lenny on CF on an embedded board, that why I need the logs off, to stop writes.
View 1 Replies
View Related
Dec 17, 2010
Have a bit of a dilemma I'm trying to track down. Have a user using both date and ps commands with & at the end of the line in a shell script. When he runs the script, it waits until he hits ENTER to get back to a prompt. Other times he doesn't. Also, I've noticed that this will sometimes happen, then immediately rerun the script and the behavior stops.
View 1 Replies
View Related
Feb 16, 2010
I want to change installation background image in fedora 12.
How to change the installation background not desktop background.
View 2 Replies
View Related
Apr 15, 2011
Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome
View 2 Replies
View Related
Mar 24, 2010
I originally have Ubuntu Lucid on my machine. I just installed opensuse 11.2 on another partition without bootloader installed. So I'm still using the Ubuntu Lucid default bootloader grub2. I can boot up opensuse correctly. the nagging thing is that there's no splash screen show up during the boot process, instead, lines of command are flashing, the console background is also missing and the font under console (tty1-6) is huge. what can I do to have these back to opensuse? the current entry in grub2 for opensuse
Code:
menuentry "openSUSE 11.2 (i586) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 9ac05ede-e7c4-47f3-b55b-66d5844$
linux /boot/vmlinuz-2.6.31.12-0.2-desktop root=/dev/sda2
initrd /boot/initrd-2.6.31.12-0.2-desktop
}
which parameters should I add?
View 2 Replies
View Related
Apr 3, 2011
I have spent the most part of 5 hours trying to fix this issue. For some reason I cannot change the background image to any of mt .jpg wallpaper files (and .png files). I've tried using the Ubuntu-Tweak application, but I end up getting a purple screen (default) or a black screen (default). So then I tried using the terminal method by making the Appearance window appear when I would log out. That works, except when I go to use my background image, it shows as a question mark for the image preview, and the icon for the file is a gray box. All while doing this my background images that I tested are all in the /usr/share/backgrounds location. Please help! I really want to get rid of the default images and use my images... :/ My desktop/screen in 1440x900, and most my background images are around that size. They work with my regular desktop for my account.
View 3 Replies
View Related
Oct 26, 2010
i have ported linux into arm and i want to run two background process on target
i have two c programs a.c and b.c
i have cross compiled them as
arm-linux-gcc -o a a.c
[code]...
View 8 Replies
View Related
Mar 7, 2011
I'm currently using Ubuntu 10.10. I frequently end up opening a few terminals and it's easier to keep track of what I'm doing if the terminals have different backgrounds or are colored differently. Is there a way already made which will start up a new terminal with a background different then one that's already open? Or a way that when the terminal is opened it will start the terminal under a profile that's not yet open? That being, when I open a terminal it opens the "first" profile. Then once I try opening a new terminal it checks and finds that I already have one with the "first" profile open and so the new terminal is opened with the "second" profile.Does anything like this feature already exist? Or something like it?
View 6 Replies
View Related
Nov 16, 2010
Could you tell me how can I run a process in the background?
View 1 Replies
View Related
May 31, 2010
I have a LAMP server with some php files. When I do this:
> php -f filename.php
It works great. But of course, it stops when I close the SSH window. I need to be able to run it and leave it running. The script is a crawler and it takes about 3 hours to complete it. So I tried this:
> php -f filename.php &
This doesn't work at all. It doesn't even execute the script.
View 10 Replies
View Related
Jul 28, 2011
I want to run a script. I want the script to run in the background. I want it to run for 5 seconds. Then I want to use the kill command to stop it.
would I use sleep 5 in my script and what kill command would I use in my script to stop it automaticaly.
View 1 Replies
View Related
Jul 2, 2010
i have an image background for my web....it's a JPG file.. my problem is that image not show at designer PC but after that web page open at another PC..the image can show..i created my program at terminal...
i try using chmod 777 image.jpg but at designer PC still can't show...but in other PC can show..why it happens??what must i do?
View 1 Replies
View Related
Jan 17, 2011
I know of terminating a command with & and then moving it into the background by pressing Ctrl-Z and then bg [pid], and I also know of nohup. But say you started a process that turned out to take much longer than one expected, is there a way of pulling, so to speak, this process from another terminal screen into the background so that even if I log off from the server the process would continue?
View 2 Replies
View Related
Apr 11, 2011
I run
nohup bash -c "while [ true ]; do echo test; done"
from PuTTy SSH client but after this process is not runned in background instead nohup keeps to be foreground process in shell.
SW version: nohup (GNU coreutils) 8.5
View 1 Replies
View Related
Aug 25, 2011
While coding Python, I tend to save files very often (I have a pretty high code->test->code->test->... frequency). I hate when Linux syncs my changes to disk everytime I do a write.
How do I configure Linux so that it keeps file writes in memory for a certain period of time/number of writes?
To make this any useful, of course reads to not-yet-fsynced files must be from memory (so that the Python interpreter always sees the latest contents). Extra credits for background-fsyncing that doesn't block other writes/reads going on at the same time :-)
View 1 Replies
View Related
Mar 5, 2011
i want to send a running process to background .. normal commands like sleep i can able to move easily to bg .
# sleep 10
#Ctrl+z
#bg
[code]...
View 4 Replies
View Related
Feb 23, 2011
Is there some way to see only the process running in the background?
View 4 Replies
View Related
Mar 4, 2011
I'm running Utorrent server and I figure I would create an alias to launch the program and run it in the background.alias utorrent='/home/user1/software/utorrent-server-3.0/utserver &'It seems to run the program but the associated webui program is flaky and won't start correctly.If I manually go to the specified path and run the command ./utserver & , I never seem to have an issue with the webui.I was wondering if this could possibly have anything to do with using the '&' ampersand operator in an alias.
View 2 Replies
View Related
Jan 4, 2011
If this is documented (I'm sure it is) I can't find it.Being a really OLD UNIX user (35-tty days) I don't like GUI and leave it at RL 3. The background is wallpapered with an undesired image. can't remember where to get rid of it. I have done it B4 but I've slept since then
View 5 Replies
View Related
Mar 26, 2011
I desire to take an image,overlay a text on that image;then, use it as aackground or text document.Would I use Gimp;then,somehow mount the image to a theme for x-window?If so,how?I would use a colored background text for various priority rated documents.I would use a yellow background text document with a red cross;and,a blue text, for medical documents[as an example].
View 1 Replies
View Related
Mar 20, 2010
i need to run a script which checks if a cd is mounted or not
View 7 Replies
View Related
Nov 1, 2010
I am slowly working my way through the OS. I am trying to change the background wallpaper. The images are all present but when I effect the alteration, the new background appears for a couple of seconds then vanishes with a message to the effect that the pathway to the folders/files does not exist.
View 3 Replies
View Related
Jan 14, 2011
Is there any way to run a long process in background so that it still remain in running state even if the user logout the system.
View 12 Replies
View Related
Mar 1, 2010
If I wanted to run a script in the background and keep it running even if I close putty I do like
./perl.pl &
right?
View 4 Replies
View Related