General :: How To Redirect A Terminal/tty Output To Other Terminal/tty

Dec 14, 2010

hello
I tried to find a good subject but it was the best of mine, anyway I'll explain it here.
some time I do some thing like installing a new application in Linux terminal of my office PC but it take a long time and I have to go home during its installation or configuration process that it is not good to cancel it.My current solution is abandoning the process until next day. I wanted to know is there any way to redirect an input and out put of a terminal to another one, if it works I can continue my abandoned process by ssh to my Linux office PC and redirect that terminal to my new remote sshed terminal from my home.

Thank a lot for any help.

View 4 Replies


ADVERTISEMENT

General :: Redirect Standart Output To Current Terminal?

Apr 17, 2010

i have a process launch by another app, i want to see the output (that is in console) in a terminal (gnome-terminal or tty); how can i capture de standart I/O from a process. my process (aria2) is launch by firefox and the output of ps is like:

# ps aux | grep aria2
dorian 30289 2.8 0.1 12148 4048 ? D 07:08 0:03 aria2c --continue -d /home/downloads/so/suse --referer=http://software.opensuse.org/112/en

...is running but i cant see the output (download state), how can i capture or redirect standart I/O to my terminal to get something like the output of:

$ aria2c --continue -d /home/downloads/so/suse --referer=http://software.opensuse.org/112/en --load-cookies=/tmp/flashgot.h2fnxf84.default/cookies --input-file=/tmp/flashgot.h2fnxf84.default/flashgot.fgt
[#1 SIZE:6.7MiB/4,289.3MiB(0%) CN:5 SPD:25.3KiBs ETA:48h01m01s]

View 1 Replies View Related

Software :: Redirect ALL Terminal Output To File And Screen (for Entire Session)?

Jul 6, 2010

Is there one command that will let me record an entire terminal session (with any possible errors) to a text file while also seeing all output on screen too? I know it can be done for individual commands, but I'm looking to do this for an entire session where the individual commands will be normal (i.e., not piped into tee, etc.). It would be even better if the command prompt is captured too. The obvious utility of this makes me think someone surely has come up with a solution long ago (probably in the 60's).(I'm sure it goes without saying, but subsequent output in that session should be appended to the file. The file should contain the full history, with all output and errors, of the session.)

View 9 Replies View Related

General :: Redirect Input From One Terminal To Another

May 26, 2010

I have sshed into a linux box and I'm using dvtm and bash (although I have also tried this with Gnu screen and bash). I have two terminals, current /dev/pts/29 and /dev/pts/130. I want to redirect the input from one to the other.And then when I type in /dev/pts/29 the characters I type should show up in /dev/pts/130. However what ends up happening is that every other character I type gets redirected.

View 2 Replies View Related

General :: Redirect Stdin And Stderr To Another Terminal?

Jun 28, 2010

Is it possible to redirect stdout and stderr from one terminal say /dev/pts/2 to another /dev/pts/3?

I tried the following:

Code:
/dev/pts/2 2>&1 /dev/pts/3&

Then when I run a command the process stops.

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

General :: Terminal Emulator - Output ?

Jan 10, 2011

What is the output of "date -u +%jXfce|sha256sum|sed 's/W//g'" if you run it in a terminal emulator?

View 3 Replies View Related

General :: Short Cut To Copy From Terminal Output?

Dec 10, 2010

if we type a command such as "locate somefilename" in the terminal we will get all the paths to the file name as output. If i want to copy only one line from that output how do i do that without using mouse?i need terminal short cut to copy one line

View 8 Replies View Related

General :: Bash - Get Colored Output When Using Tab Completion In A Terminal?

Feb 27, 2011

Is there a way to get colored output when using tab completion in a terminal? My colors are fine everywhere else so I know that I've enabled a color terminal successfully. Using bash in Ubuntu (10.10).

View 1 Replies View Related

General :: Capturing Remote Output Locally In Mac Terminal?

Jun 2, 2011

I want local programmatic access to ssh output in Mac Terminal. First, I tried redirecting the output of each command to a file. The file was perfect, but of course it was on the remote server, and an sftp for each command output seemed a little.. Next, I tried to Applescript Terminal, but it only gives access to the currently visible text in a tab (i.e. if half the output has already scrolled out of sight, it doesn't get returned - useless).

Last, I tried piping ssh to tee (e.g. ssh user@host | tee output.txt). This almost worked. I have the output in a local file, but there are a lot of unwanted characters mixed in. For example, every time I hit backspace, there's a ^H in the file. There's also text like "[0m[K" which is harder to get rid of.

View 2 Replies View Related

General :: Copy / Paste Output From Shell (not Terminal)?

Jul 15, 2010

I often have issues starting my window manager--xfce. My computer misbehaves in one of 3 ways, one of which is to fail to open X, but generate several screens of info. I want to paste that info to this site, but since I'm in the shell, not the terminal (please correct my vocabulary if it's wrong here), I don't know how to copy and paste the output, since right-clicking doesn't give me a menu. Even if I could copy I'm not sure the information would be accessible in X. Are there any other options?

View 13 Replies View Related

General :: Show Output On Terminal And Save To A File At The Same Time?

Jul 1, 2010

I am using:

user@unknown:~$ sudo command -option > log

to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible?

I am using ubuntu 10.04 lts.

View 3 Replies View Related

General :: Make Gnome Terminal App Support Output Search?

Oct 2, 2010

Using a default terminal and bash, there is no functionality to search the standard output of commands.

One can gain such functionality using other tools, like emacs shell or screen, but I am wondering why such a useful feature is missing, I do remember a simple C-F used to work in terminals.

Is there a way to make the Gnome terminal app support output search? or is there a better terminal app that support searching output natively?

View 5 Replies View Related

General :: Copy Previous Output From Bash Terminal To File?

Oct 26, 2010

I know how to redirect the output of a terminal to a file. For example, if I want to list all the files in ~/Documents and output to a file called test.txt, I would do this: ls ~/Documents > test.txt The question is, can I copy the output to test.txt AFTER I have carried out the command? This would mean that I wouldn't have to know in advance whether I want to copy the output to file. I want to do something like this: ls ~/Documents Then this: <bash command for copying standard output to test.txt>

View 2 Replies View Related

General :: Pipe Output To Pbcopy And Then Go Into A Web Browser And Paste It In A Terminal In OSX

May 25, 2011

In a terminal in OSX I can pipe output to pbcopy and then go into a web browser and paste it. I tried this in Linux with xcopy but when I switch to the browser it just overwrites the clipboard with with whatever was in it the last time the browser was used. What works like pbcopy in Linux?

View 1 Replies View Related

General :: Strange Output Form Terminal - Misunderstood Command

Jul 22, 2011

Tried to make a text file and write something in it (a link) quickly as possible, because I was in a rush. So did this:

[Code]...

Now, looking briefly at the output, can't get what's happened lol! I mean, it's html for crying out loud. Not 'scripting' n all. What do you guys reckon has happened?

View 12 Replies View Related

General :: Way To Stop Command Output To Continue Scrolling Down Terminal

Jan 4, 2011

I moved from a Linux environment from one company to another and one annoying difference came out:When I used to run an application in a terminal (no GUI), the transcript lines were presented one the window - when the window was full then the scrolling of the lines would continue only if one hit the space bar to proceed (of course waiting to user input did not stop the run).

In the new environment the behavior is different - transcript lines keep going on and on so I need to scroll up - and moreover each page-up command is cancelled by the new lines appearing.perhaps this is also reproduce with other Linux commands , say "find" or "ls".

View 4 Replies View Related

General :: Message In Terminal After Redirecting Output And Build Completes?

Oct 9, 2010

I'm not sure about the following behavior so thought I would put it out to see if there is an error I need to resolve, or simply a process that I need explained.I'm also not sure if this is an Ubuntu issue, a Linux issue, or other... but here goes.I ran my "make build" in two different ways; one with just "make build" and one with "make build > output" (so I could review the full script).With just "make build" the process finished and returned to the command prompt.

With "make build > output", after the process had finished (script in output document identical to what was in the terminal with "make build") a new set of data was displayed in the terminal (see below).With the other examples of using "make build > output" the times it would parse something back to the terminal window was when there was an error. As I fixed the errors these breaks back to the terminal window would stop. So I'm wondering if this indicates a new error, but because the "make build" now completes successfully (at least it appears to), I'm wondering if this data in the terminal window is just a behavior related to redirecting the output script using the ">" process and something to do with returning to the terminal once a process completes

View 4 Replies View Related

General :: Terminal Emulator For GNOME With Display Features Like Mac OS X Terminal?

Mar 5, 2011

Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).

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

General :: Launch A Terminal By Clicking On The Terminal Icon At The Top Of The Screen

Apr 22, 2010

I have a favorite REXX program called fv2. When I was a Windows user I had an icon for fv2 on the Quick Launch bar. Click that icon, and the program ran. Now, as a Linux (Ubuntu) user it is necessary to go through several steps to run fv2.

1) Launch a terminal by clicking on the terminal icon at the top of the screen. What's that area called? The GNOME panel?
2) Enter: ~/Desktop/RexxScripts
3) Enter: regina fv2

I run fv2 several times per day and would really like to have the convenience of a clickable icon.

View 3 Replies View Related

General :: Terminal Proxy Or Screen Without Terminal Emulation?

May 26, 2010

How can I make terminal applications immune to terminal emulator close, but still able to use all virtual terminal features?

egin{UPDATE}I want my terminal application remain alive and accessible if I accidentally close terminal emulator. This functionality is provided by screen and tmux, but they have issues with colors and they flush screen.Yes,I can run the shell inside screen, but I do not want the shell remain alive unless there is some other program running.

end{UPDATE}I see this must be something like screen, but without VT100 terminal emulation, something which will just apply whatever application does with "terminal proxy"'s terminal (like outputting something to stdout/stderr or using stty to set terminal options) to the terminal this proxy runs in.

// I know about screen and altscreen on, but it makes either this (screen with TERM=screen):

or this (screen with TERM=rxvt-unicode):

while I want this (rxvt-unicode without screen):

I have figured out that everything looks fine if I compile rxvt-unicode with USE=-xterm-color (in fact vim looks like on the second picture even without screen if I add this USE flag) and set TERM=screen-256color, but I do not like this workaround because it actually changes colors and I can't be sure that it will always change them only this way:

View 4 Replies View Related

General :: Run Programs From System Terminal Without Blocking Terminal?

Jun 19, 2010

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.

I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.

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

OpenSUSE :: Get The RAM Memory On System In Terminal When Have 3 GB With An Output?

Sep 12, 2011

How can i get the RAM Memory on system in terminal when i have 3 GB with an output like this:

3072
or
3145728

[code]....

View 8 Replies View Related

Ubuntu :: Capturing ALL Output From Terminal To File?

Apr 17, 2010

I would like to capture all output spewed to a terminal session including processes that are terminated that were invoked from a script running in a terminal window. this is beyond capturing just stderr and stdout . for example

{
./script
} 2> stderr.cap 1>stdout.cap

if script is terminated (including because of memory violations) I get spewed output to the terminal I would like to capture that spewing to a file automatically or to a bit bucket /dev/null Is there another filehandle which can be redirected to do this? If so how or is there another way???

View 3 Replies View Related

Ubuntu :: Get Mouse Position In Terminal Output?

Jun 19, 2010

I want to know how to get the current coordinates of the mouse outputted to terminal, for use in a bash script.

View 1 Replies View Related

Ubuntu :: Capture Output From Synaptic Terminal?

Dec 9, 2010

In synaptic package manager when I expand "Details" tab (at the time when some software is installed or removed), I can see a terminal. I want to capture the output of terminal into a file. I tried to highlight and right click. But there is no context menu(copy, cut)

View 4 Replies View Related

Ubuntu :: Slow Down Text Output In Terminal?

Feb 15, 2011

I'd like to write a script that invokes a gnome-terminal session which slowly reads out text like the phosphor screensaver (could be anything, a log file, ascii art, song lyrics, whatev) and then closes. I can invoke a terminal using [gnome-terminal -e 'cat /var/log/dmesg'] but the output flies pass by too quickly.any way to slow it down? I know it seems like an odd request but if anyone has a suggestion I'd love to hear it.

View 3 Replies View Related

Ubuntu :: Save All Terminal Output To A .txt File?

Mar 15, 2011

I sometimes stick my neck out and provide somewhat detailed, and often risky, "Mr-fix-it" remedies for boot problems. Now, I know it's possible to amend each command with "whatever_command > whatever.txt" in which case it'll place the command output in a file in /home.

But if you're directing someone to run a lot of commands as I did here is it possible to save the output of all commands to a .txt file without amending each command?

Or is it already saved somewhere that I'm not yet aware of? I wouldn't be surprised if the latter were true, I just haven't yet found it

View 4 Replies View Related







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