How to run a program in background and also using && to execute another command

SuperKrish

I want to run my node app in background and curl simultaneously using &&. I tried the following but they don't work.

node app.js &;curl localhost
node app.js & && curl localhost

But neither work.

anonymous2

It's just :

node app.js & curl localhost

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How to run process in background using gcloud ssh

분류에서Dev

How to run this curl command using Net:HTTP

분류에서Dev

How to run complicated batch command using "subprocess"

분류에서Dev

Using subprocess to execute ADB command

분류에서Dev

How to run regex find and replace using windows command line

분류에서Dev

Execute a command every minute forever using 'date'

분류에서Dev

execute a terminal command using node.js

분류에서Dev

Run program as root without using sudo

분류에서Dev

Using pdb, how can I run a program and pause where reaching an error?

분류에서Dev

How to navigate to another page using Command Property of a Button in WP 8.1 using MVVM?

분류에서Dev

Estimate time needed for command to run using pv

분류에서Dev

How can i run cmd as administrator privileges by cmd command without using any shortcut of cmd?

분류에서Dev

execute jar file in command line using third party jar

분류에서Dev

cannot execute binary file using execlp() with command in a string

분류에서Dev

Using 'parallel' to execute command on remote hosts - nothing is returned, failed logins

분류에서Dev

Calling another program in a shell script and using the returned data

분류에서Dev

Execute a command line on the command prompt needs `administrate privilege` even using "ranas"?

분류에서Dev

How to execute RemoveAliasMapping in ElasticSearch using JEST

분류에서Dev

How to execute a script periodically without using crontab?

분류에서Dev

How to compile and run using GCC?

분류에서Dev

BASH - Run command using sudo but within a detached screen

분류에서Dev

Cant run commands With PATH with command prompt using Java?

분류에서Dev

JavaScript run a DOS command using java.lang.Runtime.getRuntime()

분류에서Dev

Script used to run `run-parts` for portmapping using Java program upon failover doesn't work

분류에서Dev

how to upload image in background in swift using GCD

분류에서Dev

Copy file from directory to another using cmd command

분류에서Dev

How to Block a single Program (Or a File) that using Internet?

분류에서Dev

How to open a program using user input

분류에서Dev

How to change the directory to program files using Powershell?

Related 관련 기사

  1. 1

    How to run process in background using gcloud ssh

  2. 2

    How to run this curl command using Net:HTTP

  3. 3

    How to run complicated batch command using "subprocess"

  4. 4

    Using subprocess to execute ADB command

  5. 5

    How to run regex find and replace using windows command line

  6. 6

    Execute a command every minute forever using 'date'

  7. 7

    execute a terminal command using node.js

  8. 8

    Run program as root without using sudo

  9. 9

    Using pdb, how can I run a program and pause where reaching an error?

  10. 10

    How to navigate to another page using Command Property of a Button in WP 8.1 using MVVM?

  11. 11

    Estimate time needed for command to run using pv

  12. 12

    How can i run cmd as administrator privileges by cmd command without using any shortcut of cmd?

  13. 13

    execute jar file in command line using third party jar

  14. 14

    cannot execute binary file using execlp() with command in a string

  15. 15

    Using 'parallel' to execute command on remote hosts - nothing is returned, failed logins

  16. 16

    Calling another program in a shell script and using the returned data

  17. 17

    Execute a command line on the command prompt needs `administrate privilege` even using "ranas"?

  18. 18

    How to execute RemoveAliasMapping in ElasticSearch using JEST

  19. 19

    How to execute a script periodically without using crontab?

  20. 20

    How to compile and run using GCC?

  21. 21

    BASH - Run command using sudo but within a detached screen

  22. 22

    Cant run commands With PATH with command prompt using Java?

  23. 23

    JavaScript run a DOS command using java.lang.Runtime.getRuntime()

  24. 24

    Script used to run `run-parts` for portmapping using Java program upon failover doesn't work

  25. 25

    how to upload image in background in swift using GCD

  26. 26

    Copy file from directory to another using cmd command

  27. 27

    How to Block a single Program (Or a File) that using Internet?

  28. 28

    How to open a program using user input

  29. 29

    How to change the directory to program files using Powershell?

뜨겁다태그

보관