Ubuntu :: Gnome-terminal -e <multiple Commands>

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


ADVERTISEMENT

Ubuntu :: Multiple Commands At The Terminal?

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

General :: Script To Input Commands Into Gnome-terminal?

Nov 24, 2010

I'm trying to get a script to open a gnome-terminal and input commands into it, just as you would typing them in. That way, I can automate commands using bash, even if the terminal is running a non-bash program like telnet, mysql, vim, etc.

So, for instance..

I would like to open telnet to connect to a mud (I'm aware of the security concerns) and input commands through a script.

This way, I can log in, enter name/password, and do some start-game stuff automatically.

This isn't just for a mud, though. I'd like to be able to script inputs for any terminal application... maybe automate vim, mysql, or whatever.

View 1 Replies View Related

General :: Get Gnome Terminal Execute Different Commands From Diff. Tabs?

Jan 6, 2010

In gnome terminal it is possible to open multiple tabs with Quote:$ gnome-terminal --tab-with-profile=jake_lardasset --tab-with-profile=virtualsexgranny -x alpineWe got even further....Quote:gnome-terminal --tab-with-profile=james_treesexer --command pymol --tab-with-profile=loverboy13 --command alpineand pymol runs, but not in the tab and alpine runs in the tab.The problem is, that when using a script to check mail it has Quote:gnome-terminal --tab-with-profile=chrissypink --command alpine --tab-with-profile=jake_hugerichard -x ssh xxxx@xxxx.ut.eenot the other way aroundIs there a simpler way to do this?And why is it not possible to execute ssh with the --command parameter and -x has to be used ,but top and so on can be executed with --command

View 2 Replies View Related

General :: Gnome-terminal/bash - Cancel Inserted Commands That Will Be Executed Later?

Mar 13, 2011

$ 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?

View 1 Replies View Related

Programming :: Open Gnome Terminal (pass Commands ) On Clicking Glade Button

Dec 18, 2010

I am working on a small project for making a small configuration tool for ubuntu 9.10 for new linux users, that make their system working easily without knowledge of the linux commands.I created a gui in glade and loaded the gui with my python program to show up, now i wish to have some python codes that can launch a gnome terminal (and also pass some linux commands to it) on the click of a button contained in the glade file.

View 1 Replies View Related

Ubuntu :: Terminal Commands / Getting Into Usb Pen Drive From The Terminal To Run A Program?

Feb 10, 2011

i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused

This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.

so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.

Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.

View 5 Replies View Related

Ubuntu :: Starts Conky But Also Shows "output To That Terminal So You Can't Do Any Other Commands To That Terminal"

Jan 24, 2010

if you do the command conky in terminal, it starts conky ofcourse, but it also shows output to that terminal so you can't do any other commands to that terminal, Is their an option like you can do with the '&' sign in other cases? If you do the '&' sign with conky it still gives output, also the conky -d command gives output...

View 9 Replies View Related

Ubuntu :: Application Launcher With Multiple Commands

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

Ubuntu :: Combine Multiple Commands In Sequence In Background?

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

Ubuntu :: Keyboard Shortcuts: Using PIPE For Multiple Commands?

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

Ubuntu :: Simultaneously Run Multiple Commands From Bash Script?

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

Ubuntu :: Adding Multiple Commands To Launcher (cd & Mono)

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

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

Software :: Can't Get Head Around The Commands Or How Multiple?

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

Ubuntu :: Can't Turn On Terminal Bell In Gnome-terminal Using Remote Screen Session With Irssi

Nov 6, 2010

I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.

My compiz settings window in General tab has 'Audible bell' checked.

My GNOME terminal has 'Terminal bell' checked.

I also added 'set bell-style audible' to my ~/.inputrc

And I also tried to manually load pcspkr module into my kernel.

No of the above helped or at least I haven't been able to notice any difference.

I also used some commands for irssi to produce bell sign.

View 2 Replies View Related

Ubuntu :: Make A GUI For Terminal Commands?

Feb 27, 2010

Is there any easy way to Make a GUI for terminal commands?

View 2 Replies View Related

Ubuntu :: Can't Do Any Sudo Commands In Terminal

Mar 20, 2010

I was following a guide to stop Ubuntu from always asking the root password. And apparently i messed something up in vsudo edit or something like that i was in... So now when i put in a sudo command i get this...

Quote:

>>> /etc/sudoers: syntax error near line 18 <<<
sudo: parse error in /etc/sudoers near line 18
sudo: no valid sudoers sources found, quitting

so i cant even get back to undo what i edited.

View 8 Replies View Related

Ubuntu :: Running The Commands In The Terminal ?

Apr 11, 2010

I am trying to boot debian on my nexus one the guide i am using is telling me to run these commands

I am getting to the point where i type the command # cd /sdcard/debian but it tells me cd: can't cd to /sdcard/debian.

View 9 Replies View Related

Ubuntu :: How To Run Terminal Commands Synchronously

Apr 30, 2010

I've created a bash shell script, to open a few graphical programs. Trouble is, the next one doesn't start until I close the first one. How can I just skip to the next program?

View 2 Replies View Related

Ubuntu :: Run Other Program Commands From The Terminal?

May 7, 2010

Is there any way to run commands of other programs from the terminal?opened a doc file from the terminal using>openoffice.org filename.docis there any way to executeSELECT ALL[ctrl + a] orCOPY [ctrl + c]from the terminal?

View 2 Replies View Related

Ubuntu :: How Does The Terminal Guess What Commands You Want?

Nov 17, 2010

I couldn't really find a general Ubuntu discussion area. So I typed ipconfig and of course it said no such command blah blah blah. What I found interesting was that it provided a list of other commands I may have meant to use, ie. ifconfig. So what's the algorithm used to determine the commands? Is it SOUNDEX or something else?

View 1 Replies View Related

Ubuntu :: Terminal Commands - Install .tar.gz ?

Nov 30, 2010

Unzipped the folder in home/folder wordpress-3.0.2.tar.gz and now have a file called 'wordpress' Can someone walk me through the terminal commands to install from here.

View 1 Replies View Related

Ubuntu :: Get Into The Terminal From Keyboard Commands?

May 6, 2011

I upgraded to 11.04 today and wanted to reconfigure so that I could have the desktop cube again. Once I started trying to switch my settings for the cube configuration compiz asked whether I wanted to turn off various features and apparently among them was the control bar on the side and top of the screen. Now I log in to Ubuntu and I get my workspace and that's it. No control bars, just the workspace. I need to know a few things:

1) Has anyone else had this problem?

2) How do I get into the terminal from keyboard commands?

3) What terminal commands do I need to bring back at least the main toolbar so I can access programs.

View 1 Replies View Related

Ubuntu :: When And Why Use Basic Terminal Commands

Jul 16, 2011

Im new to ubuntu and I was wondering if someone could list some basic terminal commands and explain what they do, and when and why you would use them.

View 4 Replies View Related

Ubuntu :: How To Run Commands On Terminal Startup

Aug 3, 2011

I have a question regarding terminal. I try to launch it from the "Startup Applications" by entering a script.Code: sh -c '/usr/bin/gnome-terminal'but it does not start.Also, when it does start I would like it to auto run certain commands: navigate to my project folder run "play test" open a new tab run "top".how can I achieve this?

View 9 Replies View Related

OpenSUSE Multimedia :: Make Gnome-mplayer Recognize Commands Like "{a6}" Inside Srt Files On 11.3 - GNOME 2.30.2

Jan 10, 2011

I use gnome-mplayer 1.0.0 and Totem Movie Player 2.30.2 to view videos Both read subtitles well from srt files. But both are not able to read {a6} command in the srt files.

NOTE:- {a6} command serves the purpose of putting the subtitles on top of the screen, making it possible for subbers to display lyrics/additional footnotes on top, while at the same time, having the dialogues to show in their usual position.

Is there are way to force either of them to read the special commands properly?

View 9 Replies View Related

General :: How To Execute Multiple Commands When Using Find

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

Applications :: Writing Commands To Multiple Sessions?

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

Ubuntu :: Show Current Commands In Terminal?

Jan 6, 2010

I was wondering if there was a way to show all current actions I am doing in a terminal window? For example if I left a terminal window open on one of my desktops, could I make it display everything I am doing so that when I receive some general error in a program, I could jump over and get some more details. I could also use it to see what commands are actually run when I do certain things.

View 1 Replies View Related







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