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


ADVERTISEMENT

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 :: 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 :: 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 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 :: 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

Code:
# 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

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

General :: Write A Literal Bash Command In A Bash File?

Nov 29, 2010

I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:

Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END

[code]...

View 6 Replies View Related

General :: Running Bash But Common Bash Commands Not Working?

Jul 17, 2010

below are the details of my system. I have bash as my current shell, some really common commands aren't working.

Do I need to do a re-installation of bash? Or how do I install a selection of bash commands which I need? (for example a subset of [URL])

Code:
root@sdptfw:~ # uname -a
Linux sdptfw.sdpt.co.za 2.4.36 #1 Tue Jul 22 13:13:24 GMT 2008 i686 i686 i386 GNU/Linux
root@sdptfw:~ # echo $SHELL$
/bin/bash$

[Code]....

View 13 Replies View Related

General :: Random "No Space On Device Messages" On All Open Terminals And In Logs?

Feb 14, 2010

Occasionally i get a "No space on device" message on all open terminals and in logs.How do i make it go away.

View 9 Replies View Related

Debian :: Get More Than 6 Terminals?

Apr 10, 2010

I switch between terminals using the combination of keys Alt+Fx (x=1... 6). I get only 6 terminals.
How can i get more than 6 terminals?

View 3 Replies View Related

Fedora :: Run Several Terminals In F15?

Aug 18, 2011

I firstly open one terminal. Then I try to open another terminal window through application list, but the terminal I opened beforehand turns up. I can open several terminals at the same time in Ubuntu, how can I realize the same function in Fedora?

View 5 Replies View Related

Fedora :: Can't Start Two Terminals In F15?

Jul 25, 2011

In my new install of F15, I can: Activities -> Applications -> Terminal to start a terminal. I am unable to start a second terminal if the first is still running. I don't have any problems creating as many terminals as I like with F10. How do I create more than one terminal in F15?

View 5 Replies View Related

Ubuntu Servers :: How Many Terminals Can I Run?

Jan 7, 2010

i know the trick where u can press alt and f1 or f2 and so on to bring a new terminal screen.how many terminals can i run?
running 9.04 with no gui

View 4 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

Software :: Moving A Job Between Terminals?

Sep 14, 2010

i'm not at all a newbie, but this has been a mystery to me in the last 10 years, since no FAQ/tutorial/anything about UNIX CLI seems to talk about it. so what i'd like to do, is start a job (e.g. wget stuff, which takes a long time) on tty1, background it, and foreground it on tty2. or start it on my server via ssh, background it, log out, and foregroud it when i log back in. i know how to bg and fg stuff, but that only works while the shell is running.

View 3 Replies View Related

Ubuntu :: No Virtual Terminals On 9.10?

Jan 5, 2010

I found out that I do not have virtual terminals on my computer (Ubuntu 9.10). When I am trying to switch, say, to tty2 with Ctr-Alt-F2, I am getting a black screen with lonely cursor blinking in the upper left corner (no login prompt). my tty2.conf file is

Code:

# tty2 - getty
#
# This service maintains a getty on tty2 from the point the system is
# started until it is shut down again.

[code]....

View 7 Replies View Related

General :: SSH Connection From BASH Script Stops Further BASH Script Commands

Dec 3, 2010

What happens when the script executes is that the ssh connection works and parks me at the remote hosts's shell login. Therefore, the "firefox" command refuses to execute. I need to know how to make the "ssh" connection occur, stay open, and go into the background so that the rest of the script can execute.If I could also do this with the "firefox" line so that the entire term window could be closed would also be helpful.

View 3 Replies View Related

Debian Configuration :: TTY Terminals Flickering

Aug 19, 2015

I just installed Stretch on my laptop and I have a problem with the terminals. The system loads fine on KDE and I can use it without issues. However, when I switch to the tty terminals, they move very fast horizontally and slowly vertically as if there is some sync frequency issue. Then if I move back to KDE most of the time it works ok, while some others it starts flickering like the terminals.

View 4 Replies View Related

Debian Configuration :: Terminals Gone / Get It Back?

Feb 22, 2010

Running Debian Squeeze and when I try to switch between gnome and a system terminal ctrl-alt-f1(etc) I just get a black screen. Any thoughts? I'm using the radeonhd xorg driver but don't think that should affect it.

View 14 Replies View Related

Fedora :: Virtual Terminals Not Working / What Ot Do?

Jul 13, 2009

Whenever I boot my machine into runlevel 5 (X support) I can't get to any of the virtual terminals. If I do a ps and grep for mingetty I see terminals 4-6 are running. But ctrl-alt-f{4-6} just put me to a blank screen. If I hit alt-f1 I get back to X. I've found that if I start tty2 by running "sudo mingetting tty2" I get the following error in /var/log/messages: mingetty: tty2: no controlling tty: Operation not permitted. I am not using selinux and have noticed that /etc/inittab no longer has the ttys. The reading I have done thus far says it's started by gdm but I don't really see a lot of info about controlling them. Any ideas on this?

View 1 Replies View Related

Fedora :: Terminals Opening In ~/Documents Instead Of ~

Aug 25, 2011

Graphical terms and xterm start up in ~/Documents. Konsole starts at ~ (as expected). I know I'm missing something (probably long forgotten) but I can't seem to find where the Documents is coming from in the other terms. I thought xterm ALWAYS started in the user home. Is it a bash thing? I have a ~/.bashrc with

[Code]....

View 3 Replies View Related

OpenSUSE :: PackageKit Messages On The Terminals?

Mar 14, 2010

I always get messages like those below in my terminals, that obfuscate my typing.

How can I get rid of them (updated opensuse 11.2)?

I already reconfigured syslog to move PackageKit messags to a separate file (because the messages appeared in /var/log/messages too, and I hoped that was the source).

I'm ok with seeing severe error messages on the console, but not spam like PackageKit started..., stopped...

Message from syslogd@job5 at Mar 14 00:29:46 ...
PackageKit: what-provides transaction /1130_cceaeeed_data from uid 1000 finished with success after 5203ms
Message from syslogd@job5 at Mar 14 00:30:06 ...
PackageKit: daemon quit

[Code]....

View 1 Replies View Related

Ubuntu :: Change Terminals On Ssh - View Same?

Jan 3, 2010

i don't even know if this is possible but if i had another terminal open on my linux box and i ssh it on my windows computer, is there a way to view that same terminal? I know ssh opens a new one but i want to see what that terminal is doing because i have stuff running on it.

View 3 Replies View Related

Ubuntu :: Can't Access Virtual Terminals

May 12, 2010

Using 10.04 on my laptop, but I can't access the virtual terminals (ctrl+alt+f1-f6). Instead I get a weird screen with apparently randomly generated lines, as they change each time I attempt to access them. (Sometimes it is just a solid color.) They also appear on shutdown/ switching user. I'm using a VIA VX800 chipset.

View 2 Replies View Related

Ubuntu :: Change The Resolution Of The Terminals?

Jun 1, 2010

In a tty (the terminal you access via CTRL+ALT+(F1-F6), is there a way to change the resolution? The text is freaking huge right now and I want to lowerit a bit.

View 1 Replies View Related







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