Ubuntu :: SSH Not Releasing Terminal After Command Is Executed?
Sep 7, 2010
When I run the following command from my macbook to my ubuntu server the terminal does not get released. It just sits there until I Control-C the command.
I am working on Ubuntu 9.10.Since last two days there is issue while working with Terminal.Whenever I type a command and press enter it doesnt do anything. command is not executed. I guess its in loop. when I press Ctrl+C then it comes out of loop. this happens with all commands and I am not sure what is the problem.I have reinstalled Terminal but it did not worked.
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.
I am using Tor 0.2.1.30 with Polipo and Vidalia 0.1.15, Ubuntu 10.04. Running tor on terminal works fine, but vidalia gets stuck at 85% The message log, as I understand it, shows it getting stuck at finding the right bridges, but the terminal tor is able to connect fine... ##This is what the vidalia log looks like. The log shows me trying it two times. Apr 02 01:32:56.698 [Notice] Tor v0.2.1.30. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
Apr 02 01:32:56.699 [Notice] Initialized libevent version 1.4.13-stable using method epoll. Good. Apr 02 01:32:56.699 [Notice] Opening Socks listener on 127.0.0.1:9050 Apr 02 01:32:56.699 [Notice] Opening Control listener on 127.0.0.1:9051 Apr 02 01:32:56.699 [Notice] Parsing GEOIP file. Apr 02 01:53:08.204 [Notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up. [Code]....
$ execute_some_long_command <command is executing> <Accidently press middle button that inserts bunch of garbage (including, for example, `rm -Rf ~/*`) into console>
How to let execute_some_long_command finish, but not execute inserted things?
I want to use PROMPT_COMMAND variable to build a history of all the commands i execute. So Basically i want to append the last executed command to my own command log file. How can i find the last executed command ?
I want to add PROMPT_COMMAND="echo $last_executed_command >> my_command_log" But I am not sure how to find the last executed command
Inspite of having 755 permissions on the chown command, it seems the command can be executed by the root only. I was under the impression that the 'x' permission for 'others' can give executable rights to the normal user too, which does not seem to be the case here. Just curious to know, if not the file perms itself, what controls the execution of the command?
I have one distro installed, LILO as the boot loader, and i wonder if it's possible to duplicate the lilo entries with an option which executes some script or command during, or after the boot.Actually, i installed a Slackware + autolaunching virtual machine, but i have two VM, so i need to autolaunch one of them. May i choose it from the very beginning ?
I am trying to connect an ipad to a windows xp virtual machine running in a linux (opensuse) host machine. VMWare reports that usbmuxd running on the host machine (opensuse) must first release the usb port so that vmware can open it in the guest (XP) vm. VMWare knows that I have physically connected an ipad and when I click "Connect" reports the error and then displays the port as "Connected" although according to ITunes diagnostics there is no such connection. I have the same problem connecting a usb flash drive to the guest vm. Is there a way I can manually disconnect the port from the opensuse host?
I wrote a simple script to see if firefox is running. However, the ps command is not executed, when I open the logfile I see: "DEBUG LINE 4" and not DEBUG LINE 5, so "ps -e" is never executed despite using the full path of the ps command.
Here is my script:
#!/bin/bash -l # simple script to test if firefox is running... PS=/usr/bin/ps echo "DEBUG $LINENO" $PS -e | fgrep firefox echo "DEBUG LINE $LINENO"
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash # #TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code: #! /bin/bash # #TODO write this for gnome and xterm USAGE=" ${0##*/} [-x] [-g] code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code: gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
trying to use the dd command from terminal but having a problem cant get the vertical line needed in the command ( | ) ( did this one from character map ) in a winhosed system
I've already install the GTK+ library development files (libgtk2.0-dev) but I don't understand the following instructions:Then to compile the Equinox engine, extract the corresponding archive in your home folder. In the new directory, run the following commands: ./configure --prefix=/usr --enable-animationmakeWhat is the corresponding archive? Where do I run the command? On the terminal?
I know how to make things run at startup, and obviously know how to run a command in terminal (type and enter... duhhhh). However I would like to be able to run vnstat in terminal when my computer logs in, this is very handy for seeing how much I have downloaded. I have a terminal embedded on the desktop and would very much like to run vnstat in it for me when it starts, I know I could just type in vnstat when I've logged on, but where is the fun in that? Just having it already there for me would be far better.
The command for starting my desktop terminal is as follows: Code: gnome-terminal --window-with-profile=trans --geometry 90x40+280+30
I want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
Ubuntu won't let me use the sudo command in terminal. If I try, sudo: must be setuid root pops up. Also, if I try any tasks that require permission, the authentication box pops up and then disappears within one second.
I know this has been asked a 1000 times, but none of the solutions I've read so far work.I need to run the following terminal command every time Ubuntu (10.04 64bit) starts:Code:xset m 9 1This boosts mouse speed to maximum. I don't know why, but it is the only thing that works. All built-in mouse settings are at maximum, yet my mouse crawls across the screen when Ubu starts. So far, I have tried:Creating a startup script called "/etc/init.d/autorun.sh" containing code...
just bought two new monitors , having major problems installing them,ubuntu 10.04 didnt recognize them at all running at 800x600 they should run at 1920x1080. i have found various web pages explaining how to adjust the resolution using terminal . the problem i am having that nearly every command i put in commes back with command not found , i thought i needed to be signed in asroot so did this but still the same problem .