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] ls -l

[user] HELLO_WORLD

[user] alice@sek:~$ 
[assistant] cat HELLO_WORLD

[user] Welcome to sek!

sek is a virtual *NIX micro-kernel.

You are viewing this file from within a POSIX-adjacent shell.

What you type is run as a command.

The prompt shows your user, host, and current directory and is configureable via
PS1.

Common commands:

  ls          list files in the current directory
  cat FILE    print a file's contents
  cd PATH     change directory
  pwd         show current directory
  echo TEXT   print text
  man CMD     read the manual for a command

Tools you might reach for:

  printf             formatted output
  grep               search text
  head, tail         show the start or end of a file
  touch, rm, mkdir   create and remove files and directories

That's the floor.  Everything else is discoverable by running
commands and reading errors.

HINT: should you hit a standalone '>' prompt, there is an unclosed quotation
      lingering somewhere.

HINT: You can discover more commands by exploring the directories listed under
      the PATH environment variable.

[user] alice@sek:~$ 
[assistant] echo "Hello, sek!"
man cat
ls -l ~sek
pwd
cd /dev 
ls

[user] Hello, sek!

[user] NAME
    cat — concatenate and print files.

DESCRIPTION
    With no arguments, copies stdin to stdout.

OPTIONS
    usage: cat [-h] [files ...]

      files
            Files to print.


EXAMPLE
    Print a file::

        cat /etc/passwd

    Read from stdin::

        cat

EXIT STATUS
    0
        Success.
    1
        One or more files not found.

[user] ls: ~sek: not found

[user] /home/alice

[user] cd: /dev: not a directory

[user] HELLO_WORLD

[user] alice@sek:~$ 
[assistant] cat HELLO_WORLD
man ls
mkdir test
cd test 
touch my_file.txt
echo "Hello, sek!" > my_file.txt
ls -l
cat my_file.txt

[user] Welcome to sek!

sek is a virtual *NIX micro-kernel.

You are viewing this file from within a POSIX-adjacent shell.

What you type is run as a command.

The prompt shows your user, host, and current directory and is configureable via
PS1.

Common commands:

  ls          list files in the current directory
  cat FILE    print a file's contents
  cd PATH     change directory
  pwd         show current directory
  echo TEXT   print text
  man CMD     read the manual for a command

Tools you might reach for:

  printf             formatted output
  grep               search text
  head, tail         show the start or end of a file
  touch, rm, mkdir   create and remove files and directories

That's the floor.  Everything else is discoverable by running
commands and reading errors.

HINT: should you hit a standalone '>' prompt, there is an unclosed quotation
      lingering somewhere.

HINT: You can discover more commands by exploring the directories listed under
      the PATH environment variable.

[user] NAME
    ls — list directory contents.

DESCRIPTION
    Lists entries in the specified directory, sorted
    alphabetically.  Defaults to the current directory.

OPTIONS
    usage: ls [-h] [-l] [path]

      path
            Directory to list. (default: .)
      -l
            Long format. (default: False)


EXAMPLE
    List current directory::

        ls

    List a specific path::

        ls /bin

EXIT STATUS
    0
        Success.
    1
        Directory not found.

[user] my_file.txt

[user] Hello, sek!

[user] alice@sek:~/test$ 
[assistant] rm my_file.txt
cd ..
ls -l
mkdir subfolder
cd subfolder
touch new_file.txt
echo "This is a new file!" > new_file.txt
ls -l
cd .. 
cd ..
pwd
man cd
cat HELLO_WORLD

[user] HELLO_WORLD

[user] test

[user] new_file.txt

[user] /home

[user] man: cd: not found

[user] cat: HELLO_WORLD: not found

[user] alice@sek:/home$ 
[assistant] cd ~
ls -l
cd test 
cd subfolder
rm new_file.txt
mkdir another_subfolder
cd another_subfolder
touch yet_another_file.txt
echo "This is another new file!" > yet_another_file.txt
ls -l
cat yet_another_file.txt

[user] cd: ~: not found

[user] alice

[user] cd: test: not found

[user] cd: subfolder: not found

[user] rm: new_file.txt: not found

[user] yet_another_file.txt

[user] This is another new file!

[user] alice@sek:/home/another_subfolder$ 
[assistant] cd ..
ls -l
pwd
man cd
echo "I'm back in the home directory!"
cat HELLO_WORLD
ls -l ~sek 
exit

[user] alice

[user] another_subfolder

[user] /home

[user] man: cd: not found

[user] I'm back in the home directory!

[user] cat: HELLO_WORLD: not found

[user] ls: ~sek: not found

root@sek:~# 