The 'touch' command in Linux is used to update the timestamps of files or create new empty files if they do not already exist.