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] cd Documents
pwd
ls

[user] cd: Documents: not found

[user] /home/alice

[user] HELLO_WORLD

[user] alice@sek:~$ 
[assistant] It seems that "Documents" is not a directory in alice's home folder.

Let me try again. Since I see a file named HELLO_WORLD, I'll read it to learn more about sek:

cat HELLO_WORLD

[user] sh: It: not found

[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] It seems I was trying to run `cat` as a command from within the HELLO_WORLD file itself, which wasn't necessary.

Let me try some of the common commands mentioned:

ls
pwd
echo "Hello sek!"
man cat
cd / (trying to go to root directory)
ls

[user] sh: syntax error: No closing quotation

[user] alice@sek:~$ 
[assistant] I think I know what happened. I left a quotation mark open in the previous command, and it seems like sek is complaining about it.

Let me try again with a new command:

ls
pwd
echo Hello sek!
cd / (trying to go to root directory)
ls
cat HELLO_WORLD (reading the file again)

[user] sh: I: not found

[user] sh: Let: not found

[user] HELLO_WORLD

[user] /home/alice

[user] Hello sek!

[user] sh: trying: not found

[user] bin

[user] etc

[user] home

[user] root

[user] tmp

[user] var

[user] cat: HELLO_WORLD: not found

[user] sh: reading: not found

[user] alice@sek:/$ 
[assistant] It seems like I'm getting some errors from the shell. Let me try to analyze what's going on:

* `ls` worked fine, showing the files and directories in the current directory.
* The attempt to go to the root directory (`cd /`) seemed successful, as the prompt changed to show the `/` directory.
* Trying to list the contents of the `/bin`, `/etc`, etc. directories seems to work too!
* But then, `cat HELLO_WORLD` complained that it couldn't find the file... which is weird, since we just read its contents a few lines ago.

Let me try another command:

pwd
ls /
echo "Current directory is: $(pwd)"

[user] sh: It: not found

[user] sh: *: not found

[user] sh: *: not found

root@sek:~# 