Thanks it worked.
For everyone asking what did he do, he just added a hashtag before the command making it a comment and hence it doesn't execute .