How to directly open .sch/.kicad_pcb from the terminal

I am trying to directly open the schematics .sch file and PCB .kicad_pcb file directly from my terminal like this:

kicad ./file.sch
kicad ./file.kicad_pcb

But this does not open the schematics but it instead opens a project in it’s main window! It actually does same as if I would execute:

kicad ./file.pro

So, how can I directly open the schematics / PCB?

eeschema ./file.sch
pcbnew ./file.kicad_pcb

Note, this will launch programs in standalone mode which has somewhat different functionality.

1 Like

Thank you. I only need this to check the schematics / pcb and then close. It will be okay.