General :: Ubuntu - Spawn Multiple Ssh Terminals?

Nov 25, 2010

when i am logged into my server via SSH how can i spawn many ssh terminals? is there a xterm command for this?

View 6 Replies


General :: Can't Close Multiple Terminals?

Sep 3, 2010

I just started using Fedora Linux Console. I know how to open multiple consoles, but i don't know how to close them.

View 5 Replies View Related

General :: Open Multiple Terminals In Run Level 3?

Dec 8, 2010

I am using red hat Linux 4 I have two question.

Normally in GUI interface i open multiple terminal at a time like one for log file and one for configuring any file etc etc.
The problem is normally I do work on run level 3 but in that way how can i open multiple terminal at at time ? Is there any way...

2- When I use the command

# tail -f /var/log/messages
in GUI i normally close the windows after viewing the log file messages.Is there any hot key by which I can again see the prompt example [root@localhost ~}# to write the command instead of closing the terminal windows ?

View 6 Replies View Related

Programming :: Use Curl And Spawn Multiple Connection At A Time?

Jan 24, 2010

I am using a perl script which uses curl in the background to download files from rapidshare premium,one file at a time. I wanted to know is it possible to use curl and spawn multiple connection at a time,to download the same file in multiple parts?? I don't seem to find an option in curl which does that.

View 1 Replies View Related

Ubuntu :: Multiple Terminals Before X?

May 20, 2010

When i start my Ubuntu it doesnt go directly into xserver/desktop mode. This is because my machine is very slow. Therefor i exclusivly use the terminal. I only hate the fact that there is only one terminal and i cant switch between them. ctrl-shift-F2 doesnt work. How can i use multiple terminals before having logged into X?

View 3 Replies View Related

Ubuntu Installation :: Exact Filesystem Image For Use On Multiple Terminals?

Mar 8, 2011

I've been out of the Linux loop for a little while, but a customer of mine wants a "No Virus) desktop environment, I have gone through the process of installing and configuring Ubuntu 10.10 to work with their client side software, but for the life of me, I can't remember if or how I can create an exact image of this file-system to install on all of the desktops.I would need to have all of the installed programs, Security Certificates, Display settings... basically, I need exactly what I have right now installed from the disc so that "IF" the customer needs to install the environment on new systems, I can just pop the disc in and run.

View 1 Replies View Related

Programming :: Number Of Users Logged In Using Multiple Terminals

Feb 21, 2011

I want to count the number of users who have logged in multiple terminals ? How will I get this ? I always get the total number of users. How will I get the uniq number of users with multiple logins ?

View 3 Replies View Related

Ubuntu Servers :: "Multiple Terminals" On The Server's Console Screen?

May 25, 2011

I'm trying to learn to set up code and web hosting etc and learn about server admin so I've been resisting the urge to install a gui. However, I would like to know if there is some way to make the console (I think that's what its called - basically its like a single terminal window) have two "multiple terminals" similar to how I can open multiple terminals in the desktop version?

View 2 Replies View Related

General :: Spawn Browser Windows From A Service?

Apr 28, 2011

I'm using Ubuntu 10.0.4. I'm running a background process on system startup (Selenium) that needs to launch browsers (e.g. Firefox, Google Chrome). What settings do I need to enable in order to do this? Currently, even if I SSH in as a user, I'm not able to launch a browser and get this error ...

selenium@selenium-chi:~$ /usr/bin/google-chrome
No protocol specified

(chromium-browser:2156): Gtk-WARNING **: cannot open display: :0.0

View 10 Replies View Related

General :: To Spawn A Task That Runs For Hours?

Nov 2, 2010

I have been doing this for quite sometime now, yet lately I wonder if this is what everybody does...I have a task that will run for hours. In order to not to interrupt that task when I logoff for the day, I issued the command:

at now 'sh ~/a-long-task'
Is this what everybody else does?

View 2 Replies View Related

General :: Keep A Layout Of Terminals?

Mar 27, 2011

Is there a way to "save" a layout of terminals on Ubuntu?Let's say I have 4 Terminals on a workspace that I'd like to save/restore at will, how could I do this?UPDATE:create gnome-terminal desktop entryedit the preferences and under "Title and Command" be sure to set "Keep initial title" for "When terminal commands set their own titles"use wmctrl (available on universe repo) to control windowUsing the above procedure, one can create as many desktop profiles for gnome terminals and control them by "title" using wmtrl -R $title_here.The profiles are kept under ~/.gconf/apps/gnome-terminal/profiles.

View 2 Replies View Related

General :: Vim Copy-paste Across Terminals?

Jan 19, 2011

The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and paste in another) and if so, how?

View 1 Replies View Related

General :: Get 2+ Terminals In BASH Script?

Jan 19, 2010

I am making a bash script. I have captured user input like so. code...

But it does not work. Airodump-ng "takes over" and the script does not continue.

How do I make it so that I can make a new Terminal, or allow more commands to take place on the current one, allow the output from airodump-ng to be shown, and keep the caught user input?

I'm using Ubuntu 9.10, GNOME and would like it so that anyone with a GUI Terminal, Konsole or whatever can execute the script successfully.

I'm confused...I looked up on Google and couldn't find anything! Just "Beginners guide to Bash Scripting" and "How to BASH script" but nothing relevant that answer my question!

View 13 Replies View Related

General :: Auto Start Several Terminals On Linux

Apr 23, 2011

Every time I reboot my linux machine I have to set up 5 or 6 terminals and Im trying to find a way to do this automatically. Bind a script to a shortcut or on startup that starts several terminals (extra point if theyre tabbed) and have each terminal ssh to different servers.

View 3 Replies View Related

General :: Split Output Of A Command To Two Terminals?

Jun 27, 2011

How can I split an output of a command to two terminals? one will get stdout and the other will get stderr. The best I could do is:
On first terminal code...

This works ok but it prints the errors over and over again every time, is there any better way to redirect the errors to another terminal?

View 2 Replies View Related

General :: What Is Short Cut Key To Toggle Between Pseudo Terminals In Red Hat?

Apr 21, 2011

what is short cut key to toggle between pseudo terminals in red hat? how can i create customized short cut keys in red hat?

View 2 Replies View Related

General :: Socat And Rich Terminals - No Job Control In This Shell

Mar 24, 2010

socat - exec:'bash -li',pty,stderr,ctty -> bash: no job control in this shell

What options should I use to get fully fledged shell as I get with ssh/sshd? I want to be able to connect the shell to everything socat can handle (SOCKS 5, UDP, OpenSSL), but also to have a nice shell which correctly interprets all keys, various Ctrl+C/Ctrl+Z, tab completion, up/down keys (with remote history).

- Found "setsid" socat option. It fixes "no job control". Now trying to fix Ctrl+D.
- socat file:`tty`,raw,echo=0 exec:'bash -li', pty, stderr, setsid, sigint, sane. Not it handles Ctrl+D/Ctrl+Z/Ctrl+C well, I can start Vim inside it, remote history is OK.

View 1 Replies View Related

General :: Command To Keep Track All The Previously Run Applications From All Terminals?

Apr 13, 2010

Is there a way or command to keep track all the previously run applications from all terminals that are connected to your linux machine? Something that will display the name of the application, start time, and end time of its execution?

View 3 Replies View Related

Ubuntu :: Can't Spawn Telnet Session In Expect Script

Apr 22, 2010

I am moving my migration forward and am trying to get my expect scripts tested and found one that no longer works. Quite simply, it spawns a telnet session to a router.

set env(TERM) vt100
set timeout 3
set send_human {.1 .3 1 .05 2}
set timeout -1
spawn telnet

and that's it. The result of the script is that the command to spawn simply shows up on the screen like it is a puts command. On my older openSUSE system, it worked fine. I am running Ubuntu v9.10 desktop, and expect and its libs are patched to the latest rev, expect is 5.43.0.

View 1 Replies View Related

Programming :: Spawn Web Browser In C Programme?

Sep 23, 2010

i want to spawn the browser in c programme like qtp & selenium.

View 1 Replies View Related

Ubuntu Installation :: Failed To Spawn Spreadahead Main Process

May 26, 2010

I have recently upgraded 9.10 to 10.04 through the alternate CD. However, each time when I boot my system, post upgrade, I receive this error: INIT:failed to spawn spreadahead main process: unable to execute: No such file or directory After that it waits for a long time to show the desktop.

View 2 Replies View Related

Ubuntu Servers :: Login With VNC Viewer And Spawn Gnome Session

Dec 1, 2010

I have just installed a version of 32 bits Lucid LTS on a server box. I would like to setup a VNC service so that I will be able to login to the server with VNC viewer and spawn a gnome-session. I ran the following command:
apt-get install ubuntu-desktop
apt-get install Xvnc xinetd

I was in front of the server and make sure that I can start a gdm locally. Then, I added Xvnc service to xinetd following the guide here: {URL] I was only using a session, and /etc/xinetd.d/Xvnc is as follow:
service Xvnc
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc .....

After all, I restart gdm by "/etc/init.d/gdm restart". When I try to start a VNC connection from another machine, I can see Xvnc running successfully. But XDMCP does not run properly and I cannot see a traditional ubuntu login screen. I am sure that port 177 UDP is opening by looking at the output of "netstat -anp".

View 5 Replies View Related

Ubuntu :: Boot Error: Failed To Spawn Rc-sysinit Main Process?

May 28, 2010

I have a minimal installation of Ubuntu, with lxde-core and some other apps I really use. Sometimes when I start the system, it hangs and nothing else happens. I hit Esc and then I see:Code:init: Failed to spawn rc-sysinit main porcess: Unable to open console: Input/Output error.I get stuck there, and the only thing I can do is to hold the power button, shutdown, boot again, and pray it will boot fine. Sometimes it does, sometimes it doesn't.

View 1 Replies View Related

Fedora X86/64bit :: Can't Able To Create More Than 28 Spawn Bash In Core 64 Bit?

Jun 1, 2010

I can't able to create more than 28 spawn bash in fedora core 7 ( kernel) linux 64 bit machine. I can able to create 1015 spawn bash in 32 bit fedora 7 core. Script I have used for both 32 bit and 64 bit:


View 1 Replies View Related

OpenSUSE Network :: Can't Manage To Php5 Cgi With Using Spawn-fcgi

Mar 18, 2011

I am trying to set up an nginx server. I intend to use it with, php and python, and probably with frameworks like django and codeigniter. However, I can't get it working. This is what I did: Installed these from Install/remove software:


My current nginx.conf file is this (Stripped comments):


What happens is: when I type a php url to address bar, I only get a text saying "No input file specified." This is what I get when I make netcat sit on 9000, and go for <hostname>/phpinfo.php:


There are clearly some config problems here, but can't find out what are they, since this is first time I try to setup nginx and fastcgi.

View 1 Replies View Related

Programming :: Expect Script Error: Spawn Not Found

Dec 13, 2010

I am working on an expect script to login into a server and copy few wars across the folders. But when i execute it I am getting the following error:

[exec] spawn: not found.
[exec] expect: 0403-006 Execute permission denied.
[exec] send: -- unknown

The first line is : #!/usr/bin/expect -f.Is this anything to do with server setting or configuration that doesn't allow spawn??

View 3 Replies View Related

Programming :: Send: Spawn Id Exp1025 Not Open In Tcl/expect

Apr 21, 2010

my tcl framework give exception - send: spawn id exp1025 not open - while executing command - exp_send "echo $ABC". Though this is very sporadic in nature and frequency of occurrence is very less, but still i need to fix it.

I have following queries

- why does this occur so sporadically?

- how do i fix it?

- what shall i do to avoid such exceptions in future.

Note : The function which runs the exp_send command always spawn a bash whenever it is called.

View 3 Replies View Related

General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.


View 1 Replies View Related

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

Aug 23, 2010

I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.

I tried the coding posted above.

find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"

but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"

View 9 Replies View Related

General :: Good Support To Multiple Desktops AND Multiple Monitors

Jun 4, 2010

I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.

My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?

View 3 Replies View Related

Copyrights 2005-15, All rights reserved