General :: What Is The Windows Analog Of The Watch Command

Sep 21, 2010

I'm looking for a Windows program/script/command line function that works like Linux's watch program. watch periodically calls another program/whatever and shows the result, which is great for refreshing an output file or similar every second: watch cat my-output.txt or, more powerfully: watch grep "fail" my-output.txt I've looked for it in cygwin's library, but it doesn't seem to be present.

View 3 Replies


ADVERTISEMENT

Hardware :: Trying To Watch Analog TV Input?

Jun 20, 2010

Using an ATI Tv wonder HD 600 card, and i'm trying to use it to view an analog signal through the coax input. Normally, I'd tune the tv to channel 3 and be done with it. I'm not really sure how to proceed with it.

Code:
scan /usr/share/dvb/atsc/us-NTSC-center-frequencies-8VSB doesn't pull in the correct input, and i'm not sure that non-digital inputs are even supported.

View 3 Replies View Related

General :: Escape Characters In Watch Command

Oct 20, 2009

Need little advice running this command.
watch -d 'ps aux | awk '{print $4" "$11}' | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr | head'

I get this error message from AWK. awk: cmd. line:1:
{print awk: cmd. line:1: ^ unexpected newline or end of string

I have tried all the usual by trying to escape the single and double quotes in the command but same result. The end result should be the a listing of memory hungry processes that are scanned every 2 seconds (watch default value).

View 2 Replies View Related

General :: Bash Watch Command With Colors Preserved?

Mar 29, 2010

From man watch: Non-printing characters are stripped from program output. Use "cat -v" as part of the command pipeline if you want to see them. So how do I use cat -v if I want to see the colored output from:watch ls -al --color

View 3 Replies View Related

General :: Store The Output Of Date And Watch Command To A File

Jun 15, 2011

I am trying to watch a command and try to log it into a file. I tried

watch -t -n 10 "(date '+TIME:%H:%M:%S'
; ps aux | grep "pattern" | wc -l)" >>
logfile

and am expecting a result like

TIME: 10:32:30 12
TIME: 10:32:40 18
TIME: 10:32:50 2

to be stored in logfile. However, when the logfile has unprintable characters in in. How do I get this kind of output from the command li

View 4 Replies View Related

General :: 'watch' A Command Including Both Of Single And Double Quote?

Aug 12, 2010

I want to watch a number of processes in "D" status repeatedly with following command:Code:# watch -n 1 'top -b -n 1 | awk '{if ($8 == "D") {print; count++} } END {print count}''but it didn't work. I also tried with double quote. Can I use 'watch' command is this case?PS: I know 'while' and 'sleep' can do the same but it is dirty workaround.

View 2 Replies View Related

Ubuntu Multimedia :: Automatically Switch Between "Analog Headphones" And "Analog Output"

Mar 22, 2010

every time I want to listen music from my headphones I have to do like:

1. Main menu >> System >> Preferences >> Sound >>> Output >>>> Connector >>>>> Analog Headphones

and vice versa.

I have no experience in bash scripting and I have no idea how to find automatic solution to my problem.

The problem in pseudo-code:

Begin
if
headset plugged in front jack
then Connector := Analog Headphones
else
Connector := Analog Output
End

View 9 Replies View Related

Fedora Hardware :: Not Able To Watch TV As In Windows?

Jul 5, 2010

how to watch Tv as i had tried all the options

i hav tried

lspci -v

03:01.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01) Subsystem: Philips Semiconductors Device 0000

i hav TV TIME software

View 14 Replies View Related

Fedora Hardware :: Only Use Windows To Watch TV On Tuner

Mar 9, 2010

I only use windows to watch TV on my tuner. If i can find one for Linux i would never use WINBLOWS again. I have a ViXS Pure TV-U 48B0 (NTSC/ATSC Combo) Any scripts they i can run to use this tuner. What a good TV Tuner or a list of TV tuner that work with linux. I love how alot of companys dont support us linux users huh.

View 9 Replies View Related

Ubuntu :: Downloaded On Windows And Watch Them On The Partition?

Aug 1, 2010

I've always wanted to give Linux a go, so I decided to try out Ubuntu, but before I can I need to ask some questions. 1. When doing partitions to run something like Windows 7 and Ubuntu ((I'm going to be using Ubuntu when I'm not playing games.)) can I choose to only give it afew gigs of hard drive space, well, probably like 20-50?

2. Is there a way to take music/videos I've downloaded on Windows and watch them on the Ubuntu Partition? If so, how?

3. Using Wubi is the 'Installation size' option how much space you're giving to the Ubuntu partition or will I need to download/burn the .iso file to a cd/dvd to do that?

View 2 Replies View Related

Ubuntu :: Firefox 4 - Watch Videos - Windows Theme

Mar 30, 2011

Downloaded FF4. For my purposes it doesn't seem that much different from FF3. I was able to watch videos on a news website that I hadn't been able to with FF3! On FF3, with the windows theme I have, there is a nice blue tint on the top of the tab, but not on FF4.

View 9 Replies View Related

General :: Do Simultaneous Playback On Digital And Analog Output In Ubuntu?

Jul 19, 2010

I've setup an HTPC with xbmc, and I'd like to output the audio from the system to both my digital and analog outputs on my mother board. How do I do it? Can their be a script that duplicates the output of one to the other? Here's what aplay -l said:

[Code]....

View 1 Replies View Related

General :: MCP61 Audio - KDE4 Only Recognized The Output Device As ALC1200 Analog

Dec 26, 2010

I finally decided to transition to a 64-bit install (AMD64). (same machine, just reinstalling as a 64-bit kernel starting w/ a Debian squeeze netinstall image) My audio chipset is nvidia MCP61, and it was working perfectly under a 32-bit kernel (I did the transition because a poorly-written system backup script (my fault) hosed /usr, /bin, and /sbin) When everything was up and running:

*: KDE4 only recognized the output device as ALC1200 Analog
*: kmix only had a single channel(master)
*: alsamixergui did recognize all the channels
*: some games (sauerbraten, for example) had no sound in KDE4.
*: some games (warzone2100, for example) did have sound in KDE4.
*: the games that had no sound in KDE4 did have sound in fluxbox.

I removed the following packages (some of which I had installed to try to get audio working properly):

[Code]....

View 2 Replies View Related

Ubuntu :: Install Windows Xp On Computer In Virtual Machine - Watch Netflix On Computer

Jun 30, 2010

so here's my problem. I am trying to install windows xp on my computer in virtual machine so i can watch netflix on my computer. The disk will not start up, if I restart and try to boot from load i just sits there and says boot from cd. The disk drive plays music cd's fine, so i dont really know what the issue is.

I dont know that much aboutut ubuntu. a tech friend put it on hard drive he gave me after mine crashed. also i should ad that i took the disk to someone else's house that haswidnows installed and the disk worked just fine, so its not a disk problem

View 8 Replies View Related

General :: Use The DVI Port Of Viewsonic VA1912wb Monitor - Get "Analog - No Signal"

Jan 14, 2011

Trying to use the DVI port of Viewsonic VA1912wb Monitor; get "Analog - No Signal"

View 1 Replies View Related

General :: SSH Into A Windows PC And Run A Command From PHP Script?

Jul 28, 2009

I am trying to SSH into a windows PC and run a command from a PHP script Here is a typical command I am trying to execute, I also need to run a batch file on the windows box.

Code:

ssh user@192.168.10.131 cmd /c dir

The above works fine when typed into a terminal window on the Linux server but when I put that in my PHP script it refuses to work The following is a fragment of code from my PHP script

Code:

$command = 'ssh user@192.168.10.131 "cmd /c dir"';
$return = shell_exec("$command");
Server = Linux (SME) with PHP5
Client = WinXP Pro

View 6 Replies View Related

General :: Copy A File From Windows With Scp Command?

Aug 18, 2010

I would like copy a backup file from image vmware linux to windows but i don't know how to process it ?i tried :scp /source/backup.tar.gz admin@x.x.x.x:/c:ProgrammefilesC:Documentsand SettingsAdminMyDocumentsbut error and i know that it's not like that, so if you have solutions

View 2 Replies View Related

General :: What Is The Equivalent File Command For Windows

Apr 18, 2011

Running the command: file run.sh Gives me: run.sh: Bourne shell script text executable in Linux. Is there an equivalent command in Windows?

View 4 Replies View Related

General :: Run A Remote Command On A Windows XP Machine?

Jun 24, 2011

I'm using Ubuntu 11.04. I have a Windows XP box in which I've installed SFU 3.5 and Interix (Subsystem for Unix-based Applications). I want to run a batch script on the Windows machine from my Linux box, whether on-demand or in a cron. How do I do this from the Linux side?

View 4 Replies View Related

General :: Command Prompt Ftp To Ftp Server Running On Windows?

Dec 27, 2010

I am using on Windows Vista, Filezilla server. I have it set up to be accessed via outside IPs and when I use a client on the IP I have it connects normally using Filezilla client. On the same machine I have Ubuntu running in a virtual box and when using filezilla client in there it works fine. Now I want to try the command prompt. So I do the ftp xxx.xxx.xx.xxI enter the name and password and i get the ftp command prompt, but the commands are not working properly. when trying "ls" or "cd" these commands do not work. "cd" tells me that the current directory is "/" root, but this does not make sense in the windows operating system. Now the filezilla client is taking the user in the application window directly to the root folder of the permitted filespace granted to that user. How can the same be done from the command prompt, if there is a way? It is as if the command prompt takes me to the root which does not exist or even have correct permissions to move in. Is there any way to be taken to the correct directory directly, or move there especially when the slashes are the wrong way around etc?

View 1 Replies View Related

General :: Incremental Copy Command Similar To Windows?

Jul 28, 2011

Any please help me for incremental copy command similar to windows.commad for copying in windows is c: source xcopy *.* destination /s/c/d/q/yany similar command is there in linux as I m new in Linux

View 4 Replies View Related

General :: Put Windows Xp In The GRUB Boot Command For Mint?

Apr 3, 2010

I have Microsoft Windows Xp installed on my Primary Drive C: and I had a Mint boot disc that I would pop in and load from. Well I got tired of this disc and installed a new hard drive in my computer so I could use Mint as a secondary OS. Everything went good in the install, and I put Mint on the second drive. But when I boot my computer the GRUB menu only shows Linux Helena Mint 8 to load from and no Xp. Xp is still currently installed on the computer in the Primary drive, but how do I inlcude it in the GRUB boot menu or boot it at all?

View 2 Replies View Related

General :: Can't Watch Mp4 File / Get It To Work?

Jan 29, 2011

I have install fedora 14. since i am beginner to linux environment .
i cannot open a mp4 file through Movie player . it show a error . with a dialog box " Movie player require additional plugin to decode this file,
the following plugin require: MPEG-4 AAC decoder,H.264 decoder". although after click on search button i won't get the solution...

View 1 Replies View Related

General :: Can't Watch Movies On Firefox On Red Hat 5.5

Mar 14, 2011

I allready installed adobe flash player but still can't watch movies on firefox on red hat 5.5,

View 3 Replies View Related

General :: SSH Client And Command Prompt Replacements Windows Look-and-feel?

Jun 9, 2010

I've worked exclusively in Windows. I can handle that.I've worked exclusively in DOS (a long time ago!). I can handle that.I've worked exclusively in Unix.I can handle that.Right now, I am developing a command-line (python) application on a Windows machine, testing it in a DOS box (i.e. Windows' Command prompt), and then deploying it to Linux, and running it with PuTTY.

I cannot handle that. My productivity drops dramatically when CTRL-C cuts in one window (Windows) and kills the process in another (DOS, Linux).My productivity drops dramatically when Enter copies the selection in one window (DOS), and deletes the selection in another (Windows), and runs the current half-edited command in the third (PuTTY).My productivity drops dramatically when I cannot hit Undo, Home or End.The Solution I am Seeking

An SSH/Bash command-line client that runs on Windows and, to the extent possible, uses all the standard Windows shortcuts (Cut, Copy, Paste, Undo, Home, End, Insert, Shift-Arrows, etc.) work on a bash command line. Bonus points if it puts the cursor between letters, rather than on them.Plus, an equivalent DOS command-line drop-in that runs on Windows, and provides the same interface.need to be special buttons to actually transfer CTRL codes (like CTRL-C) through in the cases I need them.I suspect the SSH client will need to be specific to a shell (so it knows when it is at the command prompt, and when it is inside a running app.)I know there are many SSH clients, but I am looking for advice for a particular need.PuTTY feels like an escape route for Unix programmers stuck on Windows. I am the opposite.Can anyone recommend one (or maybe a combination of an SSH client and an Command-Line replacement)?

Update: After seeing the early answers here, I turned my requirements into a blog article, which may give more background in the direction I am looking.

View 4 Replies View Related

General :: Navigate To Previous Directory In Windows Command Prompt

Mar 24, 2011

Possible Duplicate: Navigate to previous directory in windows command prompt

Is there an equivalent of Linux's cd - (change to previous directory) in Windows?

View 3 Replies View Related

General :: Downloading On Xandros Using Eee Pc - Can't Watch A Lot Of Videos

Feb 11, 2010

how to download anything on my eee pc. I can't watch a lot of videos because i have the old flash player.

View 2 Replies View Related

General :: Watch Dog Script To Monitor Remote Pc?

May 26, 2011

i need a watch dog script on my Linux machine to monitor a PC with windows operating system every 5 minute, and to wake it up if that PC is off.

View 1 Replies View Related

General :: Windows Command Prompt Auto-completion With Forward Slashes?

Jul 26, 2011

I switch between Linux and Windows quite a lot and it's annoying the hell out of me that the Windows command prompt won't auto-complete directory paths when I press Tab if I use forward slashes like in Linux.For example, if I'm trying to navigate to a directory 'bin':

cd /path/to/dir/b <tab> - this won't auto-complete to 'bin'
cd path odir <tab> - this will auto-complete.

Can I tell the Command Prompt to use forward slashes instead?

View 1 Replies View Related

General :: Watch Flash Video But Block Out Part Of It?

Jun 7, 2010

I'm learning a foreign language. There are several online sites that have Flash video in the language I'm learning (e.g., Hulu), which is great. Unfortunately, they have English subtitles, which is (depending on who you ask) somewhere between "annoying" and "actively harmful to my learning".When I'm watching them in a window, I can just move them near the bottom of the screen, or put another window over them. That's awkward, but it kind of works.But I'd like to watch them full-screen, on my TV set. Full-screen Flash doesn't let me put any window on top of it.Is there a way to watch an online Flash video but block out part of it?

View 3 Replies View Related







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