Basic Commands. pwd. When you first open the terminal, you are in the home directory of your user. ls. The “Is” command is used to know what files are there in the directory you are in. cd. mkdir & rmdir. The mkdir command is used when you need to create a folder or a directory. rm. touch. man & –help. cp.