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
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 2
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 3
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 4
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 5
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 6
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • More »

Linux commands

Ad