Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
How to run copied CLI commands with a leading “$” sign
(
stefanjudis.com
)
2 points
by
stefanjudis
on July 11, 2021
|
hide
|
past
|
favorite
|
2 comments
okdjnfweonfe
on July 11, 2021
[–]
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
on July 11, 2021
|
parent
[–]
Thanks. That's great feedback. I updated the post.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: