~しかない(しかたがない)
The only option is to …; it can't be helped
N3
V dictionary + しかない / ~てもしかたがない / ~のはしかたがない
「V dictionary + しかない」 means there is no option other than that: 「{終電|しゅうでん}がないから、タクシーで{帰|かえ}るしかない」. Unlike N4 しか~ない ('only', with nouns), here しかない follows a dictionary-form verb directly. 「しかたがない」 (しょうがない in speech) expresses accepting what cannot be changed, and 「~てもしかたがない」 means 'there's no point in …'. Compared with formal ざるを{得|え}ない, しかない is more natural in conversation.
Examples
終電が行ってしまったから、タクシーで帰るしかない。
The last train has gone, so the only option is to take a taxi home.
機械が直るまで、手で作業するしかありません。
Until the machine is fixed, we have no choice but to do it by hand.
終わったことを後悔してもしかたがない。次は気をつけよう。
There's no point regretting what's done. Let's be careful next time.
Exercises
1.明日が締め切りだから、今夜全部 しかない。
2.もう起きてしまったことを言っても 。