Answer the question
In order to leave comments, you need to log in
How to automatically detect ubuntu user in package.json?
Good day.
There is a package.json that has a command in scripts that differs only in the username (highlighted with a red oval). This username === Ubuntu username.
How can I automatically find out the username so as not to create separate commands for each individual user?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question