Skip to content

Work faster

These features cut down typing. They do not add new Confluence APIs.

$ alias ll='ls -l'
$ alias g='grep -i'
$ alias
$ ll ./MySpace
$ unalias ll

alias stores shortcuts in this browser (localStorage). With no arguments, it lists name=value lines. unalias name removes one alias.

When you run an alias, Shell expands it once and appends extra arguments. Nested alias names inside the value are not expanded again. You cannot create an alias whose name is a built-in command (ls, cd, alias, …).

$ cat debug-2025-10-23
$ ^cat^open

The second line runs open debug-2025-10-23. Shell replaces the first occurrence of OLD with NEW in the previous command (the same previous line as ↑ history). A trailing ^ is optional. NEW may be empty to delete text.

Enter help ^ for details.

Press Tab to complete a space or page name in the current directory. See Use tab completion.

If a name contains spaces or /, use single quotation marks. Quote only the segment that needs it (touch ./'Weekly notes'). See Understand the filesystem.

$ cd 'My space'
$ ls /'My space'/'Getting started'
$ cd 'Release notes (2024/11)'

These Unix-shell features are not supported:

  • Command separators: ; && ||
  • Redirection: > >>
  • Variables: $name

Pipes (|) work. See help | and the command reference.