A+ Topic: The Command Line

Current A+ objectives include at least some degree of familiarity with the Windows, Linux and Mac command lines. Fortunately, Linux and Mac use the same commands, for theĀ  most part.

Our text covers specific commands in some detail. You need to know:

  • How to open a Windows CLI
  • How to open a Linux terminal
  • How to open a Mac terminal
  • How to change directories, move files, rename files

It will be a real strong point on your resume if you can say you have some experience – any experience – writing command-line shell scripts. The process is very different between the Unixes and Windows.

So do a simple search. It’s good to get used to starting almost every process with a search:

https://duckduckgo.com/?q=simple+windows+batch+script&t=h_&ia=web

WikiHow, for instance, has a good starter tutorial, though its use of loops might put off beginners:

https://www.wikihow.com/Write-a-Batch-File

HowToGeek has a little more advanced demo, including a video:

https://www.howtogeek.com/263177/how-to-write-a-batch-script-on-windows/

And SpeedGuide has a good, technical tutorial that will give you a great backup script:

https://www.speedguide.net/articles/how-to-backup-using-batch-files-1547

Now, let me intoduce you to the excellent SpiceWorks community, and a Windows shell script to back up an entire Windows profile:

https://community.spiceworks.com/topic/2099691-windows-profile-back-up-script-batch-file

Another excellent source is StackOverflow. Notice how this script only backs up new or changed files:

https://stackoverflow.com/questions/11280077/batch-script-to-make-backup-folder-only-new-and-modified-files

It may be handy to turn this into a fun hacking exercise:

https://duckduckgo.com/?t=ffab&q=write+a+simple+harmless+virus&ia=web