A short trick for your linux os to open multiple projects on vscode all at once

Coding

7 mins read

17 Apr 2026

As a full-stack developer I need to open 3-4 projects all at once on my vscode. And it's very common that at every morning I am going to the folder and opening terminal and typing `code .` to open the folder on vscode. Here's the redundancy, I have to do this again and again for all 3-4 folder and it is really become nuanced at a point because I am doing this every freaking day. As a linux user I had to just make a script and make it executable. I am gonna show, how.

Open your terminal, you already know to press ctrl+shift+t to open terminal and write

nano ~/open-nylo.sh

Let's assume my projects name is nylo, so I am making open-nylo.sh file to do this job. Then I am gonna bring all the folders path that I want to open on vscode. Then I can make the following script on the terminal

#!/bin/bash

code "/home/shahtaz/Desktop/Personal Projects/nylo/nylo-backend" &
code "/home/shahtaz/Desktop/Personal Projects/nylo/nylo-user-frontend" &
code "/home/shahtaz/Desktop/Personal Projects/nylo/nylo-admin-frontend" &
chmod +x ~/open-nylo.sh

Work done. Now every morning you can just write this from your terminal: ~/open-nylo.sh But, truth be told it's still not right, let's shorten that as well. On terminal let's make an alias for the above command as well

alias nylo="~/open-nylo.sh"

So, what it does is point your whole executable command to the alias you just made. Now, simply you can just open your terminal ctrl+shift+t and then write `nylo` and press Enter. That's it. Your whole 3 folder just opened up to kick-start your work.