Linux

Ubuntu Playground

Ubuntu is a free and open-source operating system based on the Linux kernel.

Get access to the Ubuntu playground with one click

Welcome to the Ubuntu Playground!

Ubuntu 20.04 LTS — the world’s most popular Linux distribution, perfect for learning shell scripting, system administration, and DevOps tooling.

What’s Pre-installed

  • Shell: Bash with GNU coreutils
  • Package manager: apt / apt-get
  • Networking tools: curl, wget, iproute2, ping
  • Editors: vim, nano (installed on first connect)

Quick Start

uname -a
cat /etc/os-release
apt update && apt install -y git curl

Common Workflows

# Package management
apt search nginx
apt show nginx
apt install -y nginx
apt list --installed | grep -i curl

# Process management
ps aux
kill -9 <pid>

# File & user management
useradd -m alice && passwd alice
chmod 755 myscript.sh
find / -name "*.log" -mtime -1 2>/dev/null

Advanced Tips

# Run a background HTTP server
python3 -m http.server 8080 &
curl http://localhost:8080

# Capture process output
strace -o /tmp/trace.log ls

# System resource snapshot
top -bn1 | head -20

Session Notes

  • Session lasts 1 hour.
  • Run as codeground; use sudo for root privileges.
  • Package installs persist for the session only.