Questions tagged [interactive]
The interactive tag has no summary.
97 questions
-1 votes
1 answer
96 views
Why doesn't bash recognize alias in interactive mode?
How is this possible? styx@LouSTyx:…$ GCOM "\pushdict now ignores prefix macro." GCOM : commande introuvable styx@LouSTyx:…$ type GCOM GCOM est un alias vers « git commit -a -m »
0 votes
0 answers
60 views
Why Linux return strange result on mount of very old nfs2 share?
I have a directory shared with nfs2 from very old unix (Interactive unix 4.1.1) the directory is mount correct from Interactive Unix client. Trying with Linux I have this strange result sudo mount -o ...
2 votes
1 answer
673 views
Does tmux run-shell support interactive shell?
I know tmux run-shell can execute shell: $ tmux run-shell "echo start; echo \${var}end" start end But what if I want my shell could work interactively or read some user input, $ tmux run-...
0 votes
2 answers
250 views
Change behavior of bash script if executed from another script
I have a script (say Task.sh) (with executable permission): Pseducode: if [[ Not called from inside a script ]]; then echo 'Not called from inside a script' else echo 'Called from a script' fi I ...
0 votes
1 answer
132 views
bash: How to prompt for user input while reading file?
Following script statement for user input is nested in while loop under if block but it doesn't work and is being skipped. How do I get user input to work? exec 3<&0 && read -p 'Enter ...
0 votes
2 answers
95 views
> symbol appearing when interactively defining function in bash
The behaviour of my shell environment changed: Earlier, when pasting a function definition e.g. function exampleFunc { echo hello } to the shell, it would display as formatted and register the ...
1 vote
1 answer
202 views
Anyway to bind keyboard to dash (Debian Almquist Shell)?
Specifically Up/Down for history navigation. What I already know I understand dash is a minimalistic, no bloat, (somewhat) strict POSIX shell. I understand the philosophy behind it, and the reason ...
1 vote
0 answers
298 views
how to force runuser to initiate an interactive shell the same way `bash -i` is used?
I need to run the following command as mruser as root systemctl --user status myservice To do this I use runuser runuser -l mruser -c "systemctl --user status myservice" This works perfectly ...