6title: Administration and operation
9# Administration and operation
14Your Urbit is a persistent Unix process that you mainly control from the console. For some things, a browser will also work.
21You can turn your Urbit off with `ctrl-d` from the Talk or Dojo prompts.
25To restart your Urbit simply pass the name of your pier:
36To log Urbit's command line output to a file, use `script`:
38 $ script urbit.log urbit your-urbit
42Piers are designed to be portable, but it *must* be done while the Urbit is turned off. Urbit networking is stateful, so you can't run two copies of the same Urbit in two places.
44To move a pier, simply move the contents of the directory it lives in. To keep these files as small as possible we usually use the `--sparse` option in `tar`. With a pier `your-urbit/` something like this (from inside `urbit/`) should work:
46 tar -Scvzf your-urbit.tar.gz ./your-urbit/
52Your Urbit terminal is separated into two parts: the prompt (the bottom line) and the record (everything above that). The record is shared; all the output from all the apps in your command set appears in it. The prompt is multiplexed.
54In the CLI Urbit apps can process your input before you hit return. To see this in action try entering `)` as the first character at the Dojo prompt. Since there is no dojo command or hoon expression that starts with ')', the dojo rejects it.
56`ctrl-x` - Switches the prompt between running console apps
58`ctrl-c` - Crash current event. Processed at the Unix layer and prints a stack trace.
60`ctrl-d` - From Talk or Dojo stops your Urbit process.
62`↑` / `↓` - History navigation
64The following emacs-style key bindings are available:
66 ctrl-a cursor to beginning of the line (Home)
67 ctrl-b cursor one character backward (left-arrow)
68 ctrl-e cursor to the end of the line (End)
69 ctrl-f cursor one character forward (right-arrow)
70 ctrl-g beep; cancel reverse-search
71 ctrl-k kill to end of line
72 ctrl-l clear the screen
73 ctrl-n next line in history (down-arrow)
74 ctrl-p previous line in history (up-arrow)
76 ctrl-t transpose characters
77 ctrl-u kill to beginning of line
78 ctrl-y yank from kill buffer
80Full coverage of the Urbit shell, the Dojo is covered in the [Shell walkthrough](/docs/using/shell).
84On startup Urbit tries to bind to `localhost:8080`. If you're already running something on `8080` you'll find your Urbit on `8081`, and so on. For planets only, we also proxy web domains through Urbit's own servers. Any planet `~your-urbit` is also at
85`your-urbit.urbit.org`.
87Your Urbit serves a simple homepage from `http://localhost:8080` or `https://your-urbit.urbit.org` that should be self-explanatory. Since our HTTPS isn't audited / battle tested we just call it "secure" HTTPS. You can find that on `8443`. Or `8444` (and so on) if you're already running something on `8443`.
89A complete walkthrough of the Urbit web interface is [here](/docs/using/web).
93While the Urbit network is in this alpha state we sometimes have to reboot the whole network. This happens either when major changes need to be shipped or we hit a bug that can't be fixed over the air.
95Because Urbit networking is stateful we call this a 'continuity breach'. Everything has to be restarted from scratch. Your pier will continue to function after we have breached, but it wont connect to the rest of the Urbit network.
97When this happens, back up any files you'd like to save, shut down your Urbit and recreate it (as if you were starting for the first time).
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list