Hex OS FAQ

What this thing is, what counts as an app, and why a name you can see is not always a name you can run.

back to the shell

What is Hex OS?

One place to launch everything on Hexworth. Every lab, course, tool and hub is listed in a single manifest, and Hex OS gives you two ways into it: a command line at /hex/ and an icon grid at /hex/apps.html. Same list behind both.

It exists because things used to go quietly unreachable. Five Vault cards rendered as clickable and did nothing. A final exam had no link from its own hub. If something is launchable, it belongs in the manifest, and a deploy gate now fails when a manifest entry points at a file that is not there or that nothing links to.

What counts as an "app"?

An app is one thing you can open: it has an id, and it has a real page behind it. run <id> takes you there. Everything else in the listing is a way of grouping apps, and grouping names are not runnable.

KindWhat it isRunnable
appa page: a lab, a course hub, a toolyes, run cloud-incubator
categorya grouping: course, cert-prep, incubator, track, platformno, use ls incubator
housethe house an app belongs to: cloud, forge, shield, and so onno, use ls cloud

The confusing bit, honestly. ls with no argument prints categories and how many apps are in each. Those look exactly like app names, because they are printed in the same column. So run incubator is a reasonable thing to type, and it fails, because incubator is a category, not an app: it holds several, and the shell will tell you how many.

The shell now says so instead of just refusing. Ask for a group and it tells you what kind of thing you named, how many apps it holds, and gives you one to try.

hex> run incubator
incubator is a category, not an app. It groups 8 apps.
list them with ls incubator, then run one by name.
e.g. run cloud-incubator

How do I find the thing I actually want?

hex> ls              categories, and how many apps in each
hex> ls incubator    the apps inside one category
hex> ls cloud        the apps inside one house
hex> search linux    match on id, name or house
hex> info az-104     everything known about one app
hex> run az-104      open it

If you half-remember a name, search is the one to reach for. It matches anywhere in the name, not just the beginning.

Do I have to type it exactly?

Capitals do not matter anywhere. INFO ARENA, Man cd and LS CLOUD all behave exactly like their lowercase versions, and extra spaces are ignored too.

The spelling still has to be right, though, and that is what Tab is for. It completes a command, an app id, a house or a manual page from whatever you have typed so far. Press it again to cycle through the matches. If nothing can be completed the shell says so rather than doing nothing quietly, so a key that appears dead really is a stuck key.

hex> RUN AR⇥
arctic-cli   arena   armory-c   armory-go   armory-python   armory-sql
press it again and the line fills in with the first match, then the next

hex> cd cl⇥
one house starts with those letters, so the line simply fills itself in

hex> man r⇥
restart   run   rate-limiting   routing   ruby   rust
manual pages come first, then app ids, since man falls through to an app record

If you guess a name and get it wrong, the shell does not just refuse. Ask for something close and it offers the real one:

hex> run arctic
no app called arctic.
did you mean: arctic-cli

One exception, and it is deliberate. Session ids from ps are matched exactly, because they are issued by the server rather than typed from memory, and guessing at their spelling could stop the wrong box. If you get the case wrong the shell says so and prints the exact one to use.

What are all the commands?

help lists them; man <command> gives the full page for one. Every command has a manual entry, enforced by a gate, so the list and the manual cannot drift apart.

CommandDoes
ls, search, infofind things
run, cdopen things
ps, stop, restartmanage your running lab sessions
help, man, clearthe shell itself

I ran something and it would not open. Why?

Most content requires you to be signed in and sorted into a house, and some requires more than that. Hex OS shows you what exists; it does not decide what you may open. If a launch bounces you, the page behind it applied its own rule.

Worth being straight about: the guard shown in info is what the target page declares in its own code, and it runs in your browser. It is a signpost, not a lock. The real enforcement for anything graded lives on the server.

Can I install Hex OS like an app?

Yes, on hardware you already own, with no flashing and nothing from an app store. In Chrome on a Chromebook, laptop or Android device, open /hex/ and use the install icon in the address bar, or the browser menu, then Install page as app. On iPad or iPhone, use Share, then Add to Home Screen.

After that it opens in its own window with its own icon and no browser chrome. Long-press the icon for a shortcut straight to the launcher grid.

Does it work offline?

No, and that is deliberate rather than unfinished. Installing changes how Hex OS opens, not what it can reach without a network. Every lab is a live container session and every course page is fetched when you open it, so an offline shell could list things and launch none of them.

Is there a version I can boot the whole machine into?

There is one being built, called Hex Live. It is a bootable Debian image whose whole session is Hex OS: no desktop, no browser chrome, nothing but the shell, from a USB stick or a network boot.

It exists for one reason, and it is not that a full-screen browser looks impressive. Some of the work here needs hardware a browser is not allowed to touch. Putting a WiFi adapter into monitor mode for the Arsenal, reading a software-defined radio for the Signal toolkit, or talking to a board over a serial cable are all things a web page cannot do at any level of polish. Hex Live is the answer to that and to nothing else.

It is not finished. The image builds and boots unattended, but the part that justifies it, a real radio in a real machine, has not been tested yet. Do not expect a download link until it has.

Something is listed but broken. What do I do?

Report it. A manifest entry pointing at a missing file should be impossible, because a deploy gate checks every entry resolves and that nothing is orphaned. So if you find one, the gate has a hole worth knowing about.

back to the shell