The chdir and getcwd syscall,and the cd shell command.