Linux - Send Ctrl+C using linux/bash coomandsMaking multiple calls to a program via a bash shell scriptBash...
std::tuple sizeof, is it a missed optimization?
How could it be that the capo isn't changing the pitch?
Is Levitate supposed to basically disable a melee based enemy?
Count rook moves 1D
Did the US Climate Reference Network Show No New Warming Since 2005 in the US?
Global variables and information security
MOSFET broke after attaching capacitor bank
Can I sleep overnight at Stansted Airport
What would a biological creature need in order to see the future?
Were the women of Travancore, India, taxed for covering their breasts by breast size?
Finder/Terminal: Find files that contain less than 21 lines of text
How do I stop making people jump at home and at work?
What exactly is a softlock?
Unknown,AppDomain 66 (master.sys[runtime].65) is Marked for Unload Due to Memory Pressure
Is there any difference between these two sentences? (Adverbs)
What happens when there is no available physical memory left for SQL Server?
Can a country avoid prosecution for crimes against humanity by denying it happened?
co-son-in-law or co-brother
How does speed affect lift?
Is there any reason to change the ISO manually?
Would you recommend a keyboard for beginners with or without lights in keys for learning?
What is this red bug infesting some trees in southern Germany?
My boss says "This will help us better view the utilization of your services." Does this mean my job is ending in this organisation?
Planet that’s 90% water or more?
Linux - Send Ctrl+C using linux/bash coomands
Making multiple calls to a program via a bash shell scriptBash overwrites the first line, PS1 bash promptbash: different output between CTRL-C vs “ordered cleanup”Difference in output from shell scriptWhy does `bash -c 'echo $0 ' ` output “bash”?Pass commands to a script which is waiting for an input on a Linux machineHow can I show the results after Bash reads one complete line of input but before executing any of the commands on that line?reset the color of the output after my command in bash shellUsing bash “wait” to exit as soon as one of the background processes terminate
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have written a shell script which processes a text input and displays the expected output, but post displaying the expected result - it waits for a ctrl+c
in order for it to complete and for cursor to move to $_ space. How can I include this ctrl+c
in my shell script itself ? or what is the shell script that does ctrl+c
using bash/shell commands ?
linux bash shell
add a comment |
I have written a shell script which processes a text input and displays the expected output, but post displaying the expected result - it waits for a ctrl+c
in order for it to complete and for cursor to move to $_ space. How can I include this ctrl+c
in my shell script itself ? or what is the shell script that does ctrl+c
using bash/shell commands ?
linux bash shell
add a comment |
I have written a shell script which processes a text input and displays the expected output, but post displaying the expected result - it waits for a ctrl+c
in order for it to complete and for cursor to move to $_ space. How can I include this ctrl+c
in my shell script itself ? or what is the shell script that does ctrl+c
using bash/shell commands ?
linux bash shell
I have written a shell script which processes a text input and displays the expected output, but post displaying the expected result - it waits for a ctrl+c
in order for it to complete and for cursor to move to $_ space. How can I include this ctrl+c
in my shell script itself ? or what is the shell script that does ctrl+c
using bash/shell commands ?
linux bash shell
linux bash shell
asked 47 mins ago
dynamicJosdynamicJos
155 bronze badges
155 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f538920%2flinux-send-ctrlc-using-linux-bash-coomands%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f538920%2flinux-send-ctrlc-using-linux-bash-coomands%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown