Skip to content

Linux Terminal Server

The Terminal provides full access to an isolated Ubuntu environment running inside the server's Docker container. Run commands, install packages, manage processes and work with the same filesystem accessible by VS Code and the File Manager.

Terminal with htop


Highlights

🐧

Native Ubuntu

Full bash shell in Ubuntu 22.04 with apt, git, node, python3 and more.

🔗

WebSocket

Real-time connection with minimal latency via WebSocket.

📁

Shared Filesystem

Same files as Finder and VS Code in /app/disks/.

📋

Multiple Sessions

Open multiple terminal windows simultaneously.


Getting Started

  1. Connect to your RoqueOS Server
  2. Open the Terminal app from the Launchpad
  3. You'll be in the /home/user/ directory of the Ubuntu container

Finder and Terminal sharing the filesystem


Available Environment

The server's Ubuntu container comes pre-configured with:

ToolDescription
bashDefault shell
aptUbuntu package manager
gitVersion control
node / npmJavaScript runtime (Node.js 20)
python3 / pipPython runtime
curl / wgetFile download
nano / vimTerminal text editors
htopInteractive process monitor
sshSSH client to connect to other servers

Install Additional Packages

bash
sudo apt update
sudo apt install -y package-name

PERSISTENCE NOTE

Packages installed via apt do not persist between container restarts. For permanent tools, consider adding them to a custom Dockerfile or startup scripts.


Accessing Your Volumes

Mapped disks from the host are available at /app/disks/:

bash
ls /app/disks/
cd /app/disks/Projects
echo "Hello from Terminal!" > /app/disks/Documents/hello.txt

Use Cases

Development

bash
cd /app/disks/Projects
git clone https://github.com/user/my-project.git
cd my-project && npm install && npm run dev

Server Administration

bash
htop          # Monitor system resources
df -h         # Check disk usage
ps aux        # View running processes

Automation

bash
cat > backup.sh << 'EOF'
#!/bin/bash
tar -czf /app/disks/Backups/backup-$(date +%Y%m%d).tar.gz /app/disks/Projects
echo "Backup complete!"
EOF
chmod +x backup.sh && ./backup.sh

Tips

QUICK TIPS

  • Use Ctrl+C to cancel a running command
  • Use Tab to auto-complete file names and commands
  • Use Ctrl+L to clear the screen
  • Use ↑↓ arrows to navigate command history
  • Resize the terminal window and it adjusts automatically

Released under the MIT License.