Debian :: "xterm -e [multiple Commands]"?
Jun 28, 2011
I'm looking for a way to use "xterm -e" with multiple commands. (the -e option set the beginning program of xterm session)I have a script like this:
echo "answer? "
read answer_a
if [ $answer_a = 'y' ]
[code]...
View 7 Replies
ADVERTISEMENT
May 21, 2011
I am trying to get 2 things to operate on the same line, for example echo Current Version: [cat /file/ver.txt] is there a way to do this?
View 1 Replies
View Related
Feb 2, 2011
We are using a program who connect to other server using xterm over telnet. Our programmer needs to migrate t vt100 over ssh (why... I don't know cleary, but we prefer ssh because is more secure).But we have problems with some keys. If we press F8 program use another convination of keys and we can't find the way to modificate it.
Actually we are using something like that:
Down: (byte)0x1B, (byte)0x4F, (byte)0x42
PageDown: (byte)0x1B, (byte)0x5B, (byte)0x36, (byte)0x7E
View 1 Replies
View Related
Jun 13, 2011
Start xpdf or gv. Click an xterm to be active and slide it over xpdf/gv. Vertical lines from xpdf/gv under the xterm stick to the xterm window above and make it unreadable.
The problem does NOT show with KDE default settings with display effects on but does show in fvwm, xfce etc, and in KDE without effects.
On a system with a Sandy Bridge integrated graphics (i5-2400) the problem went away by downgrading to xf86-video-intel-2.13.0. But it was not enough for another system with 945G which needed downgrading to xf86-video-intel-2.12.0.
View 3 Replies
View Related
May 2, 2011
i have fluxbox and i need to know how to copy things in xterm and paste them outside of xterm.
View 2 Replies
View Related
Jan 21, 2010
I am in the process of coverting some video files to motion jpeg (Wii) files with ffmpeg (great program by the way). I have been successful and so the majority of my work is over. My question is simple (I think) but complex to me so... here it goes. Is there a way on one command line to "batch" convert 8 or 9 files together instead of one by one. I just don't know what to put on the command line. I took one UNIX class a long time ago and the terms pipe and such come to mind... but I forget. Any takers? That was I can write what I want the computer to do in the morning and just come back after work and voila...
View 6 Replies
View Related
Jan 11, 2011
I'd like to convert some of my backed up ripped DVDs to an .avi with separate subtitle file. I have been looking at MEncoder but I can't get my head around the commands or how multiple .VOB files become a singular .avi file.
View 2 Replies
View Related
Jan 22, 2011
I'm trying to run multiple commands on things I have found, how can I achieve this? find . -exec cmd1; cmd2 does not seem to work; it instead runs cmd2 after cmd1 has been executed on every file.
View 2 Replies
View Related
Jan 27, 2011
I created a application launcher (type:terminal) to replace the index.php on my apache server (/var/www/) with the index I keep updated on my desktop.
This is the exact script I'm using on the launcher:
My idea was the launcher would delete the current file at /var/www/, and then copy the file on /home/andre/Desktop.
But its not behaving properly, it is deleting both the file in my /var/www/ AND my desktop.
View 2 Replies
View Related
Sep 1, 2011
With xterm, I can do the following, and the scripts are executed sequentially in a single xterm: xterm -e 'script1.sh;script2.sh' But with gnome-terminal, when I do: gnome-terminal -e script1.sh;script2.sh It runs them in parallel in 2 different terminals. I've tried a few combinations of ", and ', around the scrips, but no difference.
View 2 Replies
View Related
Jul 12, 2010
I am using putty to connect to some servers. Is there a program that let you connect to say three servers and when you write your commands to server1, server2 & 3 also gets the command? So I don't have to log in to all three servers to do the exact same thing.
View 2 Replies
View Related
Jul 26, 2010
I like background commands in scripts:
Code: sudo apt-get update& I also like multiple commands in scripts:
Code: sudo apt-get update && sudo apt-get upgrade
How would I combine these? Could I do it with functions?
View 9 Replies
View Related
Aug 28, 2010
Searched the forums for solution & am not seeing oneWrote a simple script to find Trash folders on Lucid and delete them
Code:
#!/bin/bash
sudo find / -regex ".*Trash[-]?[0-9]+?" | while read -e line
[code]....
View 1 Replies
View Related
Sep 21, 2010
I'm trying to write a bash script that will simultaneously ping a host and execute a traceroute at the same time. I would like the results to output to a text file.
View 6 Replies
View Related
Feb 7, 2011
so I am trying to make a launcher under application/Games menu for OpenBVE. In this launcher I need it to run 2 commands in the terminal:
Code:
cd /home/username/OpenBVE
and
Code:
mono OpenBve.exe
[Code]....
View 4 Replies
View Related
Dec 18, 2009
In a script I am writing I am trying to add logic so that the script can figure out if a remote server uses rpm or dpkg and then run the appropriate command to print a list of installed packages. This works locally, but I need to get it to work through SSH and I have no idea how to do that. The relevant portion of the script is below. It would also be nice to find a way to not need the full path to the executables but I'm not real concerned about that.So anyone know how to make this code work via SSH?
Code:
if [ -x /usr/bin/dpkg ]; then
dpkg --get-selections
[code]...
View 4 Replies
View Related
Jan 11, 2010
I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?
View 3 Replies
View Related
Jun 3, 2011
I have several commands in a bash script, and in the middle of the script there are several commands whose output and error streams I want to redirect to a file. I think I could simply add '>> myfile.txt' to the end of every command, but is there a way to set it before that block of commands, then reset the streams to their original state at the end of that block?
View 1 Replies
View Related
Sep 21, 2010
Okay so I have an alias that looks like this:
Code:
ALIAS sorigin {
MSG sorigin Test1
[code]...
View 1 Replies
View Related
Jun 18, 2010
I want to do something like svn add dir1 dir2; svn ci dir1 dir2 but have it be only 1 revision. Is there a way to do this? Is this the correct way to add new folders (with contents) to the repository? We are restructuring the trunk, so I cleared it out and plan on putting these directories with their contents in it.
View 1 Replies
View Related
Jul 7, 2009
I've newly installed Lenny and I find that xterm doesn't have tabs or pretty colours. Vim is also colourless. Is this a conscious effort by Debian to strip back the install to it's most utilitarian? Or am I using the wrong versions of each app?
View 3 Replies
View Related
Aug 3, 2010
Just done a fresh install of squeeze (basic install then installed X, WM and a few applications) and I find that I am unable to get an xterm up and running (same goes for rxvt-unicode (urxvt) and uxterm). The same problem occurs with both Openbox and DWM window managers.
View 7 Replies
View Related
Jun 18, 2010
I have installed squeeze with KDE. I have xterm bugs, this last kill alone with command apt-get, the xterm is killed! There are another xterm client that I install under KDE?
>> apt-get install another xterm ........
View 14 Replies
View Related
Oct 14, 2015
When I login over ssh or when I open a local text shell I can't get dircolors to show up.
If I open a shell in an X-Session the dircolors are there. Also, colors work fine over text mode and SSH, in both of them VIM works perfectly fine with my colorfull configurations.
This is the session I get when I do a remote login over SSH:
Code: Select allremote ~ % echo $TERM
screen-256color
View 1 Replies
View Related
Aug 31, 2015
Is there a way to send a terminal command to an already opened xterm terminal
View 4 Replies
View Related
Apr 4, 2011
How can I make xterm to use truetype fonts by default,out setting it every time i start it?
View 1 Replies
View Related
Feb 4, 2011
I want to put some info on my all black background, for instance i do a lot of vpn connections, so it would be cool that i do startx and a xterm console was on the background (without the window ofcourse) with the tail -f /var/log/messages or my dropbox status and so on Like tilling....but on background...i hate wallpapers
[Code]....
now a problem to do the command line above and put it for instance in autostart.sh from openbox i need to do it as sudo and give the password......damn..it will not work
View 8 Replies
View Related
Aug 20, 2010
I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx
but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set
View 3 Replies
View Related
Jul 3, 2009
I have a xterm which can have 256 colors. How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?
View 4 Replies
View Related
Aug 4, 2010
I am searching for a way to run multiple commands at boot time using the gnu screen utility.
A solution could be:
But the result would be many sessions, each one with just one child. What I need is just one session with many children, one child per command.
View 2 Replies
View Related