Added func for ls and pwd command