Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
How to run copied CLI commands with a leading “$” sign | Better HN
How to run copied CLI commands with a leading “$” sign
(opens in new tab)
(stefanjudis.com)
2 points
stefanjudis
4y ago
2 comments
Share
2 comments
default
newest
oldest
okdjnfweonfe
4y ago
should be the following otherwise args get splitted
"$@"
and should be the following because no reason to have a shell stay open after its finished doing work
exec "$@"
stefanjudis
OP
4y ago
Thanks. That's great feedback. I updated the post.
j
/
k
navigate · click thread line to collapse