I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
ls ./documents has an unnecessary ./ in it - this is needed when you're running a command because the current directory isn't generally in your $PATH environment variable, but when it's an argument it's not required. I think having it in an example like this adds a step that anyone who isn't already familiar with ls is likely to stumble over.
cd.. won't work because there's no such command (unless you alias it). All commands are separated from their arguments with a space. This is in contrast to DOS/Windows where this would work fine.
cd D: isn't a *nix thing, it's a DOS/Windows thing and I'm not certain it does what you think it does anyway. To change drive on a Windows command prompt you'd typically type d: on its own.
Less isn't an editor (though you can launch your configured editor from less by pressing v.
Programmer since age 12, always exploring new tech and fields with a thirst for knowledge. Building cutting-edge tech solutions fueled by boundless curiosity.
ls ./documents
has an unnecessary./
in it - this is needed when you're running a command because the current directory isn't generally in your$PATH
environment variable, but when it's an argument it's not required. I think having it in an example like this adds a step that anyone who isn't already familiar withls
is likely to stumble over.cd..
won't work because there's no such command (unless you alias it). All commands are separated from their arguments with a space. This is in contrast to DOS/Windows where this would work fine.cd D:
isn't a *nix thing, it's a DOS/Windows thing and I'm not certain it does what you think it does anyway. To change drive on a Windows command prompt you'd typically typed:
on its own.Less isn't an editor (though you can launch your configured editor from less by pressing
v
.Thanks For All the Corrections 😊 , will add the edits accordingly 🤘