commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Also detaches session if attached from somewhere else.
There are 3 alternatives - vote for the best!
If a tmux session is already running attach it, otherwise create a new one. Useful if you often forget about running tmuxes (or just don't care)
If a session with named the same as your username already exists, then attach to it, otherwise create it
If you can do better, submit your command here.
You must be signed in to comment.