General :: Script To Run In The Background?

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


ADVERTISEMENT

General :: Fedora 12 Installation / Change The Installation Background Not Desktop Background?

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

Ubuntu :: Boot Up The Machine The Cube Background Image Goes Away And The Background Colour Is Left?

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

OpenSUSE Install :: Boot Opensuse Under Grub2 With Splash Background And Console Background?

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

Ubuntu :: GDM Background - Cannot Change The Background Image To Any Of Mt .jpg Wallpaper Files And .png Files

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

General :: Run Two Background Process?

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

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 View Related

General :: Different Background For Each New Terminal?

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

General :: Run A Process In The Background?

Nov 16, 2010

Could you tell me how can I run a process in the background?

View 1 Replies View Related

General :: Running Php In The Background?

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

General :: Image Background Not Show?

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

General :: Pull Process / Job Into Background

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

General :: Nohup Does Not Run Process In Background

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

General :: Sync Filesystem In Background?

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

General :: Moving A Process To Background Using PID?

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

General :: Way To See Only Process Running In Background?

Feb 23, 2011

Is there some way to see only the process running in the background?

View 4 Replies View Related

General :: Status Of Background Command?

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

General :: Alias To Run A Program In The Background?

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

General :: Get Rid Of Terminal Background At Run Level Three?

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

General :: Create Background Images On A Red Hat 9?

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

General :: Constantly Run A Script In The Background?

Mar 20, 2010

i need to run a script which checks if a cd is mounted or not

View 7 Replies View Related

General :: Change The Background Wallpaper?

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

General :: Running Process In Background

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

General :: How To Keep Script Running In Background

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

General :: Setting Background Color In Gvim?

May 16, 2010

I use a terminal with white text on black background (I just like it better), so I wrote the following line in my .vimrc file: set background=dark

However, gvim has black on white text. How do I do either of the following: Set the background of gvim to black Check in .vimrc if I'm using gvim I tried this: I started up gvim, and typed echo &term. The answer was "builtin_gui". So I wrote the following into .vimrc:

if &term == "builtin_gui"
set background=light
else
set background=dark
endif

Somehow, it didn't work.

View 1 Replies View Related

General :: Windows - Change Vi Editor Background?

Jun 24, 2010

I am connecting through putty and i am using vim editor in putty and writing program in perl. I dont have any particular vimrc file. My problem is that in vim comments are rendered in DARK BLUE on BLACK BACKGROUND.How to change that comments into some light color in vim or change some settings in putty?

View 5 Replies View Related

General :: Close All Background Processes In Unix?

Jan 4, 2011

I have something like:cd project && python manage.py runserver &cd utilities && ./coffee_auto_compiler.pyAnd I want both of them to close on Ctrl-C (or some other command). How can I accomplish that?EDIT:I tried using jobs -x kill and kill `jobs -p `, but it doesn't seem to kill what I need. Here is what I mean:oon 8119 0.0 0.0 7556 3008 pts/0 S 13:17 0:00 /bin/bashmoon 8120 6.8 0.4 24568 18928 pts/0 S 13:17 0:00 python manage.py runserverjobs -p give me just process 8119, but I also need to close 8120, since it's the thing that the first command opened.If it helps, the commands are actually in a Makefile, and I want it to run two daemons at the same time (and somehow close them at the same time).

View 3 Replies View Related

General :: Move Running Process To Background

Mar 10, 2011

How do you move a running process to the background? For example, type the command sleep 60 on the command line and try moving that process to the background.

View 1 Replies View Related

General :: Debian - Run A Script Constantly In Background?

Mar 19, 2011

I have a perl script which runs a mini webserver allowing me to do various things. I'd like to have this script run when the machine starts up, and constantly run in the background.How should I achieve this? I want the script to regardless of whether anyone is logged in or not, so I can't put it in any bash-related files.

View 1 Replies View Related

General :: Send An Application To The Background With A Key Combinatiion?

Dec 2, 2010

I had a look at the job basics in linux (linuxreviews.org/beginner/jobs/) but I don't know how to send a job to the background when the command is already run and I don't have the prompt because the application is running. To run a new command, I would have to stop the application first... I'm searching for a key combination that doesn't stop my application, but sends it to the background and gives me the prompt to run other commands.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved