Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

news(1) [plan9 man page]

NEWS(1) 						      General Commands Manual							   NEWS(1)

NAME
news - print news items SYNOPSIS
news [ -a ] [ -n ] [ item ... ] DESCRIPTION
When invoked without options, this simple local news service prints files that have appeared in /lib/news since last reading, most recent first, with each preceded by an appropriate header. The time of reading is recorded. The options are -a Print all items, regardless of currency. The recorded time is not changed. -n Report the names of the current items without printing their contents, and without changing the recorded time. Other arguments select particular news items. To post a news item, create a file in /lib/news. You may arrange to receive news automatically by registering your mail address in /sys/lib/subscribers. A daemon mails recent news to all addresses on the list. FILES
/lib/news/* articles $HOME/lib/newstime modify time is time news was last read /sys/lib/subscribers who gets news mailed to them SOURCE
/sys/src/cmd/news.c NEWS(1)

Check Out this Related Man Page

news(1) 						      General Commands Manual							   news(1)

NAME
news - Writes system news items to standard output SYNOPSIS
news [-a|-n|-s] | [item...] The news command keeps you informed of news concerning the system. OPTIONS
Displays all news items, regardless of the currency time. The currency time does not change. Reports the names of current news items without displaying their contents. The currency time does not change. Reports the number of current news items without displaying their names or contents. The currency time does not change. DESCRIPTION
Each news item is contained in a separate file in the /usr/news directory. Anyone having read/write permission to this directory can cre- ate a news file. If you run the news command without any options, it displays the current files in /usr/news, beginning with the most recent. You can also specify the items you want displayed. Each file is preceded by an appropriate header. To avoid reporting old news, news stores a currency time. The news command considers your currency time to be the modification time of the file named $HOME/.news_time. Each time you read the news, the modification time of this file changes to that of the reading. Only news item files posted after this time are considered current. Pressing the Interrupt key sequence during the display of a news item stops the display of that item and starts the next. Pressing the Interrupt key sequence again ends news. Most users run news each time they log in by including the following line in their $HOME/.profile file or in the system's /etc/profile: news -n EXAMPLES
To display the items that were posted since you last read the news, enter: news To display all the news items, enter: news -a | pg This displays all the news items a page at a time, regardless of whether you have read them yet. To list the names of the news items that you have not read yet, enter: news -n Each name is a file in the /usr/news directory. To display specific news items, enter: news newusers services This displays news about newusers and services, which are names listed by news -n. To display the number of news items that you have not read yet, enter: news -s To post news for everyone to read, enter: cp schedule /usr/news This copies the file schedule into the system news directory ( /usr/news) to create the file /usr/news/schedule. To do this, you must have write permission for /usr/news. FILES
System profile. News files. Indicates the last time news was read. SEE ALSO
Commands: pg(1) news(1)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

finger and newsgroups

Hi, I've been using unix at college for a few weeks now and I have come up against a few stumbling blocks: - Most unix commands seem to work w/ regexps - the computers I and my group are allowed to logon to are all itsunXX where XX is a number. if I can {finger @itsun88} to find out that I and... (1 Reply)
Discussion started by: the_man_who
1 Replies

2. UNIX Desktop Questions & Answers

NewsGroup Reader . . . Need Advice

I recently installed Suse 8.0 and am in need of a dependable news group reader. I need something that will authenticate just like Outlook Express does, because I will connecting to an Exchange News Host. Does anyone have any suggestions as to what I should donwload for a Microsoft compatible news... (2 Replies)
Discussion started by: pc9456
2 Replies

3. UNIX for Dummies Questions & Answers

Latest News on Unix

Pls suggest some web sites where I can get the latest news/releases on unix. (4 Replies)
Discussion started by: Deepa
4 Replies

4. Shell Programming and Scripting

PHP: News publishing

can someone tell me of a good php / mysql news publishing script?? it needs to have catagories (1 Reply)
Discussion started by: perleo
1 Replies

5. UNIX for Dummies Questions & Answers

Unix based news servers +dialup numbers

Is there a website that lists telephone numbers for dialup connection to unix based servers? There used to be such a site but can't find it now. What I need is numbers, which my ISP supports, that I can use to access a news server, unix-based. (1 Reply)
Discussion started by: robfo
1 Replies

6. News, Links, Events and Announcements

newst sun mashine

newest mashine http://www.sun.com/servers/highend/sunfire_e25k/index.xml newest solaris http://www.aceshardware.com/read_news.jsp?id=75000449 the first good news from sun for 1 year... sounds great..... greetings Preßy (2 Replies)
Discussion started by: pressy
2 Replies

7. UNIX for Advanced & Expert Users

newsyslog.conf

How can I setup the log rotation every 6 hour? $D0<= in this place. I try many variants but without success. (1 Reply)
Discussion started by: mirusnet
1 Replies

8. UNIX for Dummies Questions & Answers

Can I delete the file var/spool/mail/news?

The file var/spool/mail/news has grown very large and takes up too much space. Can I delete this without any problem? (3 Replies)
Discussion started by: dennisheazle
3 Replies

9. UNIX for Advanced & Expert Users

sed to extract HTML content

Hiya, I am trying to extract a news article from a web page. The sed I have written brings back a lot of Javascript code and sometimes advertisments too. Can anyone please help with this one ??? I need to fix this sed so it picks up the article ONLY (don't worry about the title or date .. i got... (2 Replies)
Discussion started by: stargazerr
2 Replies

10. Solaris

good news for Oracle x86_x64 users

Hi all, This is a good news for Oracle on Solaris users Oracle Database 11g Release 2 now available for both SPARC and x86_64 users here (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

11. What is on Your Mind?

CNET News Reader App for the Forums

We are thinking of building a CNET style reader app for reading threads in the forums. One developer suggested we look at a CNN vBulletin app, which I am not familiar with (he said he will post the link tomorrow, Monday). Anyway, I asked the (potential) developer for this app to work with us in... (1 Reply)
Discussion started by: Neo
1 Replies

12. Red Hat

Two news user accounts in RHEL!

I have a server Red Hat Enterprise Linux ES release 4 (Nahant Update 4) on which I have two news accounts!! news:x:9:13:news:/etc/news: news:x:9:13:news:/var/spool/news: I don't know who added this extra account but it exists; none of this directories actually exist because rpm's are not... (5 Replies)
Discussion started by: parth_buch
5 Replies