EnglishFrenchSpanish

OnWorks favicon

lastcomm - Online in the Cloud

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

This is the command lastcomm 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


lastcomm - print out information about previously executed commands.

SYNOPSIS


lastcomm
[ command-name ... ]
[ user-name ... ]
[ terminal-name ... ]
[ --strict-match ]
[ --forwards ]
[ -f filename | --file filename ] [ --ahz hz ]
[ --user name ] [ --command name ] [ --tty name ]
[
| --show_paging ] [ --debug ] [ -V | --version ] [ -h | --help ]

DESCRIPTION


lastcomm prints out information about previously executed commands. If no arguments are
specified, lastcomm will print info about all of the commands in acct (the record file).
If called with one or more of command-name, user-name, or terminal-name, only records
containing those items will be displayed. For example, to find out which users used
command `a.out' and which users were logged into `tty0', type:
lastcomm a.out tty0

This will print any entry for which `a.out' or `tty0' matches in any of the record's
fields (command, name, or terminal). If you want to find only items that match *all* of
the arguments on the command line, you must use the '-strict-match' option. For example,
to list all of the executions of command a.out by user root on terminal tty0, type:
lastcomm --strict-match --command a.out --user root --tty tty0

The order of the arguments is not important.

For each entry the following information is printed:
+ command name of the process
+ flags, as recorded by the system accounting routines:
S -- command executed by super-user
F -- command executed after a fork but without a following exec
C -- command run in PDP-11 compatibility mode (VAX only)
D -- command terminated with the generation of a core file
X -- command was terminated with the signal SIGTERM
+ the name of the user who ran the process
+ time the process started

OPTIONS


--strict-match
Print only entries that match *all* of the arguments on the command line.
--user name
List records for user with name. This is useful if you're trying to match a
username that happens to be the same as a command (e.g., ed ).
--command name
List records for command name.
--tty name
List records for tty name.
--forwards
Read file forwards instead of backwards. This avoids trying to seek on the file and
can be used to read from a pipe. This must be specified prior to any -f arguments.
-f filename, --file filename
Read from the file filename instead of acct. A filename of "-" will result in
reading from stdin. This must either be the first -f option, or --forwards must
precede all -f options.
--ahz hz
Use this flag to tell the program what AHZ should be (in hertz). This option is
useful if you are trying to view an acct file created on another machine which has
the same byte order and file format as your current machine, but has a different
value for AHZ.
-p, --show-paging
Print paging statistics
--debug
Print verbose internal information.
-V, --version
Print the version number of lastcomm.
-h, --help
Prints the usage string and default locations of system files to standard output
and exits.

Use lastcomm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad