How to concatenate two command in shellWhat's the difference between <<, <<< and < < in bash?Print out the amount of times 2 words appear in the syslog. But also have it tell me how many times for each hourremove file with -h_some_file_name in shellPutty SSH client command history?How do I access my Bash History?Concatenate two pathsShow other command line prompt in Midnight Commander (mc)How to restore sudo command after its having too many level of symlinkssearching for specialized patterns using grep in a json fileHow can I create a script file that opens and executes a command upon double-clicking?Measuring execution time of a command in milliseconds

How could a female member of a species produce eggs unto death?

Best approach to update all entries in a list that is paginated?

Do f-stop and exposure time perfectly cancel?

Counter-example to the existence of left Bousfield localization of combinatorial model category

Decoding assembly instructions in a Game Boy disassembler

What to do when during a meeting client people start to fight (even physically) with each others?

Touchscreen-controlled dentist office snowman collector game

Why doesn't the EU now just force the UK to choose between referendum and no-deal?

What is the dot in “1.2.4."

Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?

When were linguistics departments first established

Deleting missing values from a dataset

Can the druid cantrip Thorn Whip really defeat a water weird this easily?

My story is written in English, but is set in my home country. What language should I use for the dialogue?

Humans have energy, but not water. What happens?

How is the Swiss post e-voting system supposed to work, and how was it wrong?

My adviser wants to be the first author

Single word request: Harming the benefactor

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

Why must traveling waves have the same amplitude to form a standing wave?

What exactly is the purpose of connection links straped between the rocket and the launch pad

How can I discourage/prevent PCs from using door choke-points?

Ban on all campaign finance?

If the Captain's screens are out, does he switch seats with the co-pilot?



How to concatenate two command in shell


What's the difference between <<, <<< and < < in bash?Print out the amount of times 2 words appear in the syslog. But also have it tell me how many times for each hourremove file with -h_some_file_name in shellPutty SSH client command history?How do I access my Bash History?Concatenate two pathsShow other command line prompt in Midnight Commander (mc)How to restore sudo command after its having too many level of symlinkssearching for specialized patterns using grep in a json fileHow can I create a script file that opens and executes a command upon double-clicking?Measuring execution time of a command in milliseconds













7















I used to have this command to count how many times I have click with a mouse, the command is xev | grep "ButtonPress".



my colleague modify the command so that it return:



ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


and so on... Unfortunately he's no longer contactable so I can't reach him anymore.



I recall the involvement of i++ and something like that, how to reproduce the command?










share|improve this question







New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you mean xev | grep -c "ButtonPress", showing the number of clicks on exit?

    – dessert
    Mar 7 at 9:41











  • It shows ButtonPress + number everytime I click on white box pop up window, sorry I'm a novice...

    – Jackie Nelson
    Mar 7 at 9:47











  • dessert, your command worked but it only return the number when I exit xev. How to make it return live value ?

    – Jackie Nelson
    Mar 7 at 9:54















7















I used to have this command to count how many times I have click with a mouse, the command is xev | grep "ButtonPress".



my colleague modify the command so that it return:



ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


and so on... Unfortunately he's no longer contactable so I can't reach him anymore.



I recall the involvement of i++ and something like that, how to reproduce the command?










share|improve this question







New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you mean xev | grep -c "ButtonPress", showing the number of clicks on exit?

    – dessert
    Mar 7 at 9:41











  • It shows ButtonPress + number everytime I click on white box pop up window, sorry I'm a novice...

    – Jackie Nelson
    Mar 7 at 9:47











  • dessert, your command worked but it only return the number when I exit xev. How to make it return live value ?

    – Jackie Nelson
    Mar 7 at 9:54













7












7








7


1






I used to have this command to count how many times I have click with a mouse, the command is xev | grep "ButtonPress".



my colleague modify the command so that it return:



ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


and so on... Unfortunately he's no longer contactable so I can't reach him anymore.



I recall the involvement of i++ and something like that, how to reproduce the command?










share|improve this question







New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I used to have this command to count how many times I have click with a mouse, the command is xev | grep "ButtonPress".



my colleague modify the command so that it return:



ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


and so on... Unfortunately he's no longer contactable so I can't reach him anymore.



I recall the involvement of i++ and something like that, how to reproduce the command?







command-line bash scripts dash-shell






share|improve this question







New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 7 at 9:33









Jackie NelsonJackie Nelson

384




384




New contributor




Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jackie Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Do you mean xev | grep -c "ButtonPress", showing the number of clicks on exit?

    – dessert
    Mar 7 at 9:41











  • It shows ButtonPress + number everytime I click on white box pop up window, sorry I'm a novice...

    – Jackie Nelson
    Mar 7 at 9:47











  • dessert, your command worked but it only return the number when I exit xev. How to make it return live value ?

    – Jackie Nelson
    Mar 7 at 9:54

















  • Do you mean xev | grep -c "ButtonPress", showing the number of clicks on exit?

    – dessert
    Mar 7 at 9:41











  • It shows ButtonPress + number everytime I click on white box pop up window, sorry I'm a novice...

    – Jackie Nelson
    Mar 7 at 9:47











  • dessert, your command worked but it only return the number when I exit xev. How to make it return live value ?

    – Jackie Nelson
    Mar 7 at 9:54
















Do you mean xev | grep -c "ButtonPress", showing the number of clicks on exit?

– dessert
Mar 7 at 9:41





Do you mean xev | grep -c "ButtonPress", showing the number of clicks on exit?

– dessert
Mar 7 at 9:41













It shows ButtonPress + number everytime I click on white box pop up window, sorry I'm a novice...

– Jackie Nelson
Mar 7 at 9:47





It shows ButtonPress + number everytime I click on white box pop up window, sorry I'm a novice...

– Jackie Nelson
Mar 7 at 9:47













dessert, your command worked but it only return the number when I exit xev. How to make it return live value ?

– Jackie Nelson
Mar 7 at 9:54





dessert, your command worked but it only return the number when I exit xev. How to make it return live value ?

– Jackie Nelson
Mar 7 at 9:54










1 Answer
1






active

oldest

votes


















11














The fact that there's i++ suggests there was either bash or ksh shell in use,potentially awk or perl as well. In either case, we can use process substitution <(...) to feed output of xev to counting loop (although simple pipeline xev | while... could work just fine).



text processing tools:



Portably and for fewer key strokes we can use awk :



$ xev | awk '/ButtonPress/print "ButtonPress",i++'
ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


perl version:



$ xev | perl -ne '/ButtonPress/ && printf("ButtonPress:%dn",++$i)'
ButtonPress:1
ButtonPress:2
ButtonPress:3


Shells:



Here's what works in bash:



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf 'ButtonPress: %dn' "$i"; ;done < <(xev)
ButtonPress: 1
ButtonPress: 2
ButtonPress: 3


In case you don't want spammy output of many lines, we can use printf to send control code to clear previous line and output only the running count (that is you'd only see integer value change on the line):



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf "r%b" "33[2K"; printf 'ButtonPress: %d' "$i"; ;done < <(xev)


Portably in POSIX shell:



$ xev | ( i=0; while IFS= read -r l; do case "$l" in *ButtonPress*) i=$((i+1)) && printf 'ButtonPress:%dn' "$i";; esac ;done)
ButtonPress:1
ButtonPress:2
ButtonPress:3


basic utils:



For simple, quick, and dirty way we can hack this via cat -n with line count being printed on the left instead of right:



$ xev | grep --line-buffered 'ButtonPress' | cat -n
1 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
2 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
3 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,





share|improve this answer

























  • I tried your first command that has awk in it, it works but there's a bit of lag when the output return

    – Jackie Nelson
    Mar 7 at 9:53











  • However, your second and third command works perfectly, thanks a lot Sergiy

    – Jackie Nelson
    Mar 7 at 9:53











  • @JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

    – Sergiy Kolodyazhnyy
    Mar 7 at 9:56











  • Can you make so that the number start from one on perl version ? Not zero

    – Jackie Nelson
    Mar 7 at 9:57











  • @JackieNelson Yep, already changed that

    – Sergiy Kolodyazhnyy
    Mar 7 at 10:02










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
);



);






Jackie Nelson is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123723%2fhow-to-concatenate-two-command-in-shell%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









11














The fact that there's i++ suggests there was either bash or ksh shell in use,potentially awk or perl as well. In either case, we can use process substitution <(...) to feed output of xev to counting loop (although simple pipeline xev | while... could work just fine).



text processing tools:



Portably and for fewer key strokes we can use awk :



$ xev | awk '/ButtonPress/print "ButtonPress",i++'
ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


perl version:



$ xev | perl -ne '/ButtonPress/ && printf("ButtonPress:%dn",++$i)'
ButtonPress:1
ButtonPress:2
ButtonPress:3


Shells:



Here's what works in bash:



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf 'ButtonPress: %dn' "$i"; ;done < <(xev)
ButtonPress: 1
ButtonPress: 2
ButtonPress: 3


In case you don't want spammy output of many lines, we can use printf to send control code to clear previous line and output only the running count (that is you'd only see integer value change on the line):



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf "r%b" "33[2K"; printf 'ButtonPress: %d' "$i"; ;done < <(xev)


Portably in POSIX shell:



$ xev | ( i=0; while IFS= read -r l; do case "$l" in *ButtonPress*) i=$((i+1)) && printf 'ButtonPress:%dn' "$i";; esac ;done)
ButtonPress:1
ButtonPress:2
ButtonPress:3


basic utils:



For simple, quick, and dirty way we can hack this via cat -n with line count being printed on the left instead of right:



$ xev | grep --line-buffered 'ButtonPress' | cat -n
1 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
2 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
3 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,





share|improve this answer

























  • I tried your first command that has awk in it, it works but there's a bit of lag when the output return

    – Jackie Nelson
    Mar 7 at 9:53











  • However, your second and third command works perfectly, thanks a lot Sergiy

    – Jackie Nelson
    Mar 7 at 9:53











  • @JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

    – Sergiy Kolodyazhnyy
    Mar 7 at 9:56











  • Can you make so that the number start from one on perl version ? Not zero

    – Jackie Nelson
    Mar 7 at 9:57











  • @JackieNelson Yep, already changed that

    – Sergiy Kolodyazhnyy
    Mar 7 at 10:02















11














The fact that there's i++ suggests there was either bash or ksh shell in use,potentially awk or perl as well. In either case, we can use process substitution <(...) to feed output of xev to counting loop (although simple pipeline xev | while... could work just fine).



text processing tools:



Portably and for fewer key strokes we can use awk :



$ xev | awk '/ButtonPress/print "ButtonPress",i++'
ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


perl version:



$ xev | perl -ne '/ButtonPress/ && printf("ButtonPress:%dn",++$i)'
ButtonPress:1
ButtonPress:2
ButtonPress:3


Shells:



Here's what works in bash:



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf 'ButtonPress: %dn' "$i"; ;done < <(xev)
ButtonPress: 1
ButtonPress: 2
ButtonPress: 3


In case you don't want spammy output of many lines, we can use printf to send control code to clear previous line and output only the running count (that is you'd only see integer value change on the line):



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf "r%b" "33[2K"; printf 'ButtonPress: %d' "$i"; ;done < <(xev)


Portably in POSIX shell:



$ xev | ( i=0; while IFS= read -r l; do case "$l" in *ButtonPress*) i=$((i+1)) && printf 'ButtonPress:%dn' "$i";; esac ;done)
ButtonPress:1
ButtonPress:2
ButtonPress:3


basic utils:



For simple, quick, and dirty way we can hack this via cat -n with line count being printed on the left instead of right:



$ xev | grep --line-buffered 'ButtonPress' | cat -n
1 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
2 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
3 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,





share|improve this answer

























  • I tried your first command that has awk in it, it works but there's a bit of lag when the output return

    – Jackie Nelson
    Mar 7 at 9:53











  • However, your second and third command works perfectly, thanks a lot Sergiy

    – Jackie Nelson
    Mar 7 at 9:53











  • @JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

    – Sergiy Kolodyazhnyy
    Mar 7 at 9:56











  • Can you make so that the number start from one on perl version ? Not zero

    – Jackie Nelson
    Mar 7 at 9:57











  • @JackieNelson Yep, already changed that

    – Sergiy Kolodyazhnyy
    Mar 7 at 10:02













11












11








11







The fact that there's i++ suggests there was either bash or ksh shell in use,potentially awk or perl as well. In either case, we can use process substitution <(...) to feed output of xev to counting loop (although simple pipeline xev | while... could work just fine).



text processing tools:



Portably and for fewer key strokes we can use awk :



$ xev | awk '/ButtonPress/print "ButtonPress",i++'
ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


perl version:



$ xev | perl -ne '/ButtonPress/ && printf("ButtonPress:%dn",++$i)'
ButtonPress:1
ButtonPress:2
ButtonPress:3


Shells:



Here's what works in bash:



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf 'ButtonPress: %dn' "$i"; ;done < <(xev)
ButtonPress: 1
ButtonPress: 2
ButtonPress: 3


In case you don't want spammy output of many lines, we can use printf to send control code to clear previous line and output only the running count (that is you'd only see integer value change on the line):



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf "r%b" "33[2K"; printf 'ButtonPress: %d' "$i"; ;done < <(xev)


Portably in POSIX shell:



$ xev | ( i=0; while IFS= read -r l; do case "$l" in *ButtonPress*) i=$((i+1)) && printf 'ButtonPress:%dn' "$i";; esac ;done)
ButtonPress:1
ButtonPress:2
ButtonPress:3


basic utils:



For simple, quick, and dirty way we can hack this via cat -n with line count being printed on the left instead of right:



$ xev | grep --line-buffered 'ButtonPress' | cat -n
1 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
2 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
3 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,





share|improve this answer















The fact that there's i++ suggests there was either bash or ksh shell in use,potentially awk or perl as well. In either case, we can use process substitution <(...) to feed output of xev to counting loop (although simple pipeline xev | while... could work just fine).



text processing tools:



Portably and for fewer key strokes we can use awk :



$ xev | awk '/ButtonPress/print "ButtonPress",i++'
ButtonPress 0
ButtonPress 1
ButtonPress 2
ButtonPress 3


perl version:



$ xev | perl -ne '/ButtonPress/ && printf("ButtonPress:%dn",++$i)'
ButtonPress:1
ButtonPress:2
ButtonPress:3


Shells:



Here's what works in bash:



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf 'ButtonPress: %dn' "$i"; ;done < <(xev)
ButtonPress: 1
ButtonPress: 2
ButtonPress: 3


In case you don't want spammy output of many lines, we can use printf to send control code to clear previous line and output only the running count (that is you'd only see integer value change on the line):



$ i=0; while IFS= read -r line; do [[ $line =~ ButtonPress ]] && ((i++)); printf "r%b" "33[2K"; printf 'ButtonPress: %d' "$i"; ;done < <(xev)


Portably in POSIX shell:



$ xev | ( i=0; while IFS= read -r l; do case "$l" in *ButtonPress*) i=$((i+1)) && printf 'ButtonPress:%dn' "$i";; esac ;done)
ButtonPress:1
ButtonPress:2
ButtonPress:3


basic utils:



For simple, quick, and dirty way we can hack this via cat -n with line count being printed on the left instead of right:



$ xev | grep --line-buffered 'ButtonPress' | cat -n
1 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
2 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
3 ButtonPress event, serial 34, synthetic NO, window 0x4a00001,






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 7 at 10:08

























answered Mar 7 at 9:43









Sergiy KolodyazhnyySergiy Kolodyazhnyy

74.1k9155324




74.1k9155324












  • I tried your first command that has awk in it, it works but there's a bit of lag when the output return

    – Jackie Nelson
    Mar 7 at 9:53











  • However, your second and third command works perfectly, thanks a lot Sergiy

    – Jackie Nelson
    Mar 7 at 9:53











  • @JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

    – Sergiy Kolodyazhnyy
    Mar 7 at 9:56











  • Can you make so that the number start from one on perl version ? Not zero

    – Jackie Nelson
    Mar 7 at 9:57











  • @JackieNelson Yep, already changed that

    – Sergiy Kolodyazhnyy
    Mar 7 at 10:02

















  • I tried your first command that has awk in it, it works but there's a bit of lag when the output return

    – Jackie Nelson
    Mar 7 at 9:53











  • However, your second and third command works perfectly, thanks a lot Sergiy

    – Jackie Nelson
    Mar 7 at 9:53











  • @JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

    – Sergiy Kolodyazhnyy
    Mar 7 at 9:56











  • Can you make so that the number start from one on perl version ? Not zero

    – Jackie Nelson
    Mar 7 at 9:57











  • @JackieNelson Yep, already changed that

    – Sergiy Kolodyazhnyy
    Mar 7 at 10:02
















I tried your first command that has awk in it, it works but there's a bit of lag when the output return

– Jackie Nelson
Mar 7 at 9:53





I tried your first command that has awk in it, it works but there's a bit of lag when the output return

– Jackie Nelson
Mar 7 at 9:53













However, your second and third command works perfectly, thanks a lot Sergiy

– Jackie Nelson
Mar 7 at 9:53





However, your second and third command works perfectly, thanks a lot Sergiy

– Jackie Nelson
Mar 7 at 9:53













@JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

– Sergiy Kolodyazhnyy
Mar 7 at 9:56





@JackieNelson A bit of lag might suggest buffering, which may be related to another awk version in use. Recent Ubuntu uses gawk and before 16.04 default was mawk IIRC. Regardless, glad I could help :)

– Sergiy Kolodyazhnyy
Mar 7 at 9:56













Can you make so that the number start from one on perl version ? Not zero

– Jackie Nelson
Mar 7 at 9:57





Can you make so that the number start from one on perl version ? Not zero

– Jackie Nelson
Mar 7 at 9:57













@JackieNelson Yep, already changed that

– Sergiy Kolodyazhnyy
Mar 7 at 10:02





@JackieNelson Yep, already changed that

– Sergiy Kolodyazhnyy
Mar 7 at 10:02










Jackie Nelson is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Jackie Nelson is a new contributor. Be nice, and check out our Code of Conduct.












Jackie Nelson is a new contributor. Be nice, and check out our Code of Conduct.











Jackie Nelson is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Ask Ubuntu!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123723%2fhow-to-concatenate-two-command-in-shell%23new-answer', 'question_page');

);

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







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme