Ubuntu :: Terminal: Run Programs As Separate Process?

Jul 11, 2011

I want to run programs from Terminal as a separate process, so that for example gedit file

will launch gedit and return to the terminal prompt (so no need to open up another terminal).

View 8 Replies


ADVERTISEMENT

Software :: Using Two Network Interfaces Simultaneously In Separate Programs

Jan 19, 2010

I'm not sure if this is possible, but it seems like it should be, since a linux box can act as a router. I want to be able to use two separate network cards simultaneously (one wired, one wireless) in separate programs.

Example: I want to browse the internet on my wired eth0 interface, and simultaneously run bittorrent on my wireless wlan0 interface (which is connected to an entirely separate network). If I need to use multiple user accounts, then that is fine.

P.S. I'm running Ubuntu 9.04

View 7 Replies View Related

General :: Run Programs From System Terminal Without Blocking Terminal?

Jun 19, 2010

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.

I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.

View 3 Replies View Related

Server :: MySQL & HTTP Process Allocation To Separate Processors

Sep 29, 2010

I have 2 CPU 8 GB RAM server running MySQL & HTTP server with apps using LAMP architecture. Since last few days we are having some performance problems.While looking at the problem i came to know both mysql and http are almost taking 100% cpu time of a single processor and the second processor is free. redirecting the mysql load to one cpu and http load to the second one? Is it possible? If so how to do it?

View 1 Replies View Related

Programming :: Run A Command On A Separate Terminal In A Bash Script?

Apr 6, 2011

I'm trying to do something here:: I'm writing a bash script, I want to [open a new terminal and run a bash command in it] inside the script. I tried to use this, but apparently I get syntax errors.

Quote:

#! /bin/bash
echo "echo Something" > ~/Second.sh
chmod +x ~/Second.sh
xterm -e sh -c ./Second.sh

View 14 Replies View Related

Ubuntu Installation :: How To Ensure That Programs / Download Files Remain Intact Following Process

Jun 2, 2011

Have used 10.04 for almost a year now, and the 'upgrade' now beckons.How can I ensure that my programs and Download files remain intact following the process? I already have 11.04 as an .iso on cd, but am unsure how to proceed.

View 3 Replies View Related

General :: Boot - What Are The Various Programs Or Process That Gets Executed When A Machine Starts

Aug 2, 2010

what are the programs or process that gets execututed when a linux start. ie starting from the grub (linux bootloader)

View 3 Replies View Related

Ubuntu :: Run GUI Programs From Terminal Correctly?

Aug 3, 2010

I can't figure this out. If i run GUI program (in GNOME) from terminal. It doesn't works the same as if i run it from menus (or shortcut on desktop or panel). Or some times I run it from Alt+F2 method.

What is the difference in this methods?

For example what is the difference if i put this...

metacity --replace

...in terminal or in ALT+F2 dialog window. If I put it in terminal. GNOME doesn't work correctly. If i put it in Alt+F2 dialog window. It works as it should. With no problems.

And what is the difference if i like to run for example FireFox or gnome-control-center from terminal or select it from menus.

If i like to run from terminal. What would be right way to do it?

Because sometimes i get errors in terminal (but GUI works) sometimes after i close terminal GUI program closes to. Sometimes it doesn't. But if i run that program from menus (icons) there is no such problem. It just works. If i put & at the end of program. I can work in terminal. But still all of the above is still true.

View 3 Replies View Related

Ubuntu :: Where Are Programs Download With Apt-get In Terminal

Sep 1, 2011

I have just installed qBittorrent with terminal with apt-get but I do not know where I can find it besides the Launcher and the panel on the top of the screen.

View 9 Replies View Related

Ubuntu :: Removing Start Up Programs In Terminal?

Mar 11, 2010

I recently learned how to add start up programs in the terminal using the following command:

Code:
ln /usr/bin/whateverprogram ~/.kde/Autostart

This worked, but now I want to remove some start up programs using the command line. Can someone point me in the right direction to what I need to do for this?

I'm assuming that default start up programs are not links in the ~/.kde/Autostart folder because when I run:

Code:
ls -a ~/.kde/Autostart
I only find the files that I have set to start up.

View 3 Replies View Related

Ubuntu :: Auto Start Programs In Terminal?

Sep 18, 2010

I am setting up a streaming audio server. I would like to have Darkice and sc_serv (Shoutcast server) start automagically on boot.

I have set Xubuntu (10.04) to auto login

Both Darkice and sc_serv are command line apps and I would like them to each run in their own terminal window so I can monitor any status messages they produce. For instance sc_serv displays connections disconnections with time connected, and current number of listeners, and I want to see that.

One important note: sc_serv must be up and running before Darkice can be started.

View 1 Replies View Related

Ubuntu :: Finding Names Of Programs To Use In Terminal?

Oct 30, 2010

I would like to know how to find out the name of programs so that I could launch them in Terminal. For example, to launch gimp, I just type

Code:gimp and it launches. Well how do I find out other names to other programs?

View 2 Replies View Related

Ubuntu :: Compiling And Running Some C++ Programs (with G++ From The Terminal)?

Jun 7, 2011

so i've just been sitting here, compiling and running some c++ programs (with g++ from the terminal), I looked away for one minute to open a file that had just been written out (opened it with gedit if that makes a difference), now my terminal says:kbuildsyscoca4 running...so I'm wondering if anyone knows what this is about?hy it suddenly started running and why it has appeared on my terminal. I'm basically just curious as I though bash shells were entirely separate virtualizations of shells, and unrepresentative of other processes. i'm also wondering what kbuildsyscoca4 is/does (i've got gnome going on and generally gnome varieties of programs). I found a post from about a year ago mentioning the same thing, though no replies.

View 1 Replies View Related

Ubuntu Installation :: Install Programs And Use Them By Using The Terminal?

Jun 25, 2011

How can i install programs using the terminal and how can i use programs by using the terminal?

View 3 Replies View Related

Ubuntu :: Bash For Programs Running In Terminal?

Aug 9, 2011

Trying to write a script for desktop launchers that are adaptable to screen resolution. Ideally, the program should:

1. Determine screen resolution:

if "a" use xdotool options window size 1305 x 869 px and move to 135,0
if "b" use xdotool options window size 1545 x 1019 px and move to 135,0

2. Check if program running:

if no, open program, and use "a" or "b" placement options, focus window
if yes, focus window

3. Close script and leave program open (if possible).

Problems arise when trying to use the script on programs that run from and hog the terminal
(e.g. brasero, gcalctool, nautilus)

Here the script will load the program, and nothing else (probably because it still occupies the terminal as it runs)

Code:

gcalctool && xdotool search "calculator" windowmove 135 0

This next command will cause the program to load, move, but it keeps focusing itself like xdotool is running the windowmove function constantly - it keeps focusing itself until script stopped.

Code:

gcalctool & xdotool search "calculator" windowmove 135 0

This had the same effect as the above code, but seems to work as a conditional subscript running when the process is running in the terminal - it just goes infinitely.

Code:

while [1] ; do xdotool search "calculator" windowmove 135 0 done exit

Is there some kind of "if, then" or "while, do" or some kind of conditional I can put in to the script ensure the window is moved only once if the program is running within the terminal? Is there a way to remove the program from the terminal from the script once it's been called?

View 5 Replies View Related

Ubuntu :: Process (including Boot, Shutdown, Download, Open Programs, Etc) Is Freeze Until Move The Mouse Or Hit Any Button?

Nov 26, 2010

1) Any process (including boot, shutdown, download, open programs, etc) is freeze (don't have any progress) until I move the mouse or hit any button, so for install and use my ubuntu I have to keep moving my mouse and as you imagine is VERY TIRED.2) I get some general freeze on random times, neither the mouse, keyboard or process move, I notice that if I unplug power it unfreze, and I can work for some time.This 2 problems annoy me a lot, and I suspect is a problem related to my Netbook Model, I read about someone that has the same problem but no solution there.

This is what I did:I Try Ubuntu loading from my USB memory (1GB), run very good but with the 2 problems, but I thought it can be resolved installing.I installed along side with W7, couldn't boot Ubuntu, so I configured GRUB2 and it could enter now, but if I don't press **** after selecting Ubuntu it give me the BusyBox, and then the same 2 problems.I get rid of my W7 and did a Full Install on my 160GB HDD, hoping it can work fine, but no.I install all updates and no effect on that.

View 9 Replies View Related

Fedora :: Can Install Programs Other Than Using The Terminal

Oct 21, 2009

How can we install programs other than using the terminal. To be honest, I liked this system and I got used to it, but the problem is someone who wants to use Fedora but has no idea on how to use the terminal, so is there any other way for installing programs?

View 8 Replies View Related

Fedora :: Installing The Programs With Terminal?

Jul 23, 2010

Installing the programs with terminal?

View 6 Replies View Related

Ubuntu :: Reattach PTS Or Process To Another Terminal?

Sep 18, 2010

There were a ssh session, but client side crashed and after reconnect, here is still pseudo terminal and process attached to it. Is there any way how to reattach the pts or reattach process to another terminal? (Please ignore screen or another terminal multiplexer, as long as I'm just curios if there is any solution of this situation, cause I use screen).

View 8 Replies View Related

OpenSUSE Install :: 11.3 - How To Use Terminal To Add / Remove Programs

Mar 15, 2011

I am coming from Kubuntu 10.10, which is a Debian based OS. I am used to going into the terminal and typing sudo apt-get install or sudo apt-get remove to install and remove programs. I know it is the hard way to do it, but I find it gave me more flexibility. So how do I do this in openSUSE 11.3? Or can I even install things through terminal? What is the command? I know there is YaST but I also want to learn how to use the terminal

View 8 Replies View Related

Ubuntu :: Run A Java Process In The Background Of A Terminal ?

Feb 16, 2011

I am running Ubuntu 10.10, and I am trying to run a java process in the background of a terminal, so I can continue to use that terminal.

Other applications will run in the background just fine, but when I run my java application, I cannot change the status of the process from "Stopped" after suspending it.

Here is my command syntax, along with some commands I have tried and their outputs:

There were [1]- entries, but I removed them for simplicity.

View 4 Replies View Related

Ubuntu :: Gnome-terminal In Startup Programs Doesn't Start At Login?

Mar 16, 2010

Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.

View 2 Replies View Related

Fedora :: Terminal-based Programs Won't Run Because It Can't Find Libtermcap

May 30, 2010

I installed Fedora 12 on a new machine (Intel Core i3) and one of my terminal-based programs won't run because it can't find libtermcap. The specific error is

Quote:

error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

I seem to have this problem every other time I install a new Fedora. I tried a few things with old libtermcap files from other machines, and I tried looking around the YUM repository, but nothing seemed to work.

What's the proper way to get the libtermcap libraries for a Fedora 12 machine on an iCore i3?

View 1 Replies View Related

OpenSUSE Install :: Listing Installed Programs Via Terminal?

Apr 21, 2010

I am do not know what to type in the terminal to get a list of installed programs and their versions.

View 3 Replies View Related

Ubuntu :: Invoke The Terminal In LINUX When A Process Becomes Unresponsive?

Jan 6, 2010

If a process becomes unresponsive in WINDOWS then we press "alt+ctrl+del" to invoke the task manager & then terminate the process.Is there any similar way to invoke the Linux Terminal so that we can end a process by the 'kill' command when it becomes unresponsive?

View 2 Replies View Related

Ubuntu :: There Was An Error Creating The Child Process Of This Terminal

Feb 13, 2010

I get the error

Code:
there was an error creating the child process of this terminal

When I run this code:

Code:
gnome-terminal --window-with-profile=Scripts

View 2 Replies View Related

Ubuntu :: Start A Non-terminating Process In Terminal Window?

Oct 18, 2010

how to start a process in Ubuntu terminal window that is not killed when the terminal window closes.

View 9 Replies View Related

Ubuntu :: Closing Terminal Kills The Process It Opened

Feb 21, 2011

if i start an application using the terminal.. it gets closed if i close the terminal.. how can i not let this happen?

View 4 Replies View Related

Ubuntu :: Disconnecting From Remote Terminal Without Killing Process?

Apr 9, 2011

I'm running a process on my university's supercomputer that takes several hours to run every time. Is there a command I can use to exit my ssh session without killing the process I'm running?

View 1 Replies View Related

Ubuntu :: Output Data To Running Process In Terminal?

Jul 10, 2011

There is text based game in the Ubuntu repos called gomoku (just 5 in a row) it comes with the package bsdgames. The manual page [URL] lists an option (-b) to run it in the background. I want to try that and if I know how it works create a simple graphical front-end. When I start the program with:

Code:
gomoku -b

it starts and remains active, the terminal does not return to prompt which is OK as the command is not finished. The manual says the program reads from stdin, and this might sound stupid but how to get anything there?

I've tried to pipe an echo command to gomoku which works but ends the program after is receives input.

Code:
echo "black" | gomoku -b

just finishes. After that when you type another command like:

Code:
echo "justsometext" | gomoku -b

gomoku tells it expects either black or white as input. So it forgot the previous "black" because it is a new instance.

How do I pass text to an already running gomoku?

View 2 Replies View Related







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