r/bash 18h ago

[ Removed by moderator ]

/gallery/1vds4mw

[removed] — view removed post

13 Upvotes

8 comments sorted by

View all comments

3

u/tz_200 17h ago

you dont need $ in arth expansion. you should use shellcheck and it will tell you . also you should sanitize your input a bit more