EnglishFrenchSpanish

OnWorks favicon

news - Online in the Cloud

Run news in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command news that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


news - display system news

SYNOPSIS


news [-adDeflnpvxs] [[article1] [article2] ..]

DESCRIPTION


The news command keeps you informed of news concerning the system. Each news item is
contained in a separate file in the /var/lib/sysnews directory. Anyone having write
permission to this directory can create a news file.

If you run the news command without any flags, it displays every unread file in the
/var/lib/sysnews directory.

Each file is preceded by an appropriate header. To avoid reporting old news, the news
command stores a currency time. The news command considers your currency time to be the
date the $HOME/.news_time file was last modified. 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 unread.

OPTIONS


-a, --all
Display all news, also the already read news.

-d, --datestamp
Add a date stamp to each article name printed. this can only be used with the -nl
flags.

-D, --datefmt <fmt>
Specify a date format, see the strftime(3) man page for more details. the default
format is (%b %d %Y)

-f, --newsdir <dir>
Read news from an alternate newsdir.

-l, --oneperline
One article name per line.

-n, --names
Only show the names of news articles.

-p, --page
Pipe articles through $PAGER or more(1) if the $PAGER environment variable is not
set.

-s, --articles
Reports the number of news articles.

MAINTAINER OPTIONS


-e, --expire #
Expire news older than # days.

-x, --exclude a,b,c
A comma separated list of articles which may not be expired. if a file named
.noexpire exists in the /var/lib/sysnews direcory, filenames are read from it also.
names in this file may be comma separated, and/or one per line.

Use news online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad