Out of curiosity I typed cd --help to see if there were any extra things you can do with changing directory, and it came up with
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
What does each option do? I tried doing a DDG search but found nothing on these extra parameters.. could someone explain them before I try 'em and find that -L deletes all files found in that directory but doesn't delete the dir itself or something like that haha :-)
[-L]
), should not be typed, they are just there to show that the-L
flag is optional.cd
is a shell builtin command, which means that its help is available with thehelp
command instead ofman
.