Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to run some things differently if I have booted into single-user/maintenance mode.
I want to know how I can test in my .bashrc file.bashrc, in In particular, I would like to start tmuxtmux only in that mode, to see if I am in this mode?.
Linux: Test if in maintenance mode?
I want to run some things differently if I have booted into single-user/maintenance mode.
I want to know how I can test in my .bashrc, in particular I would like to start tmux only in that mode, to see if I am in this mode?
Linux: how to test if in maintenance mode?
I want to run some things differently if I have booted into single-user/maintenance mode.
I want to know how I can test in my .bashrc file. In particular, I would like to start tmux only in that mode.