Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
CompTIA
command syntax
rob1234
Hi,
For each command do you need to learn all the options. For example if you type man ls there is loads for each command do you need to learn them all and if not how do you know which ones to learn?
Thanks,
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
hiddenknight821
Once you get comfortable with the command line, you'd find that many commands have common options. And in fact, most commands options are very intuitive, which make them easier to remember. For example,
-V = print command version (many commands)
-r or -R = recursively (cp, rm)
-f = force (rm, cp, mv)
-h = help (most commands)
-n = surpress naming. Use number instead (tcpdump, netstat, ping)
I hope you get the idea, but you can always remember the full-name command options (with double-dash prefix) if you find them comfortable.
If you're wondering which commands you need to know, then I'd suggest you to follow the objectives for the Linux+ exam. You'd definitely need to know the basic so that you can move around the command-line such as cd, ls, mv, rm, cat, touch, mkdir, pwd, and so forth.
rob1234
OK thanks that should help a bit.
Just got worried when I ran man and saw loads of options thought I will never remember all of them!
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS