Ubuntu :: Run Program From CLI Then Return?

Jan 9, 2011

I'm trying to figure out the syntax needed to run a command that will spew out output (which I don't need) but go back to allowing me to run other commands without closing that program.Basically I run:

Code:

./utserver

and it starts and gives output but I want to run other commands without needing to open a new tab or close that program.

View 4 Replies


ADVERTISEMENT

Programming :: Getting Return Value From Program Ran In Background?

Mar 10, 2010

I think my title pretty much explains it. I am writing a script and I want to start a program in the background, and when that program finishes I want to check the return value to make sure there was no error.For example normal I would do something like this:

#!/bin/sh
program
if [ ! $? -eq 0 ]; then
echo "There was an error"
exit 1
fi

Now I want to do something like this:

#!/bin/sh
PRTN=`program1 &`
program2
if [ ! $? -eq 0 ]; then

[code]....

In this case if program2 finishes before program1, I don't think the return value from program1 $PRTN would be valid at the time it is checked.

View 3 Replies View Related

Ubuntu :: How To Return To 9.10 From 10.04

Aug 4, 2010

how can i return to 9.10 from 10.04?

View 8 Replies View Related

Ubuntu :: Can't Return To Windows 7

Mar 22, 2010

i tried to install brug theme so i cant return to windows 7 which files should i paste here.

when i click to windows 7 option in grub boot menu it just returns me "GRUB"

View 9 Replies View Related

Ubuntu :: Return To # In Terminal?

May 19, 2010

after i start a process in terminal and you lose the # how do i get it back without quiting the process?

View 4 Replies View Related

Ubuntu :: Way To Return Default Theme In 9.10?

Apr 2, 2010

Is there any way to return default theme, in 9.10? because i have installed full mac theme and i really messed everything up, but now i'm bored, so is there any way restore everything easy?

View 2 Replies View Related

Ubuntu :: How To Return To Default Settings

Jun 7, 2010

I need the command for returning my ubuntu netbook remix (newest version) to default settings. The problem is that when I installed a theme, the next time I booted the OS the screen starts blinking and when I enter my admin password, no icons appear. My laptop is Dell 1525.

View 4 Replies View Related

Ubuntu :: CTRL-ALT-F7 Fails To Return To X11?

Aug 13, 2010

This is a problem which has been plaguing me ever since the upgrade from Karmic to Lucid.

I used to be able to log into any one of the seven TTYs.

CTRL-ALT F1-six all work fine. Problem is if I log into one I can't get back to the GUI.

Immediately after the upgrade, I was told by some people that this was deprecated along with startx and I should use sudo gdm service start instead.

This doesn't work for me If I have to open a terminal when a nasty game freezes and I have to kill it from a terminal.

View 9 Replies View Related

Ubuntu Installation :: Can't Return To Windows?

Sep 17, 2010

I'm a italian boy that have a problem with ubuntu. I install ubuntu on my netbook with wubi but now I can't return on windows. When I restar my pc i see GNU GRUB version 1.98-1ubuntu6

I select the part for to go in XP Windows NT/2000/XP (loader) (on/der/sda1) but I see the black windows with the script error: unknows command 'drivemap' Try (hd0,0): NTFS5: And I return to black windows that allows me to choose the part Ubuntu.

View 2 Replies View Related

Ubuntu :: Cannot Return Back System

Nov 2, 2010

i made upgrade(not distro) on my ubuntu 10.10. i took very long but i was not concerned. However i opened my laptop again it could not boot normally. Therefore i ran in recovery mode in failsafe graphic it stopped at "running scriptss in rc2.d/ took 2 seconds". I safe my important file from command window in recovery mode but i can not return back my system.

View 9 Replies View Related

Ubuntu Installation :: Return Without Install Cd?

Dec 11, 2010

I have installed ubuntu on a specific partition. installedwindows and mandriva on two other partitions. ow i would like to go back to ubuntu. is there any way i can do this unfortunately i have no bootloader installed installed on the ubuntu partition..is there any way to install[ a bootloader on the mbr or elsewhere to retrieve the ubuntu installation. preferably without live cd

View 4 Replies View Related

Ubuntu :: Can't Return To Regular Desktop

Dec 11, 2010

I have Ubuntu 10.10 and turned it on after enabling my nvidia video card, but instead of opening regularly, it went to a black screen that said the following. Ubuntu 10.10 Inspiron8200 ttyl

Inspiron8200 login: I can login but this is only like the terminal (or maybe like the recovery console?) (I can only type and receive text) How do I start Ubuntu like normal?

View 2 Replies View Related

Ubuntu Installation :: Uninstall 11.04 & Return To 10.04?

Jun 15, 2011

I dual boot with XP, My upgrade to 11.04 has been two weeks of FUBAR. I want the 10.04 LTS again. With the 10.04 disk in, I get to the point of "Prepare Disk Space"; it shows XP-pro 81Gb and Ubuntu 11.04 75Gb. There I must choose side-by-side, Use Entire Disk, or Specify partitions Manually. My Question/Problem> The new 11.04 kernel seems so incompatible with my system that I wonder if I need to delete or reformat. Am I likely to have success if I just tell it to do side-by-side.

View 3 Replies View Related

Ubuntu :: Allow Empty Return From Read Command?

Feb 19, 2010

I am writing a short script to do some backups.Here is a small section of it:

Code:
echo -n "Please enter your choice ..."
read CHOICE

[code]....

View 3 Replies View Related

Ubuntu :: Return The Desktop With Default Setting?

May 29, 2010

[URL] my desktop accidently become like this: Screenshot-1.png i can't find the favourites, internet, system, etc to start the application...what should i do to return the desktop with default setting..

View 9 Replies View Related

Ubuntu :: HCItool Does Not Return Specific Device Name

Jun 30, 2010

I've just installed Ubuntu 10.4 and was trying to use a small bash script for which I need hcitool to return the device name. The problem is that hcitool returns nothing when I query for the device's name using the address. The address was found using hcitool's scan option, so I know the device is responding. Also, I can pair the laptop with the phone using gnome's bluetooth application, what I can't do is get hcitool to return the device's name. I've tried scanning for other devices and querying for their names, and I tried using another laptop with Ubuntu installed to get the phone's name, in all cases hcitool returns the device's name, only when issuing the query from my mac to this specific phone does hcitool fail.

I'm issuing the following commands:
Code:
knitter@knitter-laptop:~$ hcitool scan
Scanning ...
<address omitted><name omitted>
00:8D:31:8C:0C:0AKntSE
<address omitted><name omitted>

After getting the list of devices that were found I grab my phone's address and ask for the name.
Code:
knitter@knitter-laptop:~$ hcitool name 00:8D:31:8C:0C:0A
knitter@knitter-laptop:~$
As you can see, when scanning for devices I get both the address and the name, but when asking for the name I get nothing, and I really needed to use the hcitool name <address> command for the script as it would make things easier.

View 2 Replies View Related

Ubuntu :: : Cifs_mount Failed W/return Code = -6?

Aug 2, 2010

I'm trying to mount a samba share from one Ubuntu server to another Ubuntu server and keep getting:

: cifs_mount failed w/return code = -6

I've searched cifs error codes on google and can't find anything about what it means. Anyone know what it means or has a link to a cifs error codes sheet?

View 3 Replies View Related

Ubuntu :: Return Login From Xterm To Gnome?

Sep 8, 2010

In an effort to learn more about Linux and especially Ubuntu, I chose Xterm as the default login screen. Would someone be kind enough to point me to the appropriate docs or give me a leg up with restoring GNOME? I am using 10.04.

View 3 Replies View Related

Ubuntu :: Installed After Windows7 - Can't Return To Windows 7

Oct 16, 2010

I have a Asus EEE PC 1005HA netbook, which I use with Windows 7. I've been abroad for the last 2 weeks, and when I came back I found out my younger brother has installed Ubuntu on it.

When I asked him he told me it's no problem, and he didn't overwrite Windows, just installed on another partition.

However, I'm trying to get back to my original operating system and I have no idea how. Obviously, he has none either as he is just an impulsive 15 year old.

I'd like to either uninstall ubuntu and return to my windows OS, or just choose at boot time which OS I want to access (I don't really mind having a linux onboard, I assume it has it's merits).

View 7 Replies View Related

Ubuntu :: Hibernate For A Brief Trip To Windows And Return?

Nov 22, 2010

First of all, I searched the forums but I couldn't find anything- I don't want to be the poster who posts something that's been solved 14 times already Anyway, primary question first and then "why" below- I was wondering if there was a quick way to hibernate Ubuntu to Swap -> boot to Windows 7 and work -> Hibernate Windows 7 -> boot to Ubuntu and work, repeat until Windows glitches

I have, new Acer Aspire:
i3 370M
4GB RAM
640GB HDD as follows, from inside to outside:
X GB 3 Primary Windows partitions, 125 GB unnallocated, 50GB /home, 6 GB .boot, 4 GB SWAP

Ok, why would I want to do that? I ask because while Ubuntu boots fast at just under 1 minute at the end of my hard drive (90Mbps, I had it install from "end" when I partitioned the boot file), Windows boots slowly at about 2.5 minutes on the inside of my drive (23sh Mbps). To be able to switch between them would be useful for iTunes, ProEngineer, Matlab, and other stuff that is Windows based. Windows boots much faster from hibernation. I love Ubuntu, the speed and simplicity and the actual FRIENDLY atmosphere (what a concept WINDOWS) But I find myself needing to do some quick editing in Windows, then I can go back to my business on Ubuntu. Is there some kind of selective boot managing like GRUB that I can bring up after telling one to hibernate? Because once on SWAP, it should hold relatively indefinitely until I return, right??

Any ideas??? It sounds like some clever Terminal coding could manage the Linux side of the booting, but Windows might have to be tricked into a selective boot..

View 9 Replies View Related

Ubuntu :: Return A List Of Files Without The Extensions?

Jan 3, 2011

I am writing a bash shell script and I am trying to use a select case to modify a few files with the same filename but different extensions (i.e. problem.tex problem.log problem .pdf etc.)

It goes something like this:

Select item in $list
do
compile $item.tex
open $item.pdf
delete $item.log
break
done
exit

Right now my list is list=$( find . -maxdepth 1 -name "*.tex" ) which returns a list only from the current directory of all files ending in .tex so when I try to open the resulting .pdf file I get the error:

error: file problem.tex.pdf doesn't exist

So I'm trying to find a way to use just the name in a select menu.

View 5 Replies View Related

Ubuntu :: GREP - Return Only Search String?

Jan 13, 2011

I have a mail.log file, of which I want to redirect only the search strings of the sender from=<example.sender@exampledomain.com> and the size size=4537 to a file.

In every case the sender string starts as from=<> and the size string starts as size=

What would be the grep command to redirect only the two search strings to a .txt file?

View 2 Replies View Related

Ubuntu Servers :: Possible To Make Apache Return With Nothing?

Apr 11, 2011

I'm running a server and Cogeco doesn't want that.

What I want to do is make it so when someone goes to my_domain/ apache will pretend it doesn't exist, but I want subdirectories to work still.

What I tried was denying access to /var/www, but the apache returns with a message for that.

View 6 Replies View Related

Ubuntu :: Modify The Keypress Return Symbols?

May 8, 2011

When I press the keyboard button: (- _) I would like to see a '_' on the screen instead of a '-'. How can this be done? {Lucid 10.4}

View 2 Replies View Related

Ubuntu Networking :: Difference Between What Rssi And Tpl Return?

Jun 2, 2011

I was wondering if someone could point out the difference between what rssi and tpl return...

View 1 Replies View Related

Ubuntu Installation :: Former - User Cannot Return On His ASUS

Jul 20, 2011

Greetings beloved Linux users. I had grown accustomed to using Ubuntu on my laptop for the longest time when a nasty virus screwed up my boot sectors on my HP Desktop. I finally bought a nicer computer with Windows 7 back in November of 2010, but I'm having difficulties trying to install Ubuntu onto it. Here are some specs:

Model: Asus CM5571 Desktop PC 64-bit
Processor: Intel Pentium E5400 / 2.7 GHz Dual-Core (yes, a Pentium)
RAM: 6 GB DDR3 SDRAM
Graphics: Intel GMA X4500 Dynamic Video Memory Technology 5.0
Sound Card: Intel HD Audio

I'll be willing to provide more if needed So, I started off trying to load the Ubuntu 10.04 CD I received from the free shipping service off of the Ubuntu website, and that would not boot. It seemed to hang after trying to scan my 500 GB external. So I unplugged that,rebooted, and it seemed to hang on my USB hub. I unplug that, rebooted, and it hangs after trying to making "calls" or something to devices. Not sure at all what is going on there.

I figured I might need a 64-bit edition so I go to the website and burn an ISO of Ubuntu 10.10 64-bit. The same thing happens. I then begin experimenting with the boot options (acpi=off, etc.) and none of that seems to work either. Out of desperation, I find an old 8.04 CD and try to boot from that. It gets past the loading bar but boots into BusyBox only.

View 4 Replies View Related

Ubuntu Multimedia :: XDisplayHeightMM() Return Unexpected Value?

Aug 4, 2011

I'm using XDisplayHeightMM function from X11/Xlib.h, on one machine and it returns 203,while another machines returns 41351.why the second machine returns such a bigger value? does it have to do with the configuration?

View 1 Replies View Related

Ubuntu :: Return Values From System Calls?

Apr 30, 2011

I've implemented a few custom system calls in my Ubuntu kernel, but I'm having some issues with the return values. Each function returns a variety of non-negative integers depending on which error is encountered. However, when I'm testing the system calls, the only negative value that gets returned to the user program is -1, regardless of what I have in the code.

Is there some special path I have to take to get the proper return values?

View 3 Replies View Related

Ubuntu :: Inbuilt Logging System - Ran And Installation - Program Opened Automatically - Can't Find Program Executable

Feb 23, 2011

I was wondering whether there is an inbuilt logging system in UNIX?

I ran and installation and the program opened up automatically but I can't find the program executable.

If I could find a log then I could locate this file.

View 9 Replies View Related

Ubuntu :: Program That Behaves Same As Microsoft's OneNote Program

Aug 29, 2010

Does anyone know if there is a program that behaves the same as Microsoft's OneNote program for linux?

View 3 Replies View Related







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