How to create multiple files (with different names) in a specific directory all at once in a Linux terminal
Yes, you can create multiple files with different names in a single command using terminal. Here's an example command that does exactly what you want: mkdir -p src/components && touch src/...
At a guess - because you really haven't included enough information about the problem - you are doing something like PACKAGES='foo bar baz' and then when you double-quote the variable like apt-get &...
Command dependent on background job finishing
... and should run independent of the Shell it was started in It can't run independent of the Shell it was started in ... It needs the shell to interpret its commands all the way through until its ...
bash handles the expansion of a quoted parameter as a single token regardless of spaces, tabs, or newlines separating the words originally held in that parameter and therefore it will be wholly passed ...
Error: Failed to execute child process Failed to execve: No such file or directory
If you don't want to use gnome-terminal, you can modify your script to use the cd command to change to the desired directory and then execute the script. Here's what your modified script might look ...
Only top scored, non community-wiki answers of a minimum length are eligible