Ubuntu :: Change The Args Passed To A Terminal Command While It Is Running?

Apr 14, 2011

I'm trying to ssh my ubuntu laptop with my android phone. But with the app I have (connectbot) I don't seem to be able to pass any args to the command. I want to pass the -Y command to allow my phone access to the screen on my laptop so i can use my laptop (somewhat) from my phone. Can you change the args passed to the command while it is running?

View 5 Replies


ADVERTISEMENT

Programming :: Pipeline When The File Requires Two Command Line Args?

Jan 18, 2010

Suppose that there are two files

Code:
$ cat abc1
a1 a2

[code]...

View 4 Replies View Related

Ubuntu :: Running A Command In Terminal Upon Start Up?

May 14, 2011

I am relatively new to linux but i need to run a command in the terminal so i can prevent wireless power save from happening every time i switch to battery power. I dont really want to go into the terminal every time i switch to battery mode so i want to be able to launch this command upon start up:

Code:
sudo iwconfig wlan0 power off

View 2 Replies View Related

Programming :: Running Command In Existing Terminal?

Aug 17, 2010

Here's my linuxquestion I have a bash terminal window opened by next command:

Quote:

gnome-terminal -x bash -c "bash"

Now i need to run different commands or scripts AS ROOT in this terminal window from another terminal. I tried things like

Quote:

sudo echo 123 >/dev/pts/4

The result is 123 in that terminal window, but sudo password is asked in my tab where i entered the command.

View 6 Replies View Related

Ubuntu :: Short Key To Command Histroy In Terminal Running Bash?

Jan 20, 2011

In windows command prompt, F8 key can cycle through your previously entered commands i.e say you enter "ping google.com" and then "pushd <dir>". Next when you type p and then press F8 brings pushd and next F8 brings ping command. You can then hit enter to execute the corresponding command i.e ping in this case.Is there anything similar in Ubuntu Terminal running bash? Very handy to get back previously entered commands.

View 3 Replies View Related

OpenSUSE Install :: Running The Hplip Command In Terminal?

Nov 17, 2010

I have downloaded the hplip command on the desktop, attempted to cd desktop, and it shows "no such directory". running this command so I can set up my printer? And I can't seem to put the screenshot here..

View 9 Replies View Related

Ubuntu :: Open A Terminal And Start The 'top' Command To View The Running Processes

Oct 18, 2010

When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??

View 1 Replies View Related

General :: Disable The Terminal Beep When Running The Shutdown Command?

Sep 3, 2009

I've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:

Code:

sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.

View 6 Replies View Related

Debian :: Change A Terminal Bkgnd By Command Line?

Feb 9, 2011

I'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.

My preferred terminal is terminator, but it doesn't really matter at this point.

View 5 Replies View Related

Debian :: Monitor Running Process And Execute A Command When Change?

Jan 31, 2010

I want to monitor the process running and execute a command if some new process start. For example send a mail if any new process start.

View 1 Replies View Related

Software :: Terminal For Running VB Scripts (a SecureCRT Like Terminal)?

Apr 5, 2011

I would like to hear about a (telnet) terminal for Linux that can run VB scripts. The need is for configuration of a target board. I like secureCRT very much, but I can not use it from a Linux workstation.

View 4 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Ubuntu :: How To Change Terminal App For Nautilus-open-terminal

Dec 1, 2010

I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.

However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.

I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.

A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.

View 5 Replies View Related

Debian :: Change Dragora Bash Terminal To Default Jessie Terminal

Feb 29, 2016

I mainly use debian jessie , recently i have installed daragora as my second os to get a feel of gnu/linux . the problem is that dragora uses bash , and it's commands are different from debian jessie terminal is there a way that i can use the same commands here in dragora?

View 4 Replies View Related

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

View 1 Replies View Related

Ubuntu :: Change Terminal Colors After A Change Root?

Jan 31, 2011

Now I know that in order to change the colors in your terminal you have to play around with ~/.bashrc But the effects don't stay in place after a change-root is taken affect. It just reverts to black. Is there any way I can change that too in .bashrc?

View 3 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

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.

View 1 Replies View Related

Programming :: Python Passing Multiple Args To Bash

Jan 14, 2011

I have a text string I want to pass as the second arg to a bash shell.

My python line is :

The first arg "gap" works great and the bash shell uses it as $1

I need "fill" passed along as $2 intact

Here is the bash line:

As you can see after the -f it has to be in single quotes and $FILL will complete the single quote

Nothing is getting passed as a second arg from python, I did have the first word at one time but that was 85 tries ago and forgot how I did it!

The bash script complains about an unterminated quote.

View 6 Replies View Related

CentOS 5 :: Find -print0 The Order Of The Args Matters?

Jun 14, 2010

In the man page for find there is an example for deleting core files from /tmp: find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f

which I am sure does what was intended. However, this very similar command does something quite different: find /tmp -print0 -name core -type f | xargs -0 /bin/rm -f

This actually removes all files in /tmp, ignoring the -name and -type arguments. I checked the man page to see if it detailed this behaviour, but the only reference to the order of the arguments was that -name should come before -type to prevent excessive calls to stat(2) on all files. This seems very risky behaviour on the part of find and I am concerned about whether this is a bug or not. I wasn't trying to remove core files from /tmp when I found this out, but deleting other files from another part of the filesystem .

View 1 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

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?

View 4 Replies View Related

Software :: Scripting Commandline Args To Switches - Network Hardware

Jan 6, 2010

I have some network switches that I can login to via ssh and run commandline arguments (not a bash environment). Is there an way/app out there that would allow me to pass commandline arguments to the switch then wait and get the command output. ALl this over ssh?

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

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.

View 4 Replies View Related

Ubuntu :: And 64bit - Gave Up Waiting For Root Device (Boot Args (cat /proc/cmdline))

Jun 18, 2010

I had to reinstall 10.04 because I got an error, waiting for root device. And I figured I knew why I got this error: I changed my xconf.cfg (or whatever the file is in /etc/x11/) -- So this time I downloaded the 64 bit, because I have a 64 bit computer, so though, might as well get it! I've narrowed the problem down to this:

After I install nvidia settings (the x server or whatever?) And change my view to TwinView (I have my laptop monitor and an external monitor), and save the config file, this happens. I will do some more testing, but here is the whole error message: Gave up waiting for root device. Common problems:

- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system not wait long enough?)
- Check root= (did the system wait for the right device?
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/bcb49367-8554-4116-8e4d2b39d92415cf does not exist. Dropping to a shell!

BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash) Enter 'help' for a list of built-in commands.

View 1 Replies View Related

Ubuntu :: Won't Load To Ram / Can't Get Passed To Install Screen?

Apr 19, 2010

i am installing Ubuntu version 9.10 in VMWare Work Station 7 but i can't get passed to 'Install Ubuntu'. I tried pressing enter but it still won't load.

Is there any key or command that i have to enter?

View 2 Replies View Related

Ubuntu :: Can't Get Passed Loading Screen / Solution For This?

Apr 28, 2010

I purchased this computer the other day at a garage sale. The computer starts up and the logo/ubuntu pops up with the scrolling load bar beneath but thats all the farther it goes. The monitor will go blank and then just restart the process all over again. Any help would be much appreciated

screen just opened up saying
UBUNTU is running low in graphics mode

the following error was encountered. you may need to update your config to solve this. code...

View 1 Replies View Related

Ubuntu Installation :: Cannot Get Passed Splash Screen

May 28, 2010

I have been trying to install ubuntu for a few days. After I select install on the first screen using live it will switch over to the UBUNTU splash screen. I can hear the CD drive and that hard drive working for about 45 seconds to a minute then nothing. It will just sit there on the splash screen for as long as I let it. By let it i mean hours. I and installing it on a Toshiba laptop with 1.6 ghz centrino processor, 160 gb hard drive, and 2.5 gigs of ram.

View 7 Replies View Related

Programming :: Value Gets Changed When Passed To A Function In C++

Jun 10, 2010

Why do I see different values of character 'a', in main() and in functionA() in the following C++ code?

Code:
#include <stdio.h>
#include <string.h>
#include <iostream>
using namespace std;

[Code]....

View 7 Replies View Related

Ubuntu :: Running GUI From Terminal While SU'd

Aug 25, 2010

I'm trying to run a script that launches a GUI using DirectFB while su'd as a different user. I probably have to add environmental variables but I'm not sure exactly what to do to get this working.

Here's the error I'm getting:

Code:
(*) DirectFB/Core: Single Application Core. (2009-06-02 06:26)
(*) Direct/Memcpy: Using libc memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory

[Code]....

View 2 Replies View Related

Programming :: C - One Value In The Matrix Drops To Zero When Passed In As Pointer?

Dec 8, 2010

This is one of the strangest problems I've run into while programming. Maybe there's just something wrong with my version of gcc or something.

The main problem comes at this point in the code:

Code:
po = makePoFromScorbotXYZPR(X, Y, Z, P, R);
h = makeHB2GFromPo(po);
printf("%le", *h[1][0]); //##################################### Here it has the right value
printf("%s", "

[Code].....

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







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