stty -f dev://ccpty0 scrollback
[system] Welcome, alice.

[system] sek 0.1.0

New here?  cat HELLO_WORLD for a tour of the system.

[system] sek 0.1.0
device: ccpty0
user: alice
shell: /bin/sh

[assistant] cat HELLO_WORLD

[user] sek is a small UNIX-like shell environment.

What you type is run as a command.

[assistant] whoami

[user] alice

[assistant] pwd

[user] /home/alice

[user] 

[user] alice@sek:~$ 
[assistant]  pwd
/home/alice

aliice@sek:~/$ ls
another_file.txt




aliice@sek:~/$ man ls

name - name
synopsis - synopsis
description - description
examples - examples
exits - exits
author - author
date - date
history - history
bug report - bug report
see also - see also





alias g="git"
























man pwd
NAME
pwd - Print name of current/working directory.
SYNOPSIS
pwd [-LP] [dir]
DESCRIPTION
The pwd utility prints the name of the current working directory.
If no argument is given, pwd will print the absolute pathname of the current working directory. If an argument is given then that will be printed.
If -L is specified, pwd resolves any symbolic links in the current directory hierarchy and uses the resolved names when printing the name of the current working directory. The default behavior is to use the unresolved names for symbolic links when printing the name of the current working directory.  This behaviour is controlled by the POSIXLY_CORRECT environment variable, if set.
If -P is specified, pwd will resolve any symbolic links in the current directory hierarchy and uses the resolved names when printing the name of the current working directory. The default behavior is to use the unresolved names for symbolic links when printing the name of the current working directory.  This behaviour is controlled by the POSIXLY_CORRECT environment variable, if set.
If dir is a non-option argument and specifies an absolute pathname, pwd will print that argument instead of the absolute pathname of the current working directory. If dir is a non-option argument and does not specify an absolute pathname, it is interpreted as relative to the current working directory. If dir is an option argument, it is ignored.
EXAMPLES
The following command sequence shows how pwd works:
$ cd /usr/bin
$ ls -l
total 12K
-rwxr-xr-x  1 root root    175Oct 23 20:46 awk*
$ pwd
/usr/bin
$ pwd -P
/usr/bin
$ pwd -L
/usr/bin
$ pwd /usr
/usr
EXITS
The pwd utility returns the following exit values:
0 Successful completion.
1 An error occurred.
AUTHOR
Written by Brian K. Bondy <bkb@sei.cmu.edu>.
History
The first version of this manual page was written by David Fetter
for FreeBSD 2.3-RELEASE, and placed in the public domain.
This manpage has been updated for POSIX.1 compliance by Michael K.
McLay <mclay@canada.com>. The version presented here is based on that
version of this manual page.
History
The first version of this manual page was written by David Fetter
for FreeBSD 2.3-RELEASE, and placed in the public domain.
This manpage has been updated for POSIX.1 compliance by Michael K.
McLay <mclay@canada.com>. The version presented here is based on that
version of this manual page.































[user] > 
[assistant]  man ls

NAME
ls - list directory contents
SYNOPSIST
ls [OPTION]... [FILE]...
DESCRIPTION
List information about the FILES (the current directory by default).  Sort entries alphabetically if none of -cftuvSUX nor --sort is given.   Mandatory arguments to long options are mandatory for short options too.
-a, --all
do not ignore entries starting with . (dot)
-A, --almost-all
do not list implied /. and ..
--author  sort by author name(s)
-b, --escape
print backslashes using an actual backslash
-B, --ignore-backups
do not list implied entries ending with ~
-c
sort by date and time of last modification (most recent first)
-C, --color=WHEN
colorize the output using ANSI colors.  When set to always, the colorization will be forced even when NOT connected to a TTY that supports it; use value auto instead for the default behavior.  Possible values are:
always, as above.
never, never colorize (even when connected to a TTY that supports colorization); this is the default when ls is run without any command line arguments
When unspecified or set to auto, only colorize when running interactively on a terminal.  This is the default.
-d, --directory
list directories themselves, not their contents.
--dereference=WHEN
dereference all symbolic links by default; otherwise, dereference only when the option applies to a symbolic link itself (which may be indicated in the output).  If WHEN is /all/, dereference unconditionally.  If WHEN is /ignore/, dereference only if it applies to a symbolic link itself.
-F, --classify
preface names with characteristic slash (/), asterisk (*), or at sign (@) to indicate directories, executables, and symbolic links, respectively.  This is the default when ls is run without any command line arguments.
--full-time
print a full timestamp, not just the year (the default)
-h, --human-readable
with -l, print sizes in human readable format (e.g., 1K, 234K, 2.7M or 3.6G)
--help display this help and exit
-i, --inode=WHEN
output the inode number of each entry; if WHEN is specified, only the inodes matching it will be printed.  When unspecified, all inodes are printed for every entry.
-I, --no-ignore
do not ignore entries starting with . (dot)
-k
--kilobyte-order=WHEN
set the preferred order of sizes to bytes, then kilo-, mega-, giga-, and tera-.  When unspecified or set to natural, the default order is bytes, then kilo-, mega-, giga-, ter-, and peta-.    See also --sort.
-l, --long
use a long listing format
-n, --numeric-uid-gid
display user and group numerical UID and GIDs instead of names (this may be overridden by LS_OPTIONS)
--owner=WHEN
only list entries for which the effective owner is WHEN; if WHEN is set to root, root entries are listed; if empty, all entries are listed.  When unspecified, all entry owners are listed.
-p, --indicator-style=WHEN
output a slash (/) instead of a backslash (\) when an item is a directory (this may be overridden by LS_OPTIONS)
--preserve-root
do not list implied /. and ..
--quote-names
quote names containing glob characters in their output, unless they are on the command line
-q, --hide-control-chars
do not display control characters, except ASCII TAB (0x09), ASCII LF (0x0A), and ASCII CR (0x0D) as ^I, ^J, and ^M respectively (this may be overridden by LS_OPTIONS)
--quote-progressive
quote names containing glob characters in their output, unless they are on the command line or contain trailing newlines (this may be overridden by LS_OPTIONS).  This is the default.
--radix=WHEN
set the radix used in printing sizes to WHEN; if WHEN is binary, use powers of 1024; otherwise, use powers of 1000.  When unspecified or set to auto, detect the system radix automatically (this may be overridden by LS_OPTIONS)
-R, --recursive
list subdirectories recursively
-r, --reverse
sort in reverse order (this may be overridden by LS_OPTIONS)
-s, --size[=WHEN]
sort by total file size (this may be overridden by LS_OPTIONS).  If WHEN is specified, only sort entries with a size matching it.  When unspecified, all entry sizes are sorted.
-S, --sort=WHEN
sort by field WHEN (not yet implemented)
--super-verbose
equivalent to -l --full-time --indicator-style=slash
-t, --time[=WHEN]
sort by modification time; use ctime if and only if WHEN is set.  When unspecified or empty, sort by access time; when set to mtime, sort by modification time (this may be overridden by LS_OPTIONS).   See also --full-time.
--time-style=WHEN
set the preferred style used for times and dates to WHEN; possible values are:
natural: the default, use short date and time format
full-iso: ISO 8601 date and time with a full time zone offset
long-iso: as above, but without the timezone offset
iso: ISO 8601 date and time only (no time zone)
prefer-long-iso: prefer long-iso format if possible; otherwise natural format is used
full-utf8: a human readable representation of seconds since the UNIX epoch in the local timezone, using UTF-8 characters to represent days, months and years
--version display version information and exit
--width=WHEN
set the preferred column width to WHEN; when unspecified or set to auto, use the default (this may be overridden by LS_OPTIONS)
-1, --help display this help and exit
-2, --no-progressive display names without quotes, if possible
-3, --force-progressive force display of names with quotes
--show-control-chars never use ^I, ^J, or ^M to represent the ASCII TAB (0x09), LF (0x0A), and CR (0x0D) characters respectively.  This is the default when ls is run without any command line arguments.
--show-dotfiles list implied /. and ..
--sort=WHEN
sort by field WHEN; if unspecified, sort alphabetically.  Possible values are:
none: do not sort (this may be overridden by LS_OPTIONS)
name: sort entries alphabetically
extension: sort entries by their extension only
reverse-name: sort in reverse alphabetical order
-v, --version
output version information and exit (this may be overridden by LS_OPTIONS)
--verbose
equivalent to -l --full-time
-V, --no-progressive do not use quotes for names containing glob characters (this may be overridden by LS_OPTIONS).  This is the default when ls is run without any command line arguments.
--version-sort sort files by version info, natural order, unless -r is also specified
EXIT STATUS
Returns zero if OK, and >0 for errors.
AUTHOR
Written by Eric G. Dean <eedean@ibm.com> for the GNU coreutils project and released into the public domain.  This manual page was written by David MacKenzie <david@macken.org>, for the Debian GNU/Linux system (and may be used by others).






















> man man
NAME mans - a format for on-line documentation
SYNOPSIST
mans [-acdeiklqrstuv] [+[name ...]] [-w width] [--width=width] [-H[section_number...]] [--help] [-v[version]] [manpage_name ...]
DESCRIPTION
The mans command is used to view the on-line documentation for a command that is built into bash (see the INVOCATION section below). If no manpage name arguments are given, then the first argument in $MANPATH will be used. The -[a,c,d,e,i,k,l,q,r,s,t,u,v] options can be used to control how the information is displayed.
OPTIONS
-a     Displays a list of all available manpages in sections 1 and 8 without exiting. This option is only valid if mans is invoked with one or more argument arguments. It is most useful for listing all available manpages on a system whose documentation is not well organized.
-c     Causes the header to be displayed in color and in bold type.
-d     Causes the header to be displayed in color only (and not in bold).
-e     Causes the header to be displayed in bold type only (and not in color).
-i     Displays information about the command specified as an argument, but does not display the manpage. This option is valid only if mans is invoked with one or more arguments.
-k     Forces the use of a keyboard-oriented pager such as less instead of more.
-l     Causes the manpage to be displayed on a terminal that has a dedicated line for status information (e.g. a terminal emulator running in a window system). This overrides the -s option.
-q     Quiet mode; do not display any header or footer information (default).
-r     Causes the manpage to be displayed on a terminal that has a dedicated line for status information (e.g. a terminal emulator running in a window system). This overrides the -l option.
-s     Display the manpage using a pager program such as more(1). This is the default.
-t     Causes the manpage to be displayed on a terminal that has a dedicated line for status information (e.g. a terminal emulator running in a window system). This overrides the -l and -r options.
-u     Display the manpage using a pager program such as less(1), unless the display is being done via a terminal that has a dedicated line for status information (e.g. a terminal emulator running in a window system); in which case, -t will be used instead of -u.
-v     Causes the manpage version to be displayed before the manpage itself. This option is valid only if mans is invoked with one or more argument arguments. It is most useful for displaying information about a command when no name arguments are given.
-w width  Sets the line width to width characters. This overrides the default.
-H section_number ...
Causes mans to display sections from the set of manpages it was invoked with, instead of displaying the entire manpage. If multiple -H options are specified, mans will attempt to display all requested sections.
If a section number is not found in any of the manpages being displayed, then that section will be ignored.  Note this means that if -H is used without a section_number argument, it may cause only some of the sections within the manpage to be shown.
EXAMPLE
This command displays information about the bash shell:
$ mans bash
This command displays the third section of the bash shell's documentation:
$ mans -H3 bash
This command displays the man page for the tar command, but does not display the manpage itself:
$ mans -i tar
INVOCATION
mans [options] commandname ...
SEE ALSO
less(1), more(1)
BASH HISTORY
Written by Chet Ramey for the GNU Project <chetray@redhat.com>.

[user] > 
root@sek:~# 