expression, i-adjective
have no choice but to ...; can only ...; there's nothing to do except ...
Follows a verb in the dictionary form or negative form, expressing that the only option is to do that action. Often conveys resignation or inevitability.
終電がなくなったから、タクシーで帰るしかない。
Since the last train is gone, I have no choice but to go home by taxi.
ここまで来たら、最後まで頑張るしかない。
Having come this far, I can only do my best until the end.
expression, i-adjective
there is only ...; have nothing but ...; no more than ...
Follows a noun or counter, indicating that the amount or thing mentioned is all there is, often with a nuance of insufficiency or limitation.
財布の中には百円玉が一枚しかない。
There is only one 100-yen coin in my wallet.
冷蔵庫に野菜が少ししかないから、買い物に行かないと。
There are only a few vegetables in the fridge, so I have to go shopping.