Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-14-2004, 10:23 PM   #1
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Rep: Reputation: 30
trouble with watch-SOLVED

Having a little trouble using watch with a command with a flag

If i do
watch who

it works fine

But i want to watch 'who -q' (just the names)

And I cant figure out how to get that to work correctly...
As far as i can tell
watch `who -q` should work

But it flashes who -q, and then it does this over and over
h: line 1: robert: command not found
(robert is the first username)

any ideas?

EDIT: i should have RTFM first!
i was doing the quote incorrectly, i should have done:
watch 'who -q'

Last edited by Tyir; 03-14-2004 at 10:46 PM.
Old 03-15-2004, 01:52 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Try ' instead of `



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Watch vs BSD Watch blueCow *BSD 4 08-16-2009 06:35 PM
Server under watch ? coolamit78 Linux - Security 2 11-17-2005 02:59 PM
Can I use xine to watch tv? bruno buys Linux - Software 1 04-26-2004 07:09 AM
I want 2 watch MyMoviez !! Y2J Linux - Software 16 11-01-2003 12:30 PM
Watch me learn! Ungabi ! Linux - General 1 11-16-2001 05:59 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration