Make a shell file
#!/bin/sh echo $COLOR
Run a shell at the command line At this time, pass the environment variable of COLOR = green.
$ COLOR=green sh test.sh
green is displayed.
green
- I think it has been written in various places, but a note.
Original by
About
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。