Ubuntu :: Resume A Bash Script After A Reboot In A Terminal Window?

Apr 6, 2011

this has been driving me crazy all week, no matter what I try it just wont work.I have written a script that installs several programs, half way through it requires the machine to be rebooted.what I've been trying do do without success, is when the system restarts a terminal window opens and the script resumes.I've googled this, and it seems other people have aslo tried and failed to acheive the desired result.ok, I know it would be easy to just run the script without the terminal window (using cron @reboot or rc.local), but I really need the verbose output as the user must make 2 selections on the remaing installations.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Split A Bash Terminal Window In To Two Colums?

Mar 11, 2010

Is it possible to split a bash terminal window in to two colums so you can run and see multiple commands at once instead of having to flick between?

View 4 Replies View Related

Ubuntu :: Put In Hibernation Then Reboot And Resume When It Boots Back?

Aug 13, 2011

Is there a way to put Linux in hibernation, then reboot and resume when it boots back?

This would be amazing in combination with dual booting.

View 1 Replies View Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.

View 6 Replies View Related

SUSE / Novell :: OpenSUSE 11.2 And 11.3 Resume Session After Halt/reboot?

Sep 16, 2010

Once I halt my desktop machine and then boot it back up, applications previously open will open automatically. Is this some sort of KDE4 feature? Or what process is responsible for this? And is there some sort of file constantly updated about open programs and once I reboot, this file is read by KDE during the boot-up and those previously open programs will be started automatically?

View 2 Replies View Related

Ubuntu :: Unable To Define A Default Window Size Of A New Terminal Window?

Nov 16, 2010

i'm not sure for using the correct channel here but i hope someone out there can answer my little questions. 1st in older version i was able to change the settings of the terminal look as the font color, background color and so on. I was also able to define a default window size of a new terminal window. But since after upgrading to to the first release this year and a complete new installation of the current release Maverick i do not find this option anymore. Is there a way how to set up the terminal default window size?

View 9 Replies View Related

Ubuntu Networking :: Copy / Paste From Terminal Window To Another Window?

Mar 1, 2011

I have problem with internet connection on my Ubuntu, but the major problem is that i can't copy the message from my terminal while I type:ifgonfig and paste it here to show you what is the problem.

View 9 Replies View Related

Ubuntu Servers :: Run A Terminal Command With Pause And Resume?

May 17, 2011

I need to run a script that I build to build a word list. Essentially what it does is run through a base list and expands that into billions of words. This way I can keep a small dictionary file and a script to expand it into a larger file (about 500 gigs). This script should take anywhere from 12-14 days to run and on my last day the power went out at my house. Is there anyway I can run this again with a fail over system? I know a battery back up is an ideal addition to my home server but if the power is out for an hour it wouldn't have made a difference. Also if I had the ability to pause the script do a reboot and resume it again that would be amazing.

View 5 Replies View Related

General :: Resume A Process Via Any Terminal?

Jan 23, 2010

(yes a,vim a,copying data etc) via any terminal .please dont give me kill fg,bg at some instances kill -STOP pid,kill -CONT pid .

View 2 Replies View Related

Software :: When Start Xemacs Is Doesnot Run In An X Window But Runs In A Terminal Window

Feb 7, 2010

Newly installed Debian system from years with Fedora. Ran system update and system got hosed, booted but no Gnome. Got Gnome back after MANY 'aptitude upgrade's. Xemacs disappeared! Along with other things I installed. Tried to install Xemacs but it is broken and will not install, complains about dpkg TOO current(?). So downloaded Xemacs for Xemacs.org and compiled source, installed.

Now when I start Xemacs is does not run in an X window but runs emacs in a terminal window. If I run it from a script, it complains about 'not in tty window'.

My env show:

Code:

The Xemacs install on Debian ( Bug written ) Install and configuration of Xemacs from source. A better understanding of the Debian upgrade process.

View 5 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Server :: Can't Get Samba Config Window / Way Can Configure In Terminal Window?

Feb 26, 2010

I am new to Samba.I'm running Fedora 10 and I've just download samba successfully and have the smb service running on my system.I'm in GNOME and select System and then Administration and Samba does not appear in the drop down menu.I have an NFS menu selection but no samba selection.I ran yum install and it installed successfully. If I can't get the samba config window is there a way I can configure in terminal window?

View 1 Replies View Related

General :: Call Or Resume A Paused Process In To Another Terminal?

Jan 13, 2010

how to call or resume a paused process in to another terminal.

View 1 Replies View Related

Ubuntu :: Bash Broken, Lost Functionality In Terminal (gnome-terminal)?

Dec 10, 2010

Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"

In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.

P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!

View 9 Replies View Related

Ubuntu :: Terminal Bash / -bash: Ls: Command Not Found

Jun 5, 2011

I got a problem with terminal, since i'm really a noob with terminal i don't know how to fix it.Everytime i type in a command it shows for example:

-bash: ls: command not found

Even the basic commands don't work... just cd <directory> and those things works

View 9 Replies View Related

Debian :: Change Dragora Bash Terminal To Default Jessie Terminal

Feb 29, 2016

I mainly use debian jessie , recently i have installed daragora as my second os to get a feel of gnu/linux . the problem is that dragora uses bash , and it's commands are different from debian jessie terminal is there a way that i can use the same commands here in dragora?

View 4 Replies View Related

Debian Multimedia :: Xcompmgr 'master' - Rounded Window Borders Don't Draw And Redraw Properly When Using The Terminal (gnome-terminal And The LXDE And Xfce Ones)

Aug 26, 2011

I find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.

Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.

View 3 Replies View Related

Ubuntu :: Set A Default Terminal Window Size When Click On The "Terminal" Icon?

Feb 22, 2011

Is there a way to set a default terminal window size when I click on the "Terminal" icon? I need my terminal to be of a certain size every time I click on it?

View 2 Replies View Related

Slackware :: If Close Terminal Ran Bash Script Inside / Bash Script Stops

Apr 28, 2011

I've noticed something, and hoped there was a work around.when I write a simple bash script, and run it, if I close the terminal i ran the bash script inside, the bash script stops. What are the solutions for this? Basically I want to run my bash script and close the terminal, keep the bash script running.

View 6 Replies View Related

Debian :: Login Window Pops Up On Reboot/shutdown?

Jul 5, 2011

Every time I reboot or shutdown my PC, the login window shortly pops up. The PC does shutdown or reboot normally afterwards. When I use the terminal to shutdown/reboot (sudo shutdown -h now or sudo reboot) all goes well. The PC is running Debian Squeeze with the GNOME desktop environment.

View 7 Replies View Related

General :: New DSL Install - Reboot - Now -bash Permission Denied ?

Dec 16, 2009

Firstly, i'm NEW to Linux and my very first time with DSL. I'm installing this on an older Dell Latitude laptop.

I just finally got the DSL installed on my HDD successfully and then I added feh to start and run at start up, then I rebooted and now i'm getting this error:
No, directory, logging in with HOME=/ -bash: cd: /home/dsl: Permission denied

I have tried reading numerous websites but none explains to the level whereby I can understand. I even tried rebooting from the CD, but could not figure out how/what to do next?

The question is, can someone explain how I can use the DSL CD to try to correct this error. More importantly, can you explain in layman terms so that I can actually put it good use.

Also, some additional questions I have....when you download a file where does it save to?

View 6 Replies View Related

CentOS 5 :: 5.1 Bash - After First Reboot After Installing In Text Mode

Dec 17, 2009

I got this message after installing CentOS 5.1 in text mode and console:

It occures after the first reboot after installing:

I pushed TAB and get a list with possible commands.

I used "boot" but without success.

View 2 Replies View Related

Ubuntu :: Activating Window Through Bash Script

Jun 12, 2010

I'd like to create a bash script that's mapped to hotkey to bring up my Empathy contact list if it's on a separate workspace, mimized to tray, or hidden and hide the window if it's focused.I think I need to use something like wmctrl -l and wmctrl -R, but I can't figure out how to get the window status (minimized to tray, different workspace, etc.)

View 1 Replies View Related

Ubuntu :: Where Is Only A Terminal Window Available

Aug 31, 2010

I changed my desktop from ubuntu to kubuntu (after installation) using three commands:

Code:
sudo apt-get install kubuntu-desktop Select kdm as dm
sudo apt-get remove ubuntu-desktop

[code]....

View 3 Replies View Related

Ubuntu :: Can't Open Terminal And Other Apps After Automatically Update And Reboot

Sep 24, 2010

I did an automatic update and rebooted this morning and I now have a bit of a nightmare situation where I can't open the majority of applications, including the terminal. When I rebooted, my desktop loaded as normal, but then when I try to open the terminal (from Applications -> Accessories or from my quick launch panel), nothing happens other than the quick launch panel disappears for a second then reappears. This is the case for most other apps, but not for Chrome (obviously).

EDIT: Used Alt+F2 to open the terminal, ran safe upgrade and then rebooted, but still having the same issue. As Ubuntu was booting, there was a "Broken pipe" message, which didn't stop the boot process but is still a bit worrying. I've run a file system check but this hasn't resolved the problem either.

View 9 Replies View Related

Ubuntu :: 10.10 Freezing - Cannot Force Reboot - Shutdown - Run - Enter Terminal

Nov 5, 2010

Two or three times on a daily basis it just freezes and I do not know why. For example, I am doing some minor coding, surfing the web and just some regular stuff and suddenly, out of nowhere, it just freezes. I cannot force reboot, cannot shutdown, cannot run, cannot enter terminal, nothing. Totally helpless. Only physical reboot do the work. Never had this issue before.

View 9 Replies View Related

Ubuntu :: Command Can Enter Into The Terminal Or Over An SSH Session - Delayed Reboot

Jan 29, 2011

Is there a command i can enter into the terminal or over an SSH session to make an Ubuntu system reboot a few hours later? Sometimes I want to reboot my server and it should take place in the middle of the night when I'm asleep.

View 4 Replies View Related

Ubuntu :: Terminal Window Is Blank?

Jan 22, 2010

After finally fixing a problem with screen resolutions on my son's PC, (it was stuck at 640x480), now the Terminal window comes up as blank space. I can still type command lines, but can't see what I'm typing nor the response - it's all a white box

View 4 Replies View Related

Ubuntu :: Key Binds In Terminal Window?

Aug 30, 2010

I've installed weechat, and it looks great in the terminal window .. tho, weechat uses F10 & F11 to scrool the channel nick list. those keys are already used buy the ubuntu terminal window. what/how should I do to fix it?

View 2 Replies View Related

Ubuntu :: Focus On Window From Terminal?

Aug 2, 2011

Is there a command to focus (make active) a window based its process id

View 2 Replies View Related







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