Help - Search - Members - Calendar
Full Version: Q: Queue It Up, Quickly And Quietly
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Linux Applications
Armagon
Greetings.

Here is a handy script that I wrote to make it convenient to start X applications from a terminal, which is really handy on the Zaurus, as well as being useful on a normal PC running X windows.

The script is as follows, and is attached:

CODE
#!/bin/sh
#
# Queue it up, quickly and quietly
#
# Runs a program in the background and suppresses all output.
# Particularly useful for starting X applications from
# a terminal.
#
# Useage: q some-application some parameters
#     ex: q dillo myfile.html
#
# Written by Armagon, 2007-04-05
#
# You are welcome to use this however you see fit.

$* > /dev/null 2>&1 &


After downloading the attachment, you will want to install it (as root):
CODE
cp q.txt /usr/bin/q
chmod +x /usr/bin/q



Cheers,
Armagon
scheck.r
Very handy, thanks a bunch !!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.