Ubuntu :: View Script Output Using SSH?
Dec 13, 2010
I have a python script, called test.py, that does the following:
Quote:
while (1):
....print "hello world"
(this script simply prints 'hello world' continuously).Now, I am using two machines (machine A and machine B). Same user is used for both machines. I would like to do the following:
(1) [working with machine A] run test.py programatically on machine A { meaning, a local python script will be running test.py using say os.system(....) } ( at this point, the script test.py is printing "hello world" to the screen of machine A )
(2) [working with machine B] I now want to log in into machine A using ssh and 'view' the output of the script that we ran in (1)
How do I achieve this? I know how to write the script that will be running and starting test.py on machine A. I also know how to ssh from machine B to machine A.
What I don't know is:
(*) What command should I use in (1) in order to run the python script so that its output can be easily viewed while logging from a different machine (machine B) to machine A?
(*) Following the ssh from machine B to machine A, how do I 'navigate' to the screen that shows the output of test.py?
View 1 Replies
ADVERTISEMENT
Feb 14, 2010
My server is currently copying a large amount of date. I periodically check how much has already been copied by using the "ls" command in the destination folder. Is there a way so that ls kind of self updates itself? Like in a log or so? Or like when using cp -v?
View 9 Replies
View Related
May 30, 2011
I have been working in macromedia dreamviewer for editing html and php files, Just now I moved to linux system by installing xampp , my question is that I need a best html and php editor that supports both the design view and code view as like in dreamviewer.
View 7 Replies
View Related
Apr 29, 2010
I cant seem to get the sound working and when I click on perference then sounds and go to the output selection it has only dummy output as a option.
View 3 Replies
View Related
Mar 7, 2010
I installed KMplayer but I cant play video files...No video output but can get only the audio output...So how to make this work for videos?
View 2 Replies
View Related
Jan 25, 2011
Running 10.10 and win 7 on my HP dv6-2150us laptop and I'm having a few issues.
First how do I get HDMI audio output to my TV? I think I have just a integrated Intel graphics card. It works fine in windows but I can't seem to get it to work in Ubuntu. I tried searching but couldn't find anything pertaining to this issue.
View 3 Replies
View Related
Jan 6, 2011
I am sure that this is very simple but I have installed sound juicer and the gstreamer plug ins. The problem is i still cannot select MP3 as an output output option
View 3 Replies
View Related
Jul 19, 2011
I don't know anything about ubuntu. Could you guys help me out. I'm pretty knowledgeable with windows if you guys need a printout of something let me know. My friends getting really frustrated about this. Help!!i
So here's the situation. He plugs his audio jack into his computer and then into the speakers but it still plays from the computer speakers.
View 7 Replies
View Related
Mar 27, 2010
I finally got audio working on my ubuntu 9.10 desktop... now I am having sound issues watching movies from a network share.The sound device continually randomly changes to "dummy output device" and then there is no sound output. The sound icon dissapears on the toolbar. To get it back and audio to start working I have to $sudo alsa force-reloadIt seems to happen everytime there is a network delay, the movie will stop for a second and then when it plays the sound is gone
View 1 Replies
View Related
Mar 4, 2011
Is possible to have two identical sound card outputs? For example, is I want to use two headphones at the same time.
View 6 Replies
View Related
Jan 22, 2011
I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.
ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?
View 6 Replies
View Related
Feb 17, 2010
I cant able to view my log file..How to view the file?
View 7 Replies
View Related
Apr 7, 2010
I downloaded a documentary to watch and it is in the .mkv format.this is cool because the format contains different languages and subtitles and everything, but the problem I have is some parts are in a foreign language. the subs are in the file but how do I get to them? I thought, no problem I'll just burn it to a dvd and watch it on my dvd player but can't find any way to encode this file to burn on a dvd. it's supposed to have the menus and languages and subs and everything but I can't find a program that will use it in Linux or Windows. what gives? if this is the case it really is a more than useless format, it's a waste of time to create using this format and a waste of time trying to use on the other end. I found a program that will extract the video but doesn't address getting the right language track or the subtitles.
View 4 Replies
View Related
Apr 23, 2010
I have just started to learn abit about websites so I thought I would learn from internet, I have followed w3schools.com I have done what they said infact I copied and pasted in to ooo saved as index.html my problem is how do i view it, I opened firefox opened index file but allit shows is what I pasted not showing up as web page any help pointing me in right direction.
View 9 Replies
View Related
Nov 15, 2010
how i can view pdf files
View 1 Replies
View Related
Dec 8, 2010
I backed up about 19GB of my Web Server today compressed into a .tar.gz. I then split these files into 4300MB chunks (approx 4.2GB). I then used k3b to write 2 parts of the archive these to a Dual Layer DVD. The burn went fine but I cannot seem to mount said DVD. I tried the following;
Code:
matt@matt-u:/media$ sudo mount -t udf /dev/sr0 /media/cd
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
[Code]....
View 2 Replies
View Related
Jul 24, 2011
How to view CAJ files in Ubuntu 11.04?? A CAJ file is a CAJViewer Full-text Database file.
View 1 Replies
View Related
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
Jan 18, 2010
I am using Ubuntu 9.10, but I can't view the video from CNBC or Bloomberg. I wonder if I need to install Adobe Flash in order for it to work. If not, which software should I install?
View 6 Replies
View Related
Mar 30, 2010
I have setup sharing on my macbook and my desktop pc. The sharing folder has all my music on my mac in it. It comes up on my desktop (ubuntu) as 'my name's public folder on my names's macbook' and i can go into it as get as far as the music folder but when i try to access it i get the folder contents can not be displayed you do not have permission to access this folder. How can i access it?
View 3 Replies
View Related
Apr 7, 2010
Running 9.04 and Firefox 3.0.18 I cannot view a catalogue with Firefox, it just keeps displaying "waiting for users.flipbook..." It must be some shockwave problem with Ubuntu and Firefox, as other people are able to view the catalogue/file , and I assume they are running Windooze. The problem is when I go to the Thrifty Link Catalogue and take the YES option.
View 3 Replies
View Related
Apr 15, 2010
Hey I've got firefox and google chrome installed. I was using firefox for school and had to watch a photographed tour for history. The photos would not show up at all but in chrome they came up fine. There was a video b4 the photos came up so idk if firefox coudnt view the photos or the video but I've got all the plugins
View 2 Replies
View Related
Apr 30, 2010
EDIT:SOlved, I'm trying to figure out how to delete this
View 1 Replies
View Related
May 7, 2010
how can I view JPG EXIF metadata in any of the following programs?
- GIMP;
- F-Spot;
- Eye of Gnome.
View 7 Replies
View Related
Jul 3, 2010
Is there anyway to view the Boot Log of the messages displayed during the booting of Ubuntu? I found log file viewer under Administration but there were so many logs I did not know if any of them were the Boot up logs. I have my Ubuntu configured to display the messages as it boots before it switches to GUI mode and I see an error message about something failing to initialise but it goes by too fast to read the entire error message. I have Ubuntu 9.04 64-bit
View 2 Replies
View Related
Aug 7, 2010
I just downloaded libgtk2.0-doc at the gtkmm docs to help me with some programming. I've found where the libgtk2.0 documents are (/usr/share/gtk-doc/html) and I'm not for sure where the gtkmm docs are.
My question is: what is an easy way to view all of these HTML files? I know on Ruby you can run gem-server and you can see all of your RDocs from localhost on your browser. Is there an equivalent to that on Ubuntu for gtk-doc?
View 4 Replies
View Related
Sep 18, 2010
I reload the indexpage of the General Help forum, the screen view is not the same as what it was. When I read the indexpage the first thread is listed at the top of the screen, I scroll down to have that.After reloading I see the top of the page on top of the screen and I have to scroll down again.This used to be different. It used to be after reloading the page I would get the same view.See attached pictures to see what I mean. The first one is the view I like to see, the second is what I get after reloading the page.Is this something which is caused by software in my computer, or is this dne on the website side?
I use Mint 9, related to Lucid 10.04 in 64 bits version and Google Chrome as webbrowser. To reload pages automatically I use the plug-in Autoreload and have it set at 10 seconds.I just saw in Firefox it works good, so it must be Chrome.I also placed this thread in the "Forum Feedback and Help" forum but since that is a less popular forum I want to place it here.
View 2 Replies
View Related
Sep 26, 2010
I just need to view the documents, editing is no required. A OneNote (*.one) to *.pdf converter will do just fine, but I couldn't find one. Why do I need to open MS OneNote files? A friend is taking notes in class with a touchscreen laptop (Windows 7, MS Office 2007) and I can't really complain about his choice of software when he's being nice and sharing his notes.
View 3 Replies
View Related
Oct 12, 2010
i'm likeing the new ubuntu sofar, but one thing that is verry annoying is that when I'am looking at my folders with foto's. is there an option so i can view the photo's like on a windows pc(like on this pic)and something else; what is the best photoshop alternative? or can i run photoshop on my pc?
View 3 Replies
View Related
Jan 18, 2011
I have some PDF documents that are in a winrar archive (im in the process of going being fully linux and not windows dependant at all!) but i cant figure out how to view the files in linux!i installed the unrar package which lets me opent he folder.i also installed adobe reader package....
but when i open the folder i go to double click to open the document and it just says "choose a application to open with" but theres no applications in the list! so is this something that is not possible in ubuntu? i tried draggin the RARed folder to desktop so it would unrar - but it only copies the folder - not the actual pdf files inside the folder!! so is this where my excitement for ubuntu ends? will i go back to windows?
View 2 Replies
View Related