〜こと(規則・指示)
Written rules — notice boards, dorm regulations, homework instructions — often end in こと: 名前は大きく書くこと 'write your name large'. It turns a command into an impersonal clause of regulation and is not used in speech. Prohibitions take the ない-form. Sentence-final こと signals 'this is a rule'.
教室ではたばこを吸わないこと。
Do not smoke in the classroom.
名前は大きく書くこと。
Write your name in large letters.
使った後は、電気を消すこと。
Turn off the lights after use.