Bye screen and wget hello tmux and curl?
In this article
This article explains why many terminal users are replacing screen with tmux and wget with curl, and how to make the switch. You'll learn the key differences, when each tool still makes sense, and practical examples for daily use.
Background: The Old Guard
screen and wget have been Unix staples for decades. screen, released in 1987, is a terminal multiplexer that lets you run multiple sessions inside one terminal, detach and reattach them, and keep processes alive after you log out. wget, from 1996, is a non-interactive downloader known for recursive downloads and mirroring websites. Both are preinstalled on most Linux distributions and macOS, which made them the default choice for generations of sysadmins and developers.
Why tmux and curl Are Winning
tmux (2007) and curl (1997) offer modern features that address the limitations of their predecessors. tmux provides a client-server architecture, scriptable status bar, vertical and horizontal splits, and a more consistent configuration syntax. curl supports dozens of protocols (HTTP, FTP, SFTP, SMTP, etc.), has a simpler syntax for single-file transfers, and is now the default downloader in many environments, including Windows 10+ and macOS.
The shift is also cultural: new tutorials, CI/CD scripts, and cloud-native documentation almost always show tmux and curl commands. If you follow modern guides, you'll see these tools far more often than the older ones.
How tmux Replaces screen
Both tools solve the same core problem: keeping a terminal session alive and letting you switch between tasks. But tmux feels more like a modern application. Here are the everyday commands you'll use:
- Start a session:
tmux new -s work(vs.screen -S work) - Detach:
Ctrl-b d(vs.Ctrl-a d) - Reattach:
tmux attach -t work(vs.screen -r work) - Split horizontally:
Ctrl-b %(vs.Ctrl-a |) - Split vertically:
Ctrl-b "(vs.Ctrl-a S) - List sessions:
tmux ls(vs.screen -ls)
The prefix key is the biggest adjustment: screen uses Ctrl-a, tmux uses Ctrl-b. You can change it in ~/.tmux.conf if you're used to the old one.
How curl Replaces wget
The most common task is downloading a single file. In wget you'd write:
wget https://example.com/file.zip
In curl you need to add -O to save with the remote filename:
curl -O https://example.com/file.zip
Without -O, curl prints the file to stdout. For a custom output name, use -o:
curl -o myfile.zip https://example.com/file.zip
For resuming an interrupted download, wget -c becomes curl -C -. For following redirects, wget does it by default, but curl needs -L. These small flags are the main source of confusion for newcomers.
When to Keep screen and wget
There are still good reasons to stick with the older tools:
- Already installed: If you're on a minimal system without
tmuxorcurland no package manager access,screenandwgetare your only options. - Recursive mirroring:
wget -ris still the simplest way to mirror a website.curldoesn't have a built-in recursive mode; you'd need to write a loop or use a separate tool. - Scripting simplicity:
wgetis often easier in shell scripts because it doesn't require flags for basic downloads. - Screen's scrollback: Some users prefer
screen's copy-paste behavior, thoughtmuxhas similar features with different keybindings.
Common Problems and How to Solve Them
When switching, you'll hit a few typical issues:
- Forgot
-Lin curl: You get a 301/302 HTML page instead of the file. Fix: add-Lto follow redirects. - tmux session not found: You ran
tmux attachwithout a name, but multiple sessions exist. Usetmux lsto list, then attach with-t. - Prefix key confusion: You're typing
Ctrl-ain tmux and nothing happens. Remember it'sCtrl-bunless you've changed it. - curl downloads to stdout: You see binary garbage in your terminal. Always use
-oor-O. - wget recursive downloads too much:
wget -rcan pull an entire site, including unwanted directories. Use--rejector-np(no parent) to limit.
Comparisons: tmux vs screen, curl vs wget
Here's a quick side-by-side for the most common tasks:
- Detach and reattach: Both do it well.
tmuxhas better session management (rename, kill, list with preview). - Split panes:
tmuxis more intuitive, with dynamic resizing and easy zoom (Ctrl-b z).screensplits are clunkier. - Scripting:
tmuxhas asend-keyscommand that's great for automation.screenhas-Xbut it's less flexible. - Download speed: Both
curlandwgetare fast.curlsupports parallel transfers with-Z(but not in the basic version). - Protocol support:
curlwins hands-down, supporting everything from SMB to LDAP.wgetis HTTP/HTTPS/FTP only.
Frequently Asked Questions
Is tmux faster than screen?
In terms of raw performance, both are negligible. The perceived speed difference comes from tmux's rendering and scrollback handling, which feels smoother on modern terminals.
Can I use curl to download an entire website?
Not directly. curl is designed for single transfers. For mirroring, use wget -r or a dedicated tool like httrack. You could write a script with curl and parse links, but it's not built-in.
Do I need to uninstall screen or wget?
No. They coexist peacefully. You can keep them for compatibility and use tmux and curl for new work. Many systems have all four installed.
How do I change tmux's prefix key to Ctrl-a?
Add this to ~/.tmux.conf and reload with tmux source-file ~/.tmux.conf:
set -g prefix C-a
unbind C-b
bind C-a send-prefix
Why does curl not save the file by default?
Because curl is designed to output to stdout by default, making it easy to pipe output to other commands. The -O flag is a deliberate choice to keep the tool composable.
Is wget still maintained?
Yes, wget is still maintained, but development is slower than curl. curl gets more frequent updates and new protocol support.
Making the Switch Smoothly
To avoid frustration, start by using tmux and curl for simple tasks, and keep screen and wget as fallbacks. Create aliases in your shell to ease the transition:
alias s='screen'
alias t='tmux'
alias w='wget'
alias c='curl'
Then gradually replace your muscle memory. Within a week, the new commands will feel natural.