⌘K
Change language Switch ThemeSign In
Narrow Mode
Optimizing Claude Code Workflow with Bash Aliases
Optimizing Claude Code Workflow with Bash Aliases
 ### @levelsio@levelsio
Update on my Claude Code alias I put in ~/.bashrc to code fast on VPS:
c() { IS_SANDBOX=1 claude --continue --dangerously-skip-permissions "$@";
--continue makes it continue the last session in case it logs out
To add it:
echo 'c() { IS_SANDBOX=1 claude --continue --dangerously-skip-permissions "$@"; }' >> ~/.bashrc && source ~/.bashrc
This puts it in your ~/.bashrc which runs every time you login, then just type the letter c and you're in Claude Code after logging in!Show More
#### @levelsio
@levelsio · 3w ago
My new command for Claude with remote control on yolo mode:
c() { IS_SANDBOX=1 claude rc --dangerously-skip-permissions "$@"; }
57
31
580
314.6K
Mar 19, 2026, 6:26 PM View on X
37 Replies
6 Retweets
184 Likes
28.9K Views  @levelsio @levelsio
One Sentence Summary
A practical bash alias for developers to quickly launch Claude Code on a VPS with persistent session settings.
Summary
The author shares a custom bash alias (c) designed to streamline the usage of Claude Code on a VPS. By adding this alias to ~/.bashrc, developers can instantly resume their last coding session with specific flags like --continue and --dangerously-skip-permissions, significantly reducing setup time for AI-assisted coding workflows.
AI Score
83
Influence Score 72
Published At Today
Language
English
Tags
Claude Code
Bash
Developer Productivity
VPS
AI Coding HomeArticlesPodcastsVideosTweets